2005-03-25 Pat Haugen <pthaugen@us.ibm.com>
[official-gcc.git] / libstdc++-v3 / configure
blobcae1c106237787dbb9a62f3b4f4f1473500a66a3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c99 turns on ISO/IEC 9899:1999 support
873 [default=yes]
874 --enable-long-long enable template specializations for 'long long'
875 [default=yes]
876 --enable-wchar_t enable template specializations for 'wchar_t'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3357 # available). Uncomment the next line to force a particular method.
3358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3360 LN_S=$as_ln_s
3361 if test "$LN_S" = "ln -s"; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 else
3365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3366 echo "${ECHO_T}no, using $LN_S" >&6
3369 #LN_S='cp -p'
3371 if test -n "$ac_tool_prefix"; then
3372 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3373 set dummy ${ac_tool_prefix}as; ac_word=$2
3374 echo "$as_me:$LINENO: checking for $ac_word" >&5
3375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3376 if test "${ac_cv_prog_AS+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 else
3379 if test -n "$AS"; then
3380 ac_cv_prog_AS="$AS" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3385 IFS=$as_save_IFS
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_AS="${ac_tool_prefix}as"
3390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 break 2
3393 done
3394 done
3398 AS=$ac_cv_prog_AS
3399 if test -n "$AS"; then
3400 echo "$as_me:$LINENO: result: $AS" >&5
3401 echo "${ECHO_T}$AS" >&6
3402 else
3403 echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3408 if test -z "$ac_cv_prog_AS"; then
3409 ac_ct_AS=$AS
3410 # Extract the first word of "as", so it can be a program name with args.
3411 set dummy as; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417 if test -n "$ac_ct_AS"; then
3418 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_ac_ct_AS="as"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3436 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3437 if test -n "$ac_ct_AS"; then
3438 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3439 echo "${ECHO_T}$ac_ct_AS" >&6
3440 else
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3445 AS=$ac_ct_AS
3446 else
3447 AS="$ac_cv_prog_AS"
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ar; ac_word=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_AR+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458 if test -n "$AR"; then
3459 ac_cv_prog_AR="$AR" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3464 IFS=$as_save_IFS
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_AR="${ac_tool_prefix}ar"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 break 2
3472 done
3473 done
3477 AR=$ac_cv_prog_AR
3478 if test -n "$AR"; then
3479 echo "$as_me:$LINENO: result: $AR" >&5
3480 echo "${ECHO_T}$AR" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3487 if test -z "$ac_cv_prog_AR"; then
3488 ac_ct_AR=$AR
3489 # Extract the first word of "ar", so it can be a program name with args.
3490 set dummy ar; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496 if test -n "$ac_ct_AR"; then
3497 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_ac_ct_AR="ar"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 break 2
3510 done
3511 done
3515 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3516 if test -n "$ac_ct_AR"; then
3517 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3518 echo "${ECHO_T}$ac_ct_AR" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3524 AR=$ac_ct_AR
3525 else
3526 AR="$ac_cv_prog_AR"
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_RANLIB+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537 if test -n "$RANLIB"; then
3538 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3539 else
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 for as_dir in $PATH
3543 IFS=$as_save_IFS
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 break 2
3551 done
3552 done
3556 RANLIB=$ac_cv_prog_RANLIB
3557 if test -n "$RANLIB"; then
3558 echo "$as_me:$LINENO: result: $RANLIB" >&5
3559 echo "${ECHO_T}$RANLIB" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3566 if test -z "$ac_cv_prog_RANLIB"; then
3567 ac_ct_RANLIB=$RANLIB
3568 # Extract the first word of "ranlib", so it can be a program name with args.
3569 set dummy ranlib; ac_word=$2
3570 echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3572 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$ac_ct_RANLIB"; then
3576 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_ac_ct_RANLIB="ranlib"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3592 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3596 if test -n "$ac_ct_RANLIB"; then
3597 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3598 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3599 else
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3604 RANLIB=$ac_ct_RANLIB
3605 else
3606 RANLIB="$ac_cv_prog_RANLIB"
3610 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3611 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3612 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3613 if test "${enable_maintainer_mode+set}" = set; then
3614 enableval="$enable_maintainer_mode"
3615 USE_MAINTAINER_MODE=$enableval
3616 else
3617 USE_MAINTAINER_MODE=no
3619 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3620 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3623 if test $USE_MAINTAINER_MODE = yes; then
3624 MAINTAINER_MODE_TRUE=
3625 MAINTAINER_MODE_FALSE='#'
3626 else
3627 MAINTAINER_MODE_TRUE='#'
3628 MAINTAINER_MODE_FALSE=
3631 MAINT=$MAINTAINER_MODE_TRUE
3635 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3636 # which are themselves conditionally expanded.
3637 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3638 ## other macros from doing the same. This should be automated.) -pme
3639 need_libmath=no
3641 # Find platform-specific directories containing configuration info.
3642 # Also possibly modify flags used elsewhere, as needed by the platform.
3644 . $glibcxx_srcdir/configure.host
3645 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3653 # Check whether --enable-shared or --disable-shared was given.
3654 if test "${enable_shared+set}" = set; then
3655 enableval="$enable_shared"
3656 p=${PACKAGE-default}
3657 case $enableval in
3658 yes) enable_shared=yes ;;
3659 no) enable_shared=no ;;
3661 enable_shared=no
3662 # Look at the argument we got. We use all the common list separators.
3663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3664 for pkg in $enableval; do
3665 if test "X$pkg" = "X$p"; then
3666 enable_shared=yes
3668 done
3669 IFS="$ac_save_ifs"
3671 esac
3672 else
3673 enable_shared=yes
3675 # Check whether --enable-static or --disable-static was given.
3676 if test "${enable_static+set}" = set; then
3677 enableval="$enable_static"
3678 p=${PACKAGE-default}
3679 case $enableval in
3680 yes) enable_static=yes ;;
3681 no) enable_static=no ;;
3683 enable_static=no
3684 # Look at the argument we got. We use all the common list separators.
3685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3686 for pkg in $enableval; do
3687 if test "X$pkg" = "X$p"; then
3688 enable_static=yes
3690 done
3691 IFS="$ac_save_ifs"
3693 esac
3694 else
3695 enable_static=yes
3697 # Check whether --enable-fast-install or --disable-fast-install was given.
3698 if test "${enable_fast_install+set}" = set; then
3699 enableval="$enable_fast_install"
3700 p=${PACKAGE-default}
3701 case $enableval in
3702 yes) enable_fast_install=yes ;;
3703 no) enable_fast_install=no ;;
3705 enable_fast_install=no
3706 # Look at the argument we got. We use all the common list separators.
3707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3708 for pkg in $enableval; do
3709 if test "X$pkg" = "X$p"; then
3710 enable_fast_install=yes
3712 done
3713 IFS="$ac_save_ifs"
3715 esac
3716 else
3717 enable_fast_install=yes
3720 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3721 if test "${with_gnu_ld+set}" = set; then
3722 withval="$with_gnu_ld"
3723 test "$withval" = no || with_gnu_ld=yes
3724 else
3725 with_gnu_ld=no
3727 ac_prog=ld
3728 if test "$GCC" = yes; then
3729 # Check if gcc -print-prog-name=ld gives a path.
3730 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3731 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3732 case $host in
3733 *-*-mingw*)
3734 # gcc leaves a trailing carriage return which upsets mingw
3735 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3737 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3738 esac
3739 case $ac_prog in
3740 # Accept absolute paths.
3741 [\\/]* | [A-Za-z]:[\\/]*)
3742 re_direlt='/[^/][^/]*/\.\./'
3743 # Canonicalize the path of ld
3744 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3745 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3746 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3747 done
3748 test -z "$LD" && LD="$ac_prog"
3751 # If it fails, then pretend we aren't using GCC.
3752 ac_prog=ld
3755 # If it is relative, then search for the first ld in PATH.
3756 with_gnu_ld=unknown
3758 esac
3759 elif test "$with_gnu_ld" = yes; then
3760 echo "$as_me:$LINENO: checking for GNU ld" >&5
3761 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3762 else
3763 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3764 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3766 if test "${lt_cv_path_LD+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 else
3769 if test -z "$LD"; then
3770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3771 for ac_dir in $PATH; do
3772 test -z "$ac_dir" && ac_dir=.
3773 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3774 lt_cv_path_LD="$ac_dir/$ac_prog"
3775 # Check to see if the program is GNU ld. I'd rather use --version,
3776 # but apparently some GNU ld's only accept -v.
3777 # Break only if it was the GNU/non-GNU ld that we prefer.
3778 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3779 test "$with_gnu_ld" != no && break
3780 else
3781 test "$with_gnu_ld" != yes && break
3784 done
3785 IFS="$ac_save_ifs"
3786 else
3787 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3791 LD="$lt_cv_path_LD"
3792 if test -n "$LD"; then
3793 echo "$as_me:$LINENO: result: $LD" >&5
3794 echo "${ECHO_T}$LD" >&6
3795 else
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3799 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3800 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3801 { (exit 1); exit 1; }; }
3802 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3803 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3804 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 else
3807 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3808 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3809 lt_cv_prog_gnu_ld=yes
3810 else
3811 lt_cv_prog_gnu_ld=no
3814 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3815 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3816 with_gnu_ld=$lt_cv_prog_gnu_ld
3819 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3820 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3821 if test "${lt_cv_ld_reload_flag+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 lt_cv_ld_reload_flag='-r'
3826 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3827 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3828 reload_flag=$lt_cv_ld_reload_flag
3829 test -n "$reload_flag" && reload_flag=" $reload_flag"
3831 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3832 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3833 if test "${lt_cv_path_NM+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 else
3836 if test -n "$NM"; then
3837 # Let the user override the test.
3838 lt_cv_path_NM="$NM"
3839 else
3840 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3841 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3842 test -z "$ac_dir" && ac_dir=.
3843 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3844 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3845 # Check to see if the nm accepts a BSD-compat flag.
3846 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3847 # nm: unknown option "B" ignored
3848 # Tru64's nm complains that /dev/null is an invalid object file
3849 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3850 lt_cv_path_NM="$tmp_nm -B"
3851 break
3852 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3853 lt_cv_path_NM="$tmp_nm -p"
3854 break
3855 else
3856 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3857 continue # so that we can try to find one that supports BSD flags
3860 done
3861 IFS="$ac_save_ifs"
3862 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3866 NM="$lt_cv_path_NM"
3867 echo "$as_me:$LINENO: result: $NM" >&5
3868 echo "${ECHO_T}$NM" >&6
3870 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3871 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3872 if test "${lt_cv_deplibs_check_method+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 else
3875 lt_cv_file_magic_cmd='$MAGIC_CMD'
3876 lt_cv_file_magic_test_file=
3877 lt_cv_deplibs_check_method='unknown'
3878 # Need to set the preceding variable on all platforms that support
3879 # interlibrary dependencies.
3880 # 'none' -- dependencies not supported.
3881 # `unknown' -- same as none, but documents that we really don't know.
3882 # 'pass_all' -- all dependencies passed with no checks.
3883 # 'test_compile' -- check by making test program.
3884 # 'file_magic [regex]' -- check by looking for files in library path
3885 # which responds to the $file_magic_cmd with a given egrep regex.
3886 # If you have `file' or equivalent on your system and you're not sure
3887 # whether `pass_all' will *always* work, you probably want this one.
3889 case $host_os in
3890 aix*)
3891 lt_cv_deplibs_check_method=pass_all
3894 beos*)
3895 lt_cv_deplibs_check_method=pass_all
3898 bsdi4*)
3899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3900 lt_cv_file_magic_cmd='/usr/bin/file -L'
3901 lt_cv_file_magic_test_file=/shlib/libc.so
3904 cygwin* | mingw* |pw32*)
3905 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3906 lt_cv_file_magic_cmd='$OBJDUMP -f'
3909 darwin* | rhapsody*)
3910 # this will be overwritten by pass_all, but leave it in just in case
3911 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3912 lt_cv_file_magic_cmd='/usr/bin/file -L'
3913 case "$host_os" in
3914 rhapsody* | darwin1.012)
3915 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3917 *) # Darwin 1.3 on
3918 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3920 esac
3921 lt_cv_deplibs_check_method=pass_all
3924 freebsd* | kfreebsd*-gnu)
3925 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3926 case $host_cpu in
3927 i*86 )
3928 # Not sure whether the presence of OpenBSD here was a mistake.
3929 # Let's accept both of them until this is cleared up.
3930 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3931 lt_cv_file_magic_cmd=/usr/bin/file
3932 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3934 esac
3935 else
3936 lt_cv_deplibs_check_method=pass_all
3940 gnu*)
3941 lt_cv_deplibs_check_method=pass_all
3944 hpux10.20*|hpux11*)
3945 case $host_cpu in
3946 hppa*)
3947 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3948 lt_cv_file_magic_cmd=/usr/bin/file
3949 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3951 ia64*)
3952 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3953 lt_cv_file_magic_cmd=/usr/bin/file
3954 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3956 esac
3959 irix5* | irix6*)
3960 case $host_os in
3961 irix5*)
3962 # this will be overridden with pass_all, but let us keep it just in case
3963 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3966 case $LD in
3967 *-32|*"-32 ") libmagic=32-bit;;
3968 *-n32|*"-n32 ") libmagic=N32;;
3969 *-64|*"-64 ") libmagic=64-bit;;
3970 *) libmagic=never-match;;
3971 esac
3972 # this will be overridden with pass_all, but let us keep it just in case
3973 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3975 esac
3976 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3977 lt_cv_deplibs_check_method=pass_all
3980 # This must be Linux ELF.
3981 linux-gnu*)
3982 lt_cv_deplibs_check_method=pass_all
3985 netbsd* | knetbsd*-gnu)
3986 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3987 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3988 else
3989 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3993 newsos6)
3994 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3995 lt_cv_file_magic_cmd=/usr/bin/file
3996 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3999 osf3* | osf4* | osf5*)
4000 # this will be overridden with pass_all, but let us keep it just in case
4001 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4002 lt_cv_file_magic_test_file=/shlib/libc.so
4003 lt_cv_deplibs_check_method=pass_all
4006 sco3.2v5*)
4007 lt_cv_deplibs_check_method=pass_all
4010 solaris*)
4011 lt_cv_deplibs_check_method=pass_all
4012 lt_cv_file_magic_test_file=/lib/libc.so
4015 sysv5uw[78]* | sysv4*uw2*)
4016 lt_cv_deplibs_check_method=pass_all
4019 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4020 case $host_vendor in
4021 ncr)
4022 lt_cv_deplibs_check_method=pass_all
4024 motorola)
4025 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]'
4026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4028 esac
4030 esac
4033 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4034 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4035 file_magic_cmd=$lt_cv_file_magic_cmd
4036 deplibs_check_method=$lt_cv_deplibs_check_method
4042 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4044 # Only perform the check for file, if the check method requires it
4045 case $deplibs_check_method in
4046 file_magic*)
4047 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4048 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4049 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 else
4053 case $MAGIC_CMD in
4055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4057 ?:/*)
4058 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4061 ac_save_MAGIC_CMD="$MAGIC_CMD"
4062 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4063 ac_dummy="/usr/bin:$PATH"
4064 for ac_dir in $ac_dummy; do
4065 test -z "$ac_dir" && ac_dir=.
4066 if test -f $ac_dir/${ac_tool_prefix}file; then
4067 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4068 if test -n "$file_magic_test_file"; then
4069 case $deplibs_check_method in
4070 "file_magic "*)
4071 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4073 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4074 egrep "$file_magic_regex" > /dev/null; then
4076 else
4077 cat <<EOF 1>&2
4079 *** Warning: the command libtool uses to detect shared libraries,
4080 *** $file_magic_cmd, produces output that libtool cannot recognize.
4081 *** The result is that libtool may fail to recognize shared libraries
4082 *** as such. This will affect the creation of libtool libraries that
4083 *** depend on shared libraries, but programs linked with such libtool
4084 *** libraries will work regardless of this problem. Nevertheless, you
4085 *** may want to report the problem to your system manager and/or to
4086 *** bug-libtool@gnu.org
4089 fi ;;
4090 esac
4092 break
4094 done
4095 IFS="$ac_save_ifs"
4096 MAGIC_CMD="$ac_save_MAGIC_CMD"
4098 esac
4101 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4102 if test -n "$MAGIC_CMD"; then
4103 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4104 echo "${ECHO_T}$MAGIC_CMD" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4110 if test -z "$lt_cv_path_MAGIC_CMD"; then
4111 if test -n "$ac_tool_prefix"; then
4112 echo "$as_me:$LINENO: checking for file" >&5
4113 echo $ECHO_N "checking for file... $ECHO_C" >&6
4114 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 else
4117 case $MAGIC_CMD in
4119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4121 ?:/*)
4122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4125 ac_save_MAGIC_CMD="$MAGIC_CMD"
4126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4127 ac_dummy="/usr/bin:$PATH"
4128 for ac_dir in $ac_dummy; do
4129 test -z "$ac_dir" && ac_dir=.
4130 if test -f $ac_dir/file; then
4131 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4132 if test -n "$file_magic_test_file"; then
4133 case $deplibs_check_method in
4134 "file_magic "*)
4135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4138 egrep "$file_magic_regex" > /dev/null; then
4140 else
4141 cat <<EOF 1>&2
4143 *** Warning: the command libtool uses to detect shared libraries,
4144 *** $file_magic_cmd, produces output that libtool cannot recognize.
4145 *** The result is that libtool may fail to recognize shared libraries
4146 *** as such. This will affect the creation of libtool libraries that
4147 *** depend on shared libraries, but programs linked with such libtool
4148 *** libraries will work regardless of this problem. Nevertheless, you
4149 *** may want to report the problem to your system manager and/or to
4150 *** bug-libtool@gnu.org
4153 fi ;;
4154 esac
4156 break
4158 done
4159 IFS="$ac_save_ifs"
4160 MAGIC_CMD="$ac_save_MAGIC_CMD"
4162 esac
4165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4166 if test -n "$MAGIC_CMD"; then
4167 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4168 echo "${ECHO_T}$MAGIC_CMD" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4174 else
4175 MAGIC_CMD=:
4181 esac
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_prog_RANLIB+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191 if test -n "$RANLIB"; then
4192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4197 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2
4205 done
4206 done
4210 RANLIB=$ac_cv_prog_RANLIB
4211 if test -n "$RANLIB"; then
4212 echo "$as_me:$LINENO: result: $RANLIB" >&5
4213 echo "${ECHO_T}$RANLIB" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4220 if test -z "$ac_cv_prog_RANLIB"; then
4221 ac_ct_RANLIB=$RANLIB
4222 # Extract the first word of "ranlib", so it can be a program name with args.
4223 set dummy ranlib; ac_word=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 else
4229 if test -n "$ac_ct_RANLIB"; then
4230 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4231 else
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_ac_ct_RANLIB="ranlib"
4240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4243 done
4244 done
4246 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4249 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4250 if test -n "$ac_ct_RANLIB"; then
4251 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4252 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4258 RANLIB=$ac_ct_RANLIB
4259 else
4260 RANLIB="$ac_cv_prog_RANLIB"
4263 if test -n "$ac_tool_prefix"; then
4264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4265 set dummy ${ac_tool_prefix}strip; ac_word=$2
4266 echo "$as_me:$LINENO: checking for $ac_word" >&5
4267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4268 if test "${ac_cv_prog_STRIP+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 else
4271 if test -n "$STRIP"; then
4272 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4273 else
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 for as_dir in $PATH
4277 IFS=$as_save_IFS
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 break 2
4285 done
4286 done
4290 STRIP=$ac_cv_prog_STRIP
4291 if test -n "$STRIP"; then
4292 echo "$as_me:$LINENO: result: $STRIP" >&5
4293 echo "${ECHO_T}$STRIP" >&6
4294 else
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4300 if test -z "$ac_cv_prog_STRIP"; then
4301 ac_ct_STRIP=$STRIP
4302 # Extract the first word of "strip", so it can be a program name with args.
4303 set dummy strip; ac_word=$2
4304 echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
4309 if test -n "$ac_ct_STRIP"; then
4310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4311 else
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH
4315 IFS=$as_save_IFS
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_ac_ct_STRIP="strip"
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 break 2
4323 done
4324 done
4326 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4330 if test -n "$ac_ct_STRIP"; then
4331 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4332 echo "${ECHO_T}$ac_ct_STRIP" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4338 STRIP=$ac_ct_STRIP
4339 else
4340 STRIP="$ac_cv_prog_STRIP"
4344 # Check for any special flags to pass to ltconfig.
4345 libtool_flags="--cache-file=$cache_file"
4346 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4347 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4348 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4349 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4350 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4353 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4354 if test "${enable_libtool_lock+set}" = set; then
4355 enableval="$enable_libtool_lock"
4358 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4359 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4362 # Check whether --with-pic or --without-pic was given.
4363 if test "${with_pic+set}" = set; then
4364 withval="$with_pic"
4365 pic_mode="$withval"
4366 else
4367 pic_mode=default
4369 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4370 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4372 # Some flags need to be propagated to the compiler or linker for good
4373 # libtool support.
4374 case $host in
4375 *-*-irix6*)
4376 # Find out which ABI we are using.
4377 echo '#line 4377 "configure"' > conftest.$ac_ext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>&5
4380 ac_status=$?
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; then
4383 if test "$lt_cv_prog_gnu_ld" = yes; then
4384 case `/usr/bin/file conftest.$ac_objext` in
4385 *32-bit*)
4386 LD="${LD-ld} -melf32bsmip"
4388 *N32*)
4389 LD="${LD-ld} -melf32bmipn32"
4391 *64-bit*)
4392 LD="${LD-ld} -melf64bmip"
4394 esac
4395 else
4396 case `/usr/bin/file conftest.$ac_objext` in
4397 *32-bit*)
4398 LD="${LD-ld} -32"
4400 *N32*)
4401 LD="${LD-ld} -n32"
4403 *64-bit*)
4404 LD="${LD-ld} -64"
4406 esac
4409 rm -rf conftest*
4412 ia64-*-hpux*)
4413 # Find out which ABI we are using.
4414 echo 'int i;' > conftest.$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4417 ac_status=$?
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 case "`/usr/bin/file conftest.o`" in
4421 *ELF-32*)
4422 HPUX_IA64_MODE="32"
4424 *ELF-64*)
4425 HPUX_IA64_MODE="64"
4427 esac
4429 rm -rf conftest*
4432 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4433 # Find out which ABI we are using.
4434 echo 'int i;' > conftest.$ac_ext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>&5
4437 ac_status=$?
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; then
4440 case "`/usr/bin/file conftest.o`" in
4441 *32-bit*)
4442 case $host in
4443 x86_64-*linux*)
4444 LD="${LD-ld} -m elf_i386"
4446 ppc64-*linux*|powerpc64-*linux*)
4447 LD="${LD-ld} -m elf32ppclinux"
4449 s390x-*linux*)
4450 LD="${LD-ld} -m elf_s390"
4452 sparc64-*linux*)
4453 LD="${LD-ld} -m elf32_sparc"
4455 esac
4457 *64-bit*)
4458 case $host in
4459 x86_64-*linux*)
4460 LD="${LD-ld} -m elf_x86_64"
4462 ppc*-*linux*|powerpc*-*linux*)
4463 LD="${LD-ld} -m elf64ppc"
4465 s390*-*linux*)
4466 LD="${LD-ld} -m elf64_s390"
4468 sparc*-*linux*)
4469 LD="${LD-ld} -m elf64_sparc"
4471 esac
4473 esac
4475 rm -rf conftest*
4478 *-*-sco3.2v5*)
4479 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4480 SAVE_CFLAGS="$CFLAGS"
4481 CFLAGS="$CFLAGS -belf"
4482 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4483 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4484 if test "${lt_cv_cc_needs_belf+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4489 ac_ext=c
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495 if test x$gcc_no_link = xyes; then
4496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4498 { (exit 1); exit 1; }; }
4500 cat >conftest.$ac_ext <<_ACEOF
4501 /* confdefs.h. */
4502 _ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4517 (eval $ac_link) 2>conftest.er1
4518 ac_status=$?
4519 grep -v '^ *+' conftest.er1 >conftest.err
4520 rm -f conftest.er1
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_c_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 (eval $ac_try) 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest$ac_exeext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 (eval $ac_try) 2>&5
4534 ac_status=$?
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 lt_cv_cc_needs_belf=yes
4538 else
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 lt_cv_cc_needs_belf=no
4544 rm -f conftest.err conftest.$ac_objext \
4545 conftest$ac_exeext conftest.$ac_ext
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4553 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4554 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4555 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4556 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4557 CFLAGS="$SAVE_CFLAGS"
4562 esac
4565 # Save cache, so that ltconfig can load it
4566 cat >confcache <<\_ACEOF
4567 # This file is a shell script that caches the results of configure
4568 # tests run on this system so they can be shared between configure
4569 # scripts and configure runs, see configure's option --config-cache.
4570 # It is not useful on other systems. If it contains results you don't
4571 # want to keep, you may remove or edit it.
4573 # config.status only pays attention to the cache file if you give it
4574 # the --recheck option to rerun configure.
4576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4578 # following values.
4580 _ACEOF
4582 # The following way of writing the cache mishandles newlines in values,
4583 # but we know of no workaround that is simple, portable, and efficient.
4584 # So, don't put newlines in cache variables' values.
4585 # Ultrix sh set writes to stderr and can't be redirected directly,
4586 # and sets the high bit in the cache file unless we assign to the vars.
4588 (set) 2>&1 |
4589 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4590 *ac_space=\ *)
4591 # `set' does not quote correctly, so add quotes (double-quote
4592 # substitution turns \\\\ into \\, and sed turns \\ into \).
4593 sed -n \
4594 "s/'/'\\\\''/g;
4595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4598 # `set' quotes correctly as required by POSIX, so do not add quotes.
4599 sed -n \
4600 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4602 esac;
4604 sed '
4605 t clear
4606 : clear
4607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4608 t end
4609 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4610 : end' >>confcache
4611 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4612 if test -w $cache_file; then
4613 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4614 cat confcache >$cache_file
4615 else
4616 echo "not updating unwritable cache $cache_file"
4619 rm -f confcache
4621 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4622 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4623 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4624 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4625 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4626 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4627 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4628 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4629 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4630 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4631 echo "$as_me: error: libtool configure failed" >&2;}
4632 { (exit 1); exit 1; }; }
4634 # Reload cache, that may have been modified by ltconfig
4635 if test -r "$cache_file"; then
4636 # Some versions of bash will fail to source /dev/null (special
4637 # files actually), so we avoid doing that.
4638 if test -f "$cache_file"; then
4639 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4640 echo "$as_me: loading cache $cache_file" >&6;}
4641 case $cache_file in
4642 [\\/]* | ?:[\\/]* ) . $cache_file;;
4643 *) . ./$cache_file;;
4644 esac
4646 else
4647 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4648 echo "$as_me: creating cache $cache_file" >&6;}
4649 >$cache_file
4653 # This can be used to rebuild libtool when needed
4654 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4656 # Always use our own libtool.
4657 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4659 # Redirect the config.log output again, so that the ltconfig log is not
4660 # clobbered by the next message.
4661 exec 5>>./config.log
4663 ac_ext=cc
4664 ac_cpp='$CXXCPP $CPPFLAGS'
4665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4668 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4669 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4670 if test -z "$CXXCPP"; then
4671 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 # Double quotes because CXXCPP needs to be expanded
4675 for CXXCPP in "$CXX -E" "/lib/cpp"
4677 ac_preproc_ok=false
4678 for ac_cxx_preproc_warn_flag in '' yes
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat >conftest.$ac_ext <<_ACEOF
4687 /* confdefs.h. */
4688 _ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #ifdef __STDC__
4693 # include <limits.h>
4694 #else
4695 # include <assert.h>
4696 #endif
4697 Syntax error
4698 _ACEOF
4699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4701 ac_status=$?
4702 grep -v '^ *+' conftest.er1 >conftest.err
4703 rm -f conftest.er1
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev/null; then
4707 if test -s conftest.err; then
4708 ac_cpp_err=$ac_cxx_preproc_warn_flag
4709 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4710 else
4711 ac_cpp_err=
4713 else
4714 ac_cpp_err=yes
4716 if test -z "$ac_cpp_err"; then
4718 else
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4722 # Broken: fails on valid input.
4723 continue
4725 rm -f conftest.err conftest.$ac_ext
4727 # OK, works on sane cases. Now check whether non-existent headers
4728 # can be detected and how.
4729 cat >conftest.$ac_ext <<_ACEOF
4730 /* confdefs.h. */
4731 _ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <ac_nonexistent.h>
4736 _ACEOF
4737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4739 ac_status=$?
4740 grep -v '^ *+' conftest.er1 >conftest.err
4741 rm -f conftest.er1
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } >/dev/null; then
4745 if test -s conftest.err; then
4746 ac_cpp_err=$ac_cxx_preproc_warn_flag
4747 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4748 else
4749 ac_cpp_err=
4751 else
4752 ac_cpp_err=yes
4754 if test -z "$ac_cpp_err"; then
4755 # Broken: success on invalid input.
4756 continue
4757 else
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4761 # Passes both tests.
4762 ac_preproc_ok=:
4763 break
4765 rm -f conftest.err conftest.$ac_ext
4767 done
4768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4769 rm -f conftest.err conftest.$ac_ext
4770 if $ac_preproc_ok; then
4771 break
4774 done
4775 ac_cv_prog_CXXCPP=$CXXCPP
4778 CXXCPP=$ac_cv_prog_CXXCPP
4779 else
4780 ac_cv_prog_CXXCPP=$CXXCPP
4782 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4783 echo "${ECHO_T}$CXXCPP" >&6
4784 ac_preproc_ok=false
4785 for ac_cxx_preproc_warn_flag in '' yes
4787 # Use a header file that comes with gcc, so configuring glibc
4788 # with a fresh cross-compiler works.
4789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4790 # <limits.h> exists even on freestanding compilers.
4791 # On the NeXT, cc -E runs the code through the compiler's parser,
4792 # not just through cpp. "Syntax error" is here to catch this case.
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 #ifdef __STDC__
4800 # include <limits.h>
4801 #else
4802 # include <assert.h>
4803 #endif
4804 Syntax error
4805 _ACEOF
4806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4808 ac_status=$?
4809 grep -v '^ *+' conftest.er1 >conftest.err
4810 rm -f conftest.er1
4811 cat conftest.err >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } >/dev/null; then
4814 if test -s conftest.err; then
4815 ac_cpp_err=$ac_cxx_preproc_warn_flag
4816 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4817 else
4818 ac_cpp_err=
4820 else
4821 ac_cpp_err=yes
4823 if test -z "$ac_cpp_err"; then
4825 else
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 # Broken: fails on valid input.
4830 continue
4832 rm -f conftest.err conftest.$ac_ext
4834 # OK, works on sane cases. Now check whether non-existent headers
4835 # can be detected and how.
4836 cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h. */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <ac_nonexistent.h>
4843 _ACEOF
4844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4846 ac_status=$?
4847 grep -v '^ *+' conftest.er1 >conftest.err
4848 rm -f conftest.er1
4849 cat conftest.err >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } >/dev/null; then
4852 if test -s conftest.err; then
4853 ac_cpp_err=$ac_cxx_preproc_warn_flag
4854 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4855 else
4856 ac_cpp_err=
4858 else
4859 ac_cpp_err=yes
4861 if test -z "$ac_cpp_err"; then
4862 # Broken: success on invalid input.
4863 continue
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 # Passes both tests.
4869 ac_preproc_ok=:
4870 break
4872 rm -f conftest.err conftest.$ac_ext
4874 done
4875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4876 rm -f conftest.err conftest.$ac_ext
4877 if $ac_preproc_ok; then
4879 else
4880 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4881 See \`config.log' for more details." >&5
4882 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4883 See \`config.log' for more details." >&2;}
4884 { (exit 1); exit 1; }; }
4887 ac_ext=c
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4896 lt_save_CC="$CC"
4897 lt_save_CFLAGS="$CFLAGS"
4898 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4899 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4900 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4901 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4902 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4903 deplibs_check_method="$deplibs_check_method" \
4904 file_magic_cmd="$file_magic_cmd" \
4905 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4906 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4907 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4908 echo "$as_me: error: libtool tag configuration failed" >&2;}
4909 { (exit 1); exit 1; }; }
4910 CC="$lt_save_CC"
4911 CFLAGS="$lt_save_CFLAGS"
4913 # Redirect the config.log output again, so that the ltconfig log is not
4914 # clobbered by the next message.
4915 exec 5>>./config.log
4925 # Possibly disable most of the library.
4926 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4927 ## than just ignoring the results. Faster /and/ more correct, win win.
4929 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4930 if test "${enable_hosted_libstdcxx+set}" = set; then
4931 enableval="$enable_hosted_libstdcxx"
4933 else
4934 case "$host" in
4935 arm*-*-symbianelf*)
4936 enable_hosted_libstdcxx=no
4939 enable_hosted_libstdcxx=yes
4941 esac
4943 if test "$enable_hosted_libstdcxx" = no; then
4944 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4945 echo "$as_me: Only freestanding libraries will be built" >&6;}
4946 is_hosted=no
4947 hosted_define=0
4948 enable_abi_check=no
4949 enable_libstdcxx_pch=no
4950 else
4951 is_hosted=yes
4952 hosted_define=1
4956 cat >>confdefs.h <<_ACEOF
4957 #define _GLIBCXX_HOSTED $hosted_define
4958 _ACEOF
4962 # Check for compiler support that doesn't require linking.
4964 echo "$as_me:$LINENO: checking for exception model to use" >&5
4965 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4968 ac_ext=cc
4969 ac_cpp='$CXXCPP $CPPFLAGS'
4970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4974 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4975 if test "${enable_sjlj_exceptions+set}" = set; then
4976 enableval="$enable_sjlj_exceptions"
4978 case "$enableval" in
4979 yes|no|auto) ;;
4980 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4981 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4982 { (exit 1); exit 1; }; } ;;
4983 esac
4985 else
4986 enable_sjlj_exceptions=auto
4990 if test $enable_sjlj_exceptions = auto; then
4991 # Botheration. Now we've got to detect the exception model. Link tests
4992 # against libgcc.a are problematic since we've not been given proper -L
4993 # bits for single-tree newlib and libgloss.
4995 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4996 cat > conftest.$ac_ext << EOF
4997 #line 4997 "configure"
4998 struct S { ~S(); };
4999 void bar();
5000 void foo()
5002 S s;
5003 bar();
5006 old_CXXFLAGS="$CXXFLAGS"
5007 CXXFLAGS=-S
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>&5
5010 ac_status=$?
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; then
5013 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5014 enable_sjlj_exceptions=yes
5015 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5016 enable_sjlj_exceptions=no
5019 CXXFLAGS="$old_CXXFLAGS"
5020 rm -f conftest*
5023 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5024 # to two different models.
5025 case $enable_sjlj_exceptions in
5026 yes)
5028 cat >>confdefs.h <<\_ACEOF
5029 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5030 _ACEOF
5032 ac_exception_model_name=sjlj
5035 ac_exception_model_name="call frame"
5038 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5039 echo "$as_me: error: unable to detect exception model" >&2;}
5040 { (exit 1); exit 1; }; }
5042 esac
5043 ac_ext=c
5044 ac_cpp='$CPP $CPPFLAGS'
5045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5049 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5050 echo "${ECHO_T}$ac_exception_model_name" >&6
5053 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5054 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5055 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5056 if test "${enable_libstdcxx_pch+set}" = set; then
5057 enableval="$enable_libstdcxx_pch"
5059 case "$enableval" in
5060 yes|no) ;;
5061 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5062 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5063 { (exit 1); exit 1; }; } ;;
5064 esac
5066 else
5067 enable_libstdcxx_pch=$is_hosted
5070 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5071 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5073 if test $enable_libstdcxx_pch = yes; then
5074 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5075 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5076 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 ac_save_CXXFLAGS="$CXXFLAGS"
5080 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5083 ac_ext=cc
5084 ac_cpp='$CXXCPP $CPPFLAGS'
5085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5089 echo '#include <math.h>' > conftest.h
5090 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5091 -o conftest.h.gch 1>&5 2>&1 &&
5092 echo '#error "pch failed"' > conftest.h &&
5093 echo '#include "conftest.h"' > conftest.cc &&
5094 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5095 then
5096 glibcxx_cv_prog_CXX_pch=yes
5097 else
5098 glibcxx_cv_prog_CXX_pch=no
5100 rm -f conftest*
5101 CXXFLAGS=$ac_save_CXXFLAGS
5102 ac_ext=c
5103 ac_cpp='$CPP $CPPFLAGS'
5104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5110 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5111 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5112 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5116 if test $enable_libstdcxx_pch = yes; then
5117 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5118 else
5119 glibcxx_PCHFLAGS=""
5124 # Enable all the variable C++ runtime options.
5126 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5127 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5128 # Check whether --enable-cstdio or --disable-cstdio was given.
5129 if test "${enable_cstdio+set}" = set; then
5130 enableval="$enable_cstdio"
5132 case "$enableval" in
5133 stdio) ;;
5134 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5135 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5136 { (exit 1); exit 1; }; } ;;
5137 esac
5139 else
5140 enable_cstdio=stdio
5144 # Now that libio has been removed, you can have any color you want as long
5145 # as it's black. This is one big no-op until other packages are added, but
5146 # showing the framework never hurts.
5147 case ${enable_cstdio} in
5148 stdio)
5149 CSTDIO_H=config/io/c_io_stdio.h
5150 BASIC_FILE_H=config/io/basic_file_stdio.h
5151 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5152 echo "$as_me:$LINENO: result: stdio" >&5
5153 echo "${ECHO_T}stdio" >&6
5155 esac
5161 ac_ext=c
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5167 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5168 # On Suns, sometimes $CPP names a directory.
5169 if test -n "$CPP" && test -d "$CPP"; then
5170 CPP=
5172 if test -z "$CPP"; then
5173 if test "${ac_cv_prog_CPP+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 else
5176 # Double quotes because CPP needs to be expanded
5177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5179 ac_preproc_ok=false
5180 for ac_c_preproc_warn_flag in '' yes
5182 # Use a header file that comes with gcc, so configuring glibc
5183 # with a fresh cross-compiler works.
5184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5185 # <limits.h> exists even on freestanding compilers.
5186 # On the NeXT, cc -E runs the code through the compiler's parser,
5187 # not just through cpp. "Syntax error" is here to catch this case.
5188 cat >conftest.$ac_ext <<_ACEOF
5189 /* confdefs.h. */
5190 _ACEOF
5191 cat confdefs.h >>conftest.$ac_ext
5192 cat >>conftest.$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 #ifdef __STDC__
5195 # include <limits.h>
5196 #else
5197 # include <assert.h>
5198 #endif
5199 Syntax error
5200 _ACEOF
5201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev/null; then
5209 if test -s conftest.err; then
5210 ac_cpp_err=$ac_c_preproc_warn_flag
5211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5212 else
5213 ac_cpp_err=
5215 else
5216 ac_cpp_err=yes
5218 if test -z "$ac_cpp_err"; then
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 # Broken: fails on valid input.
5225 continue
5227 rm -f conftest.err conftest.$ac_ext
5229 # OK, works on sane cases. Now check whether non-existent headers
5230 # can be detected and how.
5231 cat >conftest.$ac_ext <<_ACEOF
5232 /* confdefs.h. */
5233 _ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <ac_nonexistent.h>
5238 _ACEOF
5239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5241 ac_status=$?
5242 grep -v '^ *+' conftest.er1 >conftest.err
5243 rm -f conftest.er1
5244 cat conftest.err >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } >/dev/null; then
5247 if test -s conftest.err; then
5248 ac_cpp_err=$ac_c_preproc_warn_flag
5249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5250 else
5251 ac_cpp_err=
5253 else
5254 ac_cpp_err=yes
5256 if test -z "$ac_cpp_err"; then
5257 # Broken: success on invalid input.
5258 continue
5259 else
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.$ac_ext >&5
5263 # Passes both tests.
5264 ac_preproc_ok=:
5265 break
5267 rm -f conftest.err conftest.$ac_ext
5269 done
5270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5271 rm -f conftest.err conftest.$ac_ext
5272 if $ac_preproc_ok; then
5273 break
5276 done
5277 ac_cv_prog_CPP=$CPP
5280 CPP=$ac_cv_prog_CPP
5281 else
5282 ac_cv_prog_CPP=$CPP
5284 echo "$as_me:$LINENO: result: $CPP" >&5
5285 echo "${ECHO_T}$CPP" >&6
5286 ac_preproc_ok=false
5287 for ac_c_preproc_warn_flag in '' yes
5289 # Use a header file that comes with gcc, so configuring glibc
5290 # with a fresh cross-compiler works.
5291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292 # <limits.h> exists even on freestanding compilers.
5293 # On the NeXT, cc -E runs the code through the compiler's parser,
5294 # not just through cpp. "Syntax error" is here to catch this case.
5295 cat >conftest.$ac_ext <<_ACEOF
5296 /* confdefs.h. */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #ifdef __STDC__
5302 # include <limits.h>
5303 #else
5304 # include <assert.h>
5305 #endif
5306 Syntax error
5307 _ACEOF
5308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5310 ac_status=$?
5311 grep -v '^ *+' conftest.er1 >conftest.err
5312 rm -f conftest.er1
5313 cat conftest.err >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } >/dev/null; then
5316 if test -s conftest.err; then
5317 ac_cpp_err=$ac_c_preproc_warn_flag
5318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5319 else
5320 ac_cpp_err=
5322 else
5323 ac_cpp_err=yes
5325 if test -z "$ac_cpp_err"; then
5327 else
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5331 # Broken: fails on valid input.
5332 continue
5334 rm -f conftest.err conftest.$ac_ext
5336 # OK, works on sane cases. Now check whether non-existent headers
5337 # can be detected and how.
5338 cat >conftest.$ac_ext <<_ACEOF
5339 /* confdefs.h. */
5340 _ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5344 #include <ac_nonexistent.h>
5345 _ACEOF
5346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5348 ac_status=$?
5349 grep -v '^ *+' conftest.er1 >conftest.err
5350 rm -f conftest.er1
5351 cat conftest.err >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } >/dev/null; then
5354 if test -s conftest.err; then
5355 ac_cpp_err=$ac_c_preproc_warn_flag
5356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5357 else
5358 ac_cpp_err=
5360 else
5361 ac_cpp_err=yes
5363 if test -z "$ac_cpp_err"; then
5364 # Broken: success on invalid input.
5365 continue
5366 else
5367 echo "$as_me: failed program was:" >&5
5368 sed 's/^/| /' conftest.$ac_ext >&5
5370 # Passes both tests.
5371 ac_preproc_ok=:
5372 break
5374 rm -f conftest.err conftest.$ac_ext
5376 done
5377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5378 rm -f conftest.err conftest.$ac_ext
5379 if $ac_preproc_ok; then
5381 else
5382 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5383 See \`config.log' for more details." >&5
5384 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5385 See \`config.log' for more details." >&2;}
5386 { (exit 1); exit 1; }; }
5389 ac_ext=c
5390 ac_cpp='$CPP $CPPFLAGS'
5391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396 echo "$as_me:$LINENO: checking for egrep" >&5
5397 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5398 if test "${ac_cv_prog_egrep+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 else
5401 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5402 then ac_cv_prog_egrep='grep -E'
5403 else ac_cv_prog_egrep='egrep'
5406 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5407 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5408 EGREP=$ac_cv_prog_egrep
5411 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5412 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5413 if test "${ac_cv_header_stdc+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 else
5416 cat >conftest.$ac_ext <<_ACEOF
5417 /* confdefs.h. */
5418 _ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 #include <stdlib.h>
5423 #include <stdarg.h>
5424 #include <string.h>
5425 #include <float.h>
5428 main ()
5432 return 0;
5434 _ACEOF
5435 rm -f conftest.$ac_objext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437 (eval $ac_compile) 2>conftest.er1
5438 ac_status=$?
5439 grep -v '^ *+' conftest.er1 >conftest.err
5440 rm -f conftest.er1
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try='test -z "$ac_c_werror_flag"
5445 || test ! -s conftest.err'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 (eval $ac_try) 2>&5
5448 ac_status=$?
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; } &&
5451 { ac_try='test -s conftest.$ac_objext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 (eval $ac_try) 2>&5
5454 ac_status=$?
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5457 ac_cv_header_stdc=yes
5458 else
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cv_header_stdc=no
5464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat >conftest.$ac_ext <<_ACEOF
5469 /* confdefs.h. */
5470 _ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 #include <string.h>
5476 _ACEOF
5477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5478 $EGREP "memchr" >/dev/null 2>&1; then
5480 else
5481 ac_cv_header_stdc=no
5483 rm -f conftest*
5487 if test $ac_cv_header_stdc = yes; then
5488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5489 cat >conftest.$ac_ext <<_ACEOF
5490 /* confdefs.h. */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 #include <stdlib.h>
5497 _ACEOF
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "free" >/dev/null 2>&1; then
5501 else
5502 ac_cv_header_stdc=no
5504 rm -f conftest*
5508 if test $ac_cv_header_stdc = yes; then
5509 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5510 if test "$cross_compiling" = yes; then
5512 else
5513 cat >conftest.$ac_ext <<_ACEOF
5514 /* confdefs.h. */
5515 _ACEOF
5516 cat confdefs.h >>conftest.$ac_ext
5517 cat >>conftest.$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5519 #include <ctype.h>
5520 #if ((' ' & 0x0FF) == 0x020)
5521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5523 #else
5524 # define ISLOWER(c) \
5525 (('a' <= (c) && (c) <= 'i') \
5526 || ('j' <= (c) && (c) <= 'r') \
5527 || ('s' <= (c) && (c) <= 'z'))
5528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5529 #endif
5531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5533 main ()
5535 int i;
5536 for (i = 0; i < 256; i++)
5537 if (XOR (islower (i), ISLOWER (i))
5538 || toupper (i) != TOUPPER (i))
5539 exit(2);
5540 exit (0);
5542 _ACEOF
5543 rm -f conftest$ac_exeext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5545 (eval $ac_link) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 (eval $ac_try) 2>&5
5551 ac_status=$?
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5555 else
5556 echo "$as_me: program exited with status $ac_status" >&5
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5560 ( exit $ac_status )
5561 ac_cv_header_stdc=no
5563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5568 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5569 if test $ac_cv_header_stdc = yes; then
5571 cat >>confdefs.h <<\_ACEOF
5572 #define STDC_HEADERS 1
5573 _ACEOF
5577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5587 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5588 inttypes.h stdint.h unistd.h
5590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5591 echo "$as_me:$LINENO: checking for $ac_header" >&5
5592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 else
5596 cat >conftest.$ac_ext <<_ACEOF
5597 /* confdefs.h. */
5598 _ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5604 #include <$ac_header>
5605 _ACEOF
5606 rm -f conftest.$ac_objext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>conftest.er1
5609 ac_status=$?
5610 grep -v '^ *+' conftest.er1 >conftest.err
5611 rm -f conftest.er1
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag"
5616 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5
5619 ac_status=$?
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try='test -s conftest.$ac_objext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5
5625 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_Header=yes"
5629 else
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5633 eval "$as_ac_Header=no"
5635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5640 cat >>confdefs.h <<_ACEOF
5641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5642 _ACEOF
5646 done
5650 echo "$as_me:$LINENO: checking for C locale to use" >&5
5651 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5652 # Check whether --enable-clocale or --disable-clocale was given.
5653 if test "${enable_clocale+set}" = set; then
5654 enableval="$enable_clocale"
5656 case "$enableval" in
5657 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5658 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5659 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5660 { (exit 1); exit 1; }; } ;;
5661 esac
5663 else
5664 enable_clocale=auto
5668 # If they didn't use this option switch, or if they specified --enable
5669 # with no specific model, we'll have to look for one. If they
5670 # specified --disable (???), do likewise.
5671 if test $enable_clocale = no || test $enable_clocale = yes; then
5672 enable_clocale=auto
5675 # Either a known package, or "auto"
5676 enable_clocale_flag=$enable_clocale
5678 # Probe for locale support if no specific model is specified.
5679 # Default to "generic".
5680 if test $enable_clocale_flag = auto; then
5681 case ${target_os} in
5682 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5683 cat >conftest.$ac_ext <<_ACEOF
5684 /* confdefs.h. */
5685 _ACEOF
5686 cat confdefs.h >>conftest.$ac_ext
5687 cat >>conftest.$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5690 #include <features.h>
5691 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5692 _GLIBCXX_ok
5693 #endif
5695 _ACEOF
5696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5697 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5698 enable_clocale_flag=gnu
5699 else
5700 enable_clocale_flag=generic
5702 rm -f conftest*
5705 # Test for bugs early in glibc-2.2.x series
5706 if test $enable_clocale_flag = gnu; then
5707 if test "$cross_compiling" = yes; then
5708 enable_clocale_flag=generic
5709 else
5710 cat >conftest.$ac_ext <<_ACEOF
5711 /* confdefs.h. */
5712 _ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5717 #define _GNU_SOURCE 1
5718 #include <locale.h>
5719 #include <string.h>
5720 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5721 extern __typeof(newlocale) __newlocale;
5722 extern __typeof(duplocale) __duplocale;
5723 extern __typeof(strcoll_l) __strcoll_l;
5724 #endif
5725 int main()
5727 const char __one[] = "Äuglein Augmen";
5728 const char __two[] = "Äuglein";
5729 int i;
5730 int j;
5731 __locale_t loc;
5732 __locale_t loc_dup;
5733 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5734 loc_dup = __duplocale(loc);
5735 i = __strcoll_l(__one, __two, loc);
5736 j = __strcoll_l(__one, __two, loc_dup);
5737 return 0;
5740 _ACEOF
5741 rm -f conftest$ac_exeext
5742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5743 (eval $ac_link) 2>&5
5744 ac_status=$?
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 (eval $ac_try) 2>&5
5749 ac_status=$?
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 enable_clocale_flag=gnu
5753 else
5754 echo "$as_me: program exited with status $ac_status" >&5
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5758 ( exit $ac_status )
5759 enable_clocale_flag=generic
5761 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5765 # ... at some point put __strxfrm_l tests in as well.
5767 darwin* | freebsd*)
5768 enable_clocale_flag=darwin
5771 enable_clocale_flag=generic
5773 esac
5776 # Deal with gettext issues. Default to not using it (=no) until we detect
5777 # support for it later. Let the user turn it off via --e/d, but let that
5778 # default to on for easier handling.
5779 USE_NLS=no
5780 # Check whether --enable-nls or --disable-nls was given.
5781 if test "${enable_nls+set}" = set; then
5782 enableval="$enable_nls"
5784 else
5785 enable_nls=yes
5788 # Set configure bits for specified locale package
5789 case ${enable_clocale_flag} in
5790 generic)
5791 echo "$as_me:$LINENO: result: generic" >&5
5792 echo "${ECHO_T}generic" >&6
5794 CLOCALE_H=config/locale/generic/c_locale.h
5795 CLOCALE_CC=config/locale/generic/c_locale.cc
5796 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5797 CCOLLATE_CC=config/locale/generic/collate_members.cc
5798 CCTYPE_CC=config/locale/generic/ctype_members.cc
5799 CMESSAGES_H=config/locale/generic/messages_members.h
5800 CMESSAGES_CC=config/locale/generic/messages_members.cc
5801 CMONEY_CC=config/locale/generic/monetary_members.cc
5802 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5803 CTIME_H=config/locale/generic/time_members.h
5804 CTIME_CC=config/locale/generic/time_members.cc
5805 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5807 darwin)
5808 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5809 echo "${ECHO_T}darwin or freebsd" >&6
5811 CLOCALE_H=config/locale/generic/c_locale.h
5812 CLOCALE_CC=config/locale/generic/c_locale.cc
5813 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5814 CCOLLATE_CC=config/locale/generic/collate_members.cc
5815 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5816 CMESSAGES_H=config/locale/generic/messages_members.h
5817 CMESSAGES_CC=config/locale/generic/messages_members.cc
5818 CMONEY_CC=config/locale/generic/monetary_members.cc
5819 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5820 CTIME_H=config/locale/generic/time_members.h
5821 CTIME_CC=config/locale/generic/time_members.cc
5822 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5825 gnu)
5826 echo "$as_me:$LINENO: result: gnu" >&5
5827 echo "${ECHO_T}gnu" >&6
5829 # Declare intention to use gettext, and add support for specific
5830 # languages.
5831 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5832 ALL_LINGUAS="de fr"
5834 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5835 # Extract the first word of "msgfmt", so it can be a program name with args.
5836 set dummy msgfmt; ac_word=$2
5837 echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5839 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 else
5842 if test -n "$check_msgfmt"; then
5843 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_check_msgfmt="yes"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5859 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5862 check_msgfmt=$ac_cv_prog_check_msgfmt
5863 if test -n "$check_msgfmt"; then
5864 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5865 echo "${ECHO_T}$check_msgfmt" >&6
5866 else
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5871 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5872 USE_NLS=yes
5874 # Export the build objects.
5875 for ling in $ALL_LINGUAS; do \
5876 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5877 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5878 done
5882 CLOCALE_H=config/locale/gnu/c_locale.h
5883 CLOCALE_CC=config/locale/gnu/c_locale.cc
5884 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5885 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5886 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5887 CMESSAGES_H=config/locale/gnu/messages_members.h
5888 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5889 CMONEY_CC=config/locale/gnu/monetary_members.cc
5890 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5891 CTIME_H=config/locale/gnu/time_members.h
5892 CTIME_CC=config/locale/gnu/time_members.cc
5893 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5895 ieee_1003.1-2001)
5896 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5897 echo "${ECHO_T}IEEE 1003.1" >&6
5899 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5900 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5901 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5902 CCOLLATE_CC=config/locale/generic/collate_members.cc
5903 CCTYPE_CC=config/locale/generic/ctype_members.cc
5904 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5905 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5906 CMONEY_CC=config/locale/generic/monetary_members.cc
5907 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5908 CTIME_H=config/locale/generic/time_members.h
5909 CTIME_CC=config/locale/generic/time_members.cc
5910 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5912 esac
5914 # This is where the testsuite looks for locale catalogs, using the
5915 # -DLOCALEDIR define during testsuite compilation.
5916 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5919 # A standalone libintl (e.g., GNU libintl) may be in use.
5920 if test $USE_NLS = yes; then
5922 for ac_header in libintl.h
5924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5926 echo "$as_me:$LINENO: checking for $ac_header" >&5
5927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5933 else
5934 # Is the header compilable?
5935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5937 cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h. */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 $ac_includes_default
5944 #include <$ac_header>
5945 _ACEOF
5946 rm -f conftest.$ac_objext
5947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5948 (eval $ac_compile) 2>conftest.er1
5949 ac_status=$?
5950 grep -v '^ *+' conftest.er1 >conftest.err
5951 rm -f conftest.er1
5952 cat conftest.err >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } &&
5955 { ac_try='test -z "$ac_c_werror_flag"
5956 || test ! -s conftest.err'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5
5959 ac_status=$?
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; } &&
5962 { ac_try='test -s conftest.$ac_objext'
5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 (eval $ac_try) 2>&5
5965 ac_status=$?
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; }; then
5968 ac_header_compiler=yes
5969 else
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.$ac_ext >&5
5973 ac_header_compiler=no
5975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5977 echo "${ECHO_T}$ac_header_compiler" >&6
5979 # Is the header present?
5980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <$ac_header>
5989 _ACEOF
5990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5992 ac_status=$?
5993 grep -v '^ *+' conftest.er1 >conftest.err
5994 rm -f conftest.er1
5995 cat conftest.err >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } >/dev/null; then
5998 if test -s conftest.err; then
5999 ac_cpp_err=$ac_c_preproc_warn_flag
6000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6001 else
6002 ac_cpp_err=
6004 else
6005 ac_cpp_err=yes
6007 if test -z "$ac_cpp_err"; then
6008 ac_header_preproc=yes
6009 else
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 ac_header_preproc=no
6015 rm -f conftest.err conftest.$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6017 echo "${ECHO_T}$ac_header_preproc" >&6
6019 # So? What about this header?
6020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6021 yes:no: )
6022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6026 ac_header_preproc=yes
6028 no:yes:* )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6042 cat <<\_ASBOX
6043 ## ----------------------------------------- ##
6044 ## Report this to the package-unused lists. ##
6045 ## ----------------------------------------- ##
6046 _ASBOX
6048 sed "s/^/$as_me: WARNING: /" >&2
6050 esac
6051 echo "$as_me:$LINENO: checking for $ac_header" >&5
6052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 else
6056 eval "$as_ac_Header=\$ac_header_preproc"
6058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6063 cat >>confdefs.h <<_ACEOF
6064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 _ACEOF
6067 else
6068 USE_NLS=no
6071 done
6073 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6074 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6075 if test "${ac_cv_search_gettext+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 else
6078 ac_func_search_save_LIBS=$LIBS
6079 ac_cv_search_gettext=no
6080 if test x$gcc_no_link = xyes; then
6081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6083 { (exit 1); exit 1; }; }
6085 cat >conftest.$ac_ext <<_ACEOF
6086 /* confdefs.h. */
6087 _ACEOF
6088 cat confdefs.h >>conftest.$ac_ext
6089 cat >>conftest.$ac_ext <<_ACEOF
6090 /* end confdefs.h. */
6092 /* Override any gcc2 internal prototype to avoid an error. */
6093 #ifdef __cplusplus
6094 extern "C"
6095 #endif
6096 /* We use char because int might match the return type of a gcc2
6097 builtin and then its argument prototype would still apply. */
6098 char gettext ();
6100 main ()
6102 gettext ();
6104 return 0;
6106 _ACEOF
6107 rm -f conftest.$ac_objext conftest$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>conftest.er1
6110 ac_status=$?
6111 grep -v '^ *+' conftest.er1 >conftest.err
6112 rm -f conftest.er1
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try='test -s conftest$ac_exeext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5
6126 ac_status=$?
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_search_gettext="none required"
6130 else
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6135 rm -f conftest.err conftest.$ac_objext \
6136 conftest$ac_exeext conftest.$ac_ext
6137 if test "$ac_cv_search_gettext" = no; then
6138 for ac_lib in intl; do
6139 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6140 if test x$gcc_no_link = xyes; then
6141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6143 { (exit 1); exit 1; }; }
6145 cat >conftest.$ac_ext <<_ACEOF
6146 /* confdefs.h. */
6147 _ACEOF
6148 cat confdefs.h >>conftest.$ac_ext
6149 cat >>conftest.$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6152 /* Override any gcc2 internal prototype to avoid an error. */
6153 #ifdef __cplusplus
6154 extern "C"
6155 #endif
6156 /* We use char because int might match the return type of a gcc2
6157 builtin and then its argument prototype would still apply. */
6158 char gettext ();
6160 main ()
6162 gettext ();
6164 return 0;
6166 _ACEOF
6167 rm -f conftest.$ac_objext conftest$ac_exeext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6169 (eval $ac_link) 2>conftest.er1
6170 ac_status=$?
6171 grep -v '^ *+' conftest.er1 >conftest.err
6172 rm -f conftest.er1
6173 cat conftest.err >&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -z "$ac_c_werror_flag"
6177 || test ! -s conftest.err'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 (eval $ac_try) 2>&5
6180 ac_status=$?
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; } &&
6183 { ac_try='test -s conftest$ac_exeext'
6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 (eval $ac_try) 2>&5
6186 ac_status=$?
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; }; then
6189 ac_cv_search_gettext="-l$ac_lib"
6190 break
6191 else
6192 echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.$ac_ext >&5
6196 rm -f conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 done
6200 LIBS=$ac_func_search_save_LIBS
6202 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6203 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6204 if test "$ac_cv_search_gettext" != no; then
6205 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6207 else
6208 USE_NLS=no
6212 if test $USE_NLS = yes; then
6213 cat >>confdefs.h <<\_ACEOF
6214 #define _GLIBCXX_USE_NLS 1
6215 _ACEOF
6234 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6235 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6236 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6237 if test "${enable_libstdcxx_allocator+set}" = set; then
6238 enableval="$enable_libstdcxx_allocator"
6240 case "$enableval" in
6241 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6242 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6243 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6244 { (exit 1); exit 1; }; } ;;
6245 esac
6247 else
6248 enable_libstdcxx_allocator=auto
6252 # If they didn't use this option switch, or if they specified --enable
6253 # with no specific model, we'll have to look for one. If they
6254 # specified --disable (???), do likewise.
6255 if test $enable_libstdcxx_allocator = no ||
6256 test $enable_libstdcxx_allocator = yes;
6257 then
6258 enable_libstdcxx_allocator=auto
6261 # Either a known package, or "auto". Auto implies the default choice
6262 # for a particular platform.
6263 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6265 # Probe for host-specific support if no specific model is specified.
6266 # Default to "new".
6267 if test $enable_libstdcxx_allocator_flag = auto; then
6268 case ${target_os} in
6269 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6270 enable_libstdcxx_allocator_flag=mt
6273 enable_libstdcxx_allocator_flag=new
6275 esac
6277 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6278 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6281 # Set configure bits for specified locale package
6282 case ${enable_libstdcxx_allocator_flag} in
6283 bitmap)
6284 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6285 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6287 malloc)
6288 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6289 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6292 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6295 new)
6296 ALLOCATOR_H=config/allocator/new_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6299 pool)
6300 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6303 esac
6309 # Check whether --enable-cheaders or --disable-cheaders was given.
6310 if test "${enable_cheaders+set}" = set; then
6311 enableval="$enable_cheaders"
6313 case "$enableval" in
6314 c|c_std) ;;
6315 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6316 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6317 { (exit 1); exit 1; }; } ;;
6318 esac
6320 else
6321 enable_cheaders=$c_model
6324 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6325 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6327 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6336 # Check whether --enable-c99 or --disable-c99 was given.
6337 if test "${enable_c99+set}" = set; then
6338 enableval="$enable_c99"
6340 case "$enableval" in
6341 yes|no) ;;
6342 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6343 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6344 { (exit 1); exit 1; }; } ;;
6345 esac
6347 else
6348 enable_c99=yes
6352 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6353 # even if C99 support is turned off.
6355 for ac_header in wchar.h
6357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6359 echo "$as_me:$LINENO: checking for $ac_header" >&5
6360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366 else
6367 # Is the header compilable?
6368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6370 cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h. */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 $ac_includes_default
6377 #include <$ac_header>
6378 _ACEOF
6379 rm -f conftest.$ac_objext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>conftest.er1
6382 ac_status=$?
6383 grep -v '^ *+' conftest.er1 >conftest.err
6384 rm -f conftest.er1
6385 cat conftest.err >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
6388 { ac_try='test -z "$ac_c_werror_flag"
6389 || test ! -s conftest.err'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 (eval $ac_try) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_header_compiler=yes
6402 else
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6406 ac_header_compiler=no
6408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6410 echo "${ECHO_T}$ac_header_compiler" >&6
6412 # Is the header present?
6413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6416 /* confdefs.h. */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 #include <$ac_header>
6422 _ACEOF
6423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6425 ac_status=$?
6426 grep -v '^ *+' conftest.er1 >conftest.err
6427 rm -f conftest.er1
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } >/dev/null; then
6431 if test -s conftest.err; then
6432 ac_cpp_err=$ac_c_preproc_warn_flag
6433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6434 else
6435 ac_cpp_err=
6437 else
6438 ac_cpp_err=yes
6440 if test -z "$ac_cpp_err"; then
6441 ac_header_preproc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_header_preproc=no
6448 rm -f conftest.err conftest.$ac_ext
6449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6450 echo "${ECHO_T}$ac_header_preproc" >&6
6452 # So? What about this header?
6453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6454 yes:no: )
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6459 ac_header_preproc=yes
6461 no:yes:* )
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6475 cat <<\_ASBOX
6476 ## ----------------------------------------- ##
6477 ## Report this to the package-unused lists. ##
6478 ## ----------------------------------------- ##
6479 _ASBOX
6481 sed "s/^/$as_me: WARNING: /" >&2
6483 esac
6484 echo "$as_me:$LINENO: checking for $ac_header" >&5
6485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 else
6489 eval "$as_ac_Header=\$ac_header_preproc"
6491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6496 cat >>confdefs.h <<_ACEOF
6497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6498 _ACEOF
6499 ac_has_wchar_h=yes
6500 else
6501 ac_has_wchar_h=no
6504 done
6506 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6507 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6508 cat >conftest.$ac_ext <<_ACEOF
6509 /* confdefs.h. */
6510 _ACEOF
6511 cat confdefs.h >>conftest.$ac_ext
6512 cat >>conftest.$ac_ext <<_ACEOF
6513 /* end confdefs.h. */
6514 #include <wchar.h>
6516 main ()
6518 mbstate_t teststate;
6520 return 0;
6522 _ACEOF
6523 rm -f conftest.$ac_objext
6524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6525 (eval $ac_compile) 2>conftest.er1
6526 ac_status=$?
6527 grep -v '^ *+' conftest.er1 >conftest.err
6528 rm -f conftest.er1
6529 cat conftest.err >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } &&
6532 { ac_try='test -z "$ac_c_werror_flag"
6533 || test ! -s conftest.err'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 (eval $ac_try) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; } &&
6539 { ac_try='test -s conftest.$ac_objext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 (eval $ac_try) 2>&5
6542 ac_status=$?
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6545 have_mbstate_t=yes
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 have_mbstate_t=no
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6554 echo "${ECHO_T}$have_mbstate_t" >&6
6555 if test x"$have_mbstate_t" = xyes; then
6556 cat >>confdefs.h <<\_ACEOF
6557 #define HAVE_MBSTATE_T 1
6558 _ACEOF
6562 if test x"$enable_c99" = x"yes"; then
6566 ac_ext=cc
6567 ac_cpp='$CXXCPP $CPPFLAGS'
6568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6573 # Check for the existence of <math.h> functions used if C99 is enabled.
6574 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6575 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6576 if test "${ac_c99_math+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 else
6580 cat >conftest.$ac_ext <<_ACEOF
6581 /* confdefs.h. */
6582 _ACEOF
6583 cat confdefs.h >>conftest.$ac_ext
6584 cat >>conftest.$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6586 #include <math.h>
6588 main ()
6590 fpclassify(0.0);
6591 isfinite(0.0);
6592 isinf(0.0);
6593 isnan(0.0);
6594 isnormal(0.0);
6595 signbit(0.0);
6596 isgreater(0.0,0.0);
6597 isgreaterequal(0.0,0.0);
6598 isless(0.0,0.0);
6599 islessequal(0.0,0.0);
6600 islessgreater(0.0,0.0);
6601 islessgreater(0.0,0.0);
6602 isunordered(0.0,0.0);
6605 return 0;
6607 _ACEOF
6608 rm -f conftest.$ac_objext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try='test -z "$ac_cxx_werror_flag"
6618 || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 (eval $ac_try) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try='test -s conftest.$ac_objext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 (eval $ac_try) 2>&5
6627 ac_status=$?
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6630 ac_c99_math=yes
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ac_c99_math=no
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6641 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6642 echo "${ECHO_T}$ac_c99_math" >&6
6643 if test x"$ac_c99_math" = x"yes"; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define _GLIBCXX_USE_C99_MATH 1
6646 _ACEOF
6650 # Check for the existence of <complex.h> complex functions.
6651 # This is necessary even though libstdc++ uses the builtin versions
6652 # of these functions, because if the builtin cannot be used, a reference
6653 # to the library function is emitted.
6654 # In addition, need to explicitly specify "C" compilation for this
6655 # one, or else the backwards C++ <complex.h> include will be selected.
6656 save_CXXFLAGS="$CXXFLAGS"
6657 CXXFLAGS="$CXXFLAGS -x c"
6659 for ac_header in complex.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6663 echo "$as_me:$LINENO: checking for $ac_header" >&5
6664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6666 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6670 else
6671 # Is the header compilable?
6672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6674 cat >conftest.$ac_ext <<_ACEOF
6675 /* confdefs.h. */
6676 _ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 $ac_includes_default
6681 #include <$ac_header>
6682 _ACEOF
6683 rm -f conftest.$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>conftest.er1
6686 ac_status=$?
6687 grep -v '^ *+' conftest.er1 >conftest.err
6688 rm -f conftest.er1
6689 cat conftest.err >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } &&
6692 { ac_try='test -z "$ac_cxx_werror_flag"
6693 || test ! -s conftest.err'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 (eval $ac_try) 2>&5
6696 ac_status=$?
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; } &&
6699 { ac_try='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5
6702 ac_status=$?
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 ac_header_compiler=yes
6706 else
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6710 ac_header_compiler=no
6712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6714 echo "${ECHO_T}$ac_header_compiler" >&6
6716 # Is the header present?
6717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <$ac_header>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 ac_header_preproc=yes
6746 else
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 ac_header_preproc=no
6752 rm -f conftest.err conftest.$ac_ext
6753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6754 echo "${ECHO_T}$ac_header_preproc" >&6
6756 # So? What about this header?
6757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6758 yes:no: )
6759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6763 ac_header_preproc=yes
6765 no:yes:* )
6766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6779 cat <<\_ASBOX
6780 ## ----------------------------------------- ##
6781 ## Report this to the package-unused lists. ##
6782 ## ----------------------------------------- ##
6783 _ASBOX
6785 sed "s/^/$as_me: WARNING: /" >&2
6787 esac
6788 echo "$as_me:$LINENO: checking for $ac_header" >&5
6789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 else
6793 eval "$as_ac_Header=\$ac_header_preproc"
6795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6800 cat >>confdefs.h <<_ACEOF
6801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6802 _ACEOF
6803 ac_has_complex_h=yes
6804 else
6805 ac_has_complex_h=no
6808 done
6810 ac_c99_complex=no;
6811 if test x"$ac_has_complex_h" = x"yes"; then
6812 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6813 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6815 /* confdefs.h. */
6816 _ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #include <complex.h>
6822 main ()
6824 typedef __complex__ float float_type; float_type tmpf;
6825 cabsf(tmpf);
6826 cargf(tmpf);
6827 ccosf(tmpf);
6828 ccoshf(tmpf);
6829 cexpf(tmpf);
6830 csinf(tmpf);
6831 csinhf(tmpf);
6832 csqrtf(tmpf);
6833 ctanf(tmpf);
6834 ctanhf(tmpf);
6835 cpowf(tmpf, tmpf);
6836 typedef __complex__ double double_type; double_type tmpd;
6837 cabs(tmpd);
6838 carg(tmpd);
6839 ccos(tmpd);
6840 ccosh(tmpd);
6841 cexp(tmpd);
6842 csin(tmpd);
6843 csinh(tmpd);
6844 csqrt(tmpd);
6845 ctan(tmpd);
6846 ctanh(tmpd);
6847 cpow(tmpd, tmpd);
6848 typedef __complex__ long double ld_type; ld_type tmpld;
6849 cabsl(tmpld);
6850 cargl(tmpld);
6851 ccosl(tmpld);
6852 ccoshl(tmpld);
6853 cexpl(tmpld);
6854 csinl(tmpld);
6855 csinhl(tmpld);
6856 csqrtl(tmpld);
6857 ctanl(tmpld);
6858 ctanhl(tmpld);
6859 cpowl(tmpld, tmpld);
6862 return 0;
6864 _ACEOF
6865 rm -f conftest.$ac_objext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6867 (eval $ac_compile) 2>conftest.er1
6868 ac_status=$?
6869 grep -v '^ *+' conftest.er1 >conftest.err
6870 rm -f conftest.er1
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try='test -z "$ac_cxx_werror_flag"
6875 || test ! -s conftest.err'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 (eval $ac_try) 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; } &&
6881 { ac_try='test -s conftest.$ac_objext'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 (eval $ac_try) 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; }; then
6887 ac_c99_complex=yes
6888 else
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.$ac_ext >&5
6892 ac_c99_complex=no
6894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6896 CXXFLAGS="$save_CXXFLAGS"
6897 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6898 echo "${ECHO_T}$ac_c99_complex" >&6
6899 if test x"$ac_c99_complex" = x"yes"; then
6900 cat >>confdefs.h <<\_ACEOF
6901 #define _GLIBCXX_USE_C99_COMPLEX 1
6902 _ACEOF
6906 # Check for the existence in <stdio.h> of vscanf, et. al.
6907 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6908 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6909 if test "${ac_c99_stdio+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 else
6913 cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h. */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 #include <stdio.h>
6920 #include <stdarg.h>
6921 void foo(char* fmt, ...)
6923 va_list args; va_start(args, fmt);
6924 vfscanf(stderr, "%i", args);
6925 vscanf("%i", args);
6926 vsnprintf(fmt, 0, "%i", args);
6927 vsscanf(fmt, "%i", args);
6930 main ()
6932 snprintf("12", 0, "%i");
6934 return 0;
6936 _ACEOF
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6940 ac_status=$?
6941 grep -v '^ *+' conftest.er1 >conftest.err
6942 rm -f conftest.er1
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_cxx_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6959 ac_c99_stdio=yes
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6964 ac_c99_stdio=no
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6970 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6971 echo "${ECHO_T}$ac_c99_stdio" >&6
6973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6974 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6975 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6976 if test "${ac_c99_stdlib+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 else
6980 cat >conftest.$ac_ext <<_ACEOF
6981 /* confdefs.h. */
6982 _ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 #include <stdlib.h>
6988 main ()
6990 char* tmp;
6991 strtof("gnu", &tmp);
6992 strtold("gnu", &tmp);
6993 llabs(10);
6994 lldiv(10,1);
6995 atoll("10");
6996 _Exit(0);
6997 lldiv_t mydivt;
6999 return 0;
7001 _ACEOF
7002 rm -f conftest.$ac_objext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7004 (eval $ac_compile) 2>conftest.er1
7005 ac_status=$?
7006 grep -v '^ *+' conftest.er1 >conftest.err
7007 rm -f conftest.er1
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -z "$ac_cxx_werror_flag"
7012 || test ! -s conftest.err'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 (eval $ac_try) 2>&5
7015 ac_status=$?
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; } &&
7018 { ac_try='test -s conftest.$ac_objext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7024 ac_c99_stdlib=yes
7025 else
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.$ac_ext >&5
7029 ac_c99_stdlib=no
7031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7035 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7036 echo "${ECHO_T}$ac_c99_stdlib" >&6
7038 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7040 for ac_header in wctype.h
7042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7044 echo "$as_me:$LINENO: checking for $ac_header" >&5
7045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7051 else
7052 # Is the header compilable?
7053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7056 /* confdefs.h. */
7057 _ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 $ac_includes_default
7062 #include <$ac_header>
7063 _ACEOF
7064 rm -f conftest.$ac_objext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try='test -z "$ac_cxx_werror_flag"
7074 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5
7077 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 (eval $ac_try) 2>&5
7083 ac_status=$?
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 ac_header_compiler=yes
7087 else
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.$ac_ext >&5
7091 ac_header_compiler=no
7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7095 echo "${ECHO_T}$ac_header_compiler" >&6
7097 # Is the header present?
7098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7100 cat >conftest.$ac_ext <<_ACEOF
7101 /* confdefs.h. */
7102 _ACEOF
7103 cat confdefs.h >>conftest.$ac_ext
7104 cat >>conftest.$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7106 #include <$ac_header>
7107 _ACEOF
7108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7110 ac_status=$?
7111 grep -v '^ *+' conftest.er1 >conftest.err
7112 rm -f conftest.er1
7113 cat conftest.err >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } >/dev/null; then
7116 if test -s conftest.err; then
7117 ac_cpp_err=$ac_cxx_preproc_warn_flag
7118 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7119 else
7120 ac_cpp_err=
7122 else
7123 ac_cpp_err=yes
7125 if test -z "$ac_cpp_err"; then
7126 ac_header_preproc=yes
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_header_preproc=no
7133 rm -f conftest.err conftest.$ac_ext
7134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7135 echo "${ECHO_T}$ac_header_preproc" >&6
7137 # So? What about this header?
7138 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7139 yes:no: )
7140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7144 ac_header_preproc=yes
7146 no:yes:* )
7147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7160 cat <<\_ASBOX
7161 ## ----------------------------------------- ##
7162 ## Report this to the package-unused lists. ##
7163 ## ----------------------------------------- ##
7164 _ASBOX
7166 sed "s/^/$as_me: WARNING: /" >&2
7168 esac
7169 echo "$as_me:$LINENO: checking for $ac_header" >&5
7170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 else
7174 eval "$as_ac_Header=\$ac_header_preproc"
7176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7181 cat >>confdefs.h <<_ACEOF
7182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7184 ac_has_wctype_h=yes
7185 else
7186 ac_has_wctype_h=no
7189 done
7191 ac_c99_wchar=no;
7192 if test x"$ac_has_wchar_h" = xyes &&
7193 test x"$ac_has_wctype_h" = xyes; then
7194 cat >conftest.$ac_ext <<_ACEOF
7195 /* confdefs.h. */
7196 _ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7200 #include <wchar.h>
7201 #include <stddef.h>
7202 wint_t i;
7203 long l = WEOF;
7204 long j = WCHAR_MIN;
7205 long k = WCHAR_MAX;
7206 namespace test
7208 using ::btowc;
7209 using ::fgetwc;
7210 using ::fgetws;
7211 using ::fputwc;
7212 using ::fputws;
7213 using ::fwide;
7214 using ::fwprintf;
7215 using ::fwscanf;
7216 using ::getwc;
7217 using ::getwchar;
7218 using ::mbrlen;
7219 using ::mbrtowc;
7220 using ::mbsinit;
7221 using ::mbsrtowcs;
7222 using ::putwc;
7223 using ::putwchar;
7224 using ::swprintf;
7225 using ::swscanf;
7226 using ::ungetwc;
7227 using ::vfwprintf;
7228 using ::vswprintf;
7229 using ::vwprintf;
7230 using ::wcrtomb;
7231 using ::wcscat;
7232 using ::wcschr;
7233 using ::wcscmp;
7234 using ::wcscoll;
7235 using ::wcscpy;
7236 using ::wcscspn;
7237 using ::wcsftime;
7238 using ::wcslen;
7239 using ::wcsncat;
7240 using ::wcsncmp;
7241 using ::wcsncpy;
7242 using ::wcspbrk;
7243 using ::wcsrchr;
7244 using ::wcsrtombs;
7245 using ::wcsspn;
7246 using ::wcsstr;
7247 using ::wcstod;
7248 using ::wcstok;
7249 using ::wcstol;
7250 using ::wcstold;
7251 using ::wcstoll;
7252 using ::wcstoul;
7253 using ::wcstoull;
7254 using ::wcsxfrm;
7255 using ::wctob;
7256 using ::wmemchr;
7257 using ::wmemcmp;
7258 using ::wmemcpy;
7259 using ::wmemmove;
7260 using ::wmemset;
7261 using ::wprintf;
7262 using ::wscanf;
7266 main ()
7270 return 0;
7272 _ACEOF
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7276 ac_status=$?
7277 grep -v '^ *+' conftest.er1 >conftest.err
7278 rm -f conftest.er1
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -z "$ac_cxx_werror_flag"
7283 || test ! -s conftest.err'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 (eval $ac_try) 2>&5
7286 ac_status=$?
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; } &&
7289 { ac_try='test -s conftest.$ac_objext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7295 ac_c99_wchar=yes
7296 else
7297 echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.$ac_ext >&5
7300 ac_c99_wchar=no
7302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7304 # Checks for wide character functions that may not be present.
7305 # Injection of these is wrapped with guard macros.
7306 # NB: only put functions here, instead of immediately above, if
7307 # absolutely necessary.
7308 cat >conftest.$ac_ext <<_ACEOF
7309 /* confdefs.h. */
7310 _ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <wchar.h>
7315 namespace test { using ::vfwscanf; }
7317 main ()
7321 return 0;
7323 _ACEOF
7324 rm -f conftest.$ac_objext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7326 (eval $ac_compile) 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_cxx_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest.$ac_objext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7347 cat >>confdefs.h <<\_ACEOF
7348 #define HAVE_VFWSCANF 1
7349 _ACEOF
7351 else
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7358 cat >conftest.$ac_ext <<_ACEOF
7359 /* confdefs.h. */
7360 _ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7364 #include <wchar.h>
7365 namespace test { using ::vswscanf; }
7367 main ()
7371 return 0;
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376 (eval $ac_compile) 2>conftest.er1
7377 ac_status=$?
7378 grep -v '^ *+' conftest.er1 >conftest.err
7379 rm -f conftest.er1
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try='test -z "$ac_cxx_werror_flag"
7384 || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try='test -s conftest.$ac_objext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 (eval $ac_try) 2>&5
7393 ac_status=$?
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7397 cat >>confdefs.h <<\_ACEOF
7398 #define HAVE_VSWSCANF 1
7399 _ACEOF
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7408 cat >conftest.$ac_ext <<_ACEOF
7409 /* confdefs.h. */
7410 _ACEOF
7411 cat confdefs.h >>conftest.$ac_ext
7412 cat >>conftest.$ac_ext <<_ACEOF
7413 /* end confdefs.h. */
7414 #include <wchar.h>
7415 namespace test { using ::vwscanf; }
7417 main ()
7421 return 0;
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426 (eval $ac_compile) 2>conftest.er1
7427 ac_status=$?
7428 grep -v '^ *+' conftest.er1 >conftest.err
7429 rm -f conftest.er1
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } &&
7433 { ac_try='test -z "$ac_cxx_werror_flag"
7434 || test ! -s conftest.err'
7435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 (eval $ac_try) 2>&5
7437 ac_status=$?
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; } &&
7440 { ac_try='test -s conftest.$ac_objext'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 (eval $ac_try) 2>&5
7443 ac_status=$?
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; }; then
7447 cat >>confdefs.h <<\_ACEOF
7448 #define HAVE_VWSCANF 1
7449 _ACEOF
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7458 cat >conftest.$ac_ext <<_ACEOF
7459 /* confdefs.h. */
7460 _ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 #include <wchar.h>
7465 namespace test { using ::wcstof; }
7467 main ()
7471 return 0;
7473 _ACEOF
7474 rm -f conftest.$ac_objext
7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7476 (eval $ac_compile) 2>conftest.er1
7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } &&
7483 { ac_try='test -z "$ac_cxx_werror_flag"
7484 || test ! -s conftest.err'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; } &&
7490 { ac_try='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 (eval $ac_try) 2>&5
7493 ac_status=$?
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7497 cat >>confdefs.h <<\_ACEOF
7498 #define HAVE_WCSTOF 1
7499 _ACEOF
7501 else
7502 echo "$as_me: failed program was:" >&5
7503 sed 's/^/| /' conftest.$ac_ext >&5
7506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <wctype.h>
7516 main ()
7518 wint_t t; int i = iswblank(t);
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7546 cat >>confdefs.h <<\_ACEOF
7547 #define HAVE_ISWBLANK 1
7548 _ACEOF
7550 else
7551 echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7557 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7558 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7559 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7560 echo "${ECHO_T}$ac_c99_wchar" >&6
7563 # Option parsed, now set things appropriately.
7564 if test x"$ac_c99_math" = x"no" ||
7565 test x"$ac_c99_complex" = x"no" ||
7566 test x"$ac_c99_stdio" = x"no" ||
7567 test x"$ac_c99_stdlib" = x"no" ||
7568 test x"$ac_c99_wchar" = x"no"; then
7569 enable_c99=no;
7570 else
7571 cat >>confdefs.h <<\_ACEOF
7572 #define _GLIBCXX_USE_C99 1
7573 _ACEOF
7577 ac_ext=c
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7585 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7586 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7587 echo "$as_me:$LINENO: result: $enable_c99" >&5
7588 echo "${ECHO_T}$enable_c99" >&6
7591 # Check whether --enable-long-long or --disable-long-long was given.
7592 if test "${enable_long_long+set}" = set; then
7593 enableval="$enable_long_long"
7595 case "$enableval" in
7596 yes|no) ;;
7597 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7598 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7599 { (exit 1); exit 1; }; } ;;
7600 esac
7602 else
7603 enable_long_long=yes
7606 if test $enable_long_long = yes; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define _GLIBCXX_USE_LONG_LONG 1
7609 _ACEOF
7612 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7613 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7614 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7615 echo "${ECHO_T}$enable_long_long" >&6
7618 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7619 if test "${enable_wchar_t+set}" = set; then
7620 enableval="$enable_wchar_t"
7622 case "$enableval" in
7623 yes|no) ;;
7624 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7625 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7626 { (exit 1); exit 1; }; } ;;
7627 esac
7629 else
7630 enable_wchar_t=yes
7633 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7634 cat >>confdefs.h <<\_ACEOF
7635 #define _GLIBCXX_USE_WCHAR_T 1
7636 _ACEOF
7639 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7640 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7641 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7642 echo "${ECHO_T}$enable_wchar_t" >&6
7645 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7646 if test "${enable_concept_checks+set}" = set; then
7647 enableval="$enable_concept_checks"
7649 case "$enableval" in
7650 yes|no) ;;
7651 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7652 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7653 { (exit 1); exit 1; }; } ;;
7654 esac
7656 else
7657 enable_concept_checks=no
7660 if test $enable_concept_checks = yes; then
7661 cat >>confdefs.h <<\_ACEOF
7662 #define _GLIBCXX_CONCEPT_CHECKS 1
7663 _ACEOF
7668 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7669 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7670 enableval="$enable_libstdcxx_debug_flags"
7671 case "x$enable_libstdcxx_debug_flags" in
7672 xno | x) enable_libstdcxx_debug_flags= ;;
7673 x-*) ;;
7674 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7675 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7676 { (exit 1); exit 1; }; } ;;
7677 esac
7678 else
7679 enable_libstdcxx_debug_flags="-g3 -O0"
7683 # Option parsed, now set things appropriately
7684 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7687 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7688 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7691 echo "$as_me:$LINENO: checking for additional debug build" >&5
7692 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7693 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7694 if test "${enable_libstdcxx_debug+set}" = set; then
7695 enableval="$enable_libstdcxx_debug"
7697 case "$enableval" in
7698 yes|no) ;;
7699 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7700 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7701 { (exit 1); exit 1; }; } ;;
7702 esac
7704 else
7705 enable_libstdcxx_debug=no
7708 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7709 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7712 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7713 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7714 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7715 if test "${enable_cxx_flags+set}" = set; then
7716 enableval="$enable_cxx_flags"
7717 case "x$enable_cxx_flags" in
7718 xno | x) enable_cxx_flags= ;;
7719 x-*) ;;
7720 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7721 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7722 { (exit 1); exit 1; }; } ;;
7723 esac
7724 else
7725 enable_cxx_flags=
7729 # Run through flags (either default or command-line) and set anything
7730 # extra (e.g., #defines) that must accompany particular g++ options.
7731 if test -n "$enable_cxx_flags"; then
7732 for f in $enable_cxx_flags; do
7733 case "$f" in
7734 -fhonor-std) ;;
7735 -*) ;;
7736 *) # and we're trying to pass /what/ exactly?
7737 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7738 echo "$as_me: error: compiler flags start with a -" >&2;}
7739 { (exit 1); exit 1; }; } ;;
7740 esac
7741 done
7744 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7745 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7746 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7750 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7751 if test "${enable_fully_dynamic_string+set}" = set; then
7752 enableval="$enable_fully_dynamic_string"
7754 case "$enableval" in
7755 yes|no) ;;
7756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7757 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7758 { (exit 1); exit 1; }; } ;;
7759 esac
7761 else
7762 enable_fully_dynamic_string=no
7765 if test $enable_fully_dynamic_string = yes; then
7766 cat >>confdefs.h <<\_ACEOF
7767 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7768 _ACEOF
7773 # No surprises, no surprises...
7775 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7776 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7777 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7778 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7779 echo "${ECHO_T}$target_thread_file" >&6
7781 if test $target_thread_file != single; then
7782 cat >>confdefs.h <<\_ACEOF
7783 #define HAVE_GTHR_DEFAULT 1
7784 _ACEOF
7788 glibcxx_thread_h=gthr-$target_thread_file.h
7790 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7791 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7792 enable_thread=yes
7793 else
7794 enable_thread=no
7799 if test $atomicity_dir = cpu/generic ; then
7800 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7801 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7802 if test $target_thread_file = single; then
7803 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7804 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7805 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7806 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7807 else
7808 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7809 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7810 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7811 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7816 if $GLIBCXX_IS_NATIVE; then
7818 # We can do more elaborate tests that assume a working linker.
7819 CANADIAN=no
7821 # Check for available headers.
7837 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7838 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7839 sys/types.h sys/ipc.h sys/sem.h
7841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7843 echo "$as_me:$LINENO: checking for $ac_header" >&5
7844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7850 else
7851 # Is the header compilable?
7852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7854 cat >conftest.$ac_ext <<_ACEOF
7855 /* confdefs.h. */
7856 _ACEOF
7857 cat confdefs.h >>conftest.$ac_ext
7858 cat >>conftest.$ac_ext <<_ACEOF
7859 /* end confdefs.h. */
7860 $ac_includes_default
7861 #include <$ac_header>
7862 _ACEOF
7863 rm -f conftest.$ac_objext
7864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7865 (eval $ac_compile) 2>conftest.er1
7866 ac_status=$?
7867 grep -v '^ *+' conftest.er1 >conftest.err
7868 rm -f conftest.er1
7869 cat conftest.err >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); } &&
7872 { ac_try='test -z "$ac_c_werror_flag"
7873 || test ! -s conftest.err'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875 (eval $ac_try) 2>&5
7876 ac_status=$?
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; } &&
7879 { ac_try='test -s conftest.$ac_objext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 (eval $ac_try) 2>&5
7882 ac_status=$?
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_header_compiler=yes
7886 else
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.$ac_ext >&5
7890 ac_header_compiler=no
7892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7894 echo "${ECHO_T}$ac_header_compiler" >&6
7896 # Is the header present?
7897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7899 cat >conftest.$ac_ext <<_ACEOF
7900 /* confdefs.h. */
7901 _ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7904 /* end confdefs.h. */
7905 #include <$ac_header>
7906 _ACEOF
7907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7909 ac_status=$?
7910 grep -v '^ *+' conftest.er1 >conftest.err
7911 rm -f conftest.er1
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } >/dev/null; then
7915 if test -s conftest.err; then
7916 ac_cpp_err=$ac_c_preproc_warn_flag
7917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7918 else
7919 ac_cpp_err=
7921 else
7922 ac_cpp_err=yes
7924 if test -z "$ac_cpp_err"; then
7925 ac_header_preproc=yes
7926 else
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7930 ac_header_preproc=no
7932 rm -f conftest.err conftest.$ac_ext
7933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7934 echo "${ECHO_T}$ac_header_preproc" >&6
7936 # So? What about this header?
7937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7938 yes:no: )
7939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7943 ac_header_preproc=yes
7945 no:yes:* )
7946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7959 cat <<\_ASBOX
7960 ## ----------------------------------------- ##
7961 ## Report this to the package-unused lists. ##
7962 ## ----------------------------------------- ##
7963 _ASBOX
7965 sed "s/^/$as_me: WARNING: /" >&2
7967 esac
7968 echo "$as_me:$LINENO: checking for $ac_header" >&5
7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 eval "$as_ac_Header=\$ac_header_preproc"
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7982 _ACEOF
7986 done
7990 # All these tests are for C++; save the language and the compiler flags.
7991 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7992 # found in GLIBCXX_CONFIGURE.
7995 ac_ext=cc
7996 ac_cpp='$CXXCPP $CPPFLAGS'
7997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8002 ac_save_CXXFLAGS="$CXXFLAGS"
8004 # Check for maintainer-mode bits.
8005 if test x"$USE_MAINTAINER_MODE" = xno; then
8006 WERROR=''
8007 else
8008 WERROR='-Werror'
8011 # Check for -ffunction-sections -fdata-sections
8012 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8013 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8014 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8015 cat >conftest.$ac_ext <<_ACEOF
8016 /* confdefs.h. */
8017 _ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8023 main ()
8025 int foo;
8027 return 0;
8029 _ACEOF
8030 rm -f conftest.$ac_objext
8031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8032 (eval $ac_compile) 2>conftest.er1
8033 ac_status=$?
8034 grep -v '^ *+' conftest.er1 >conftest.err
8035 rm -f conftest.er1
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -z "$ac_cxx_werror_flag"
8040 || test ! -s conftest.err'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 (eval $ac_try) 2>&5
8043 ac_status=$?
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; } &&
8046 { ac_try='test -s conftest.$ac_objext'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8048 (eval $ac_try) 2>&5
8049 ac_status=$?
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; }; then
8052 ac_fdsections=yes
8053 else
8054 echo "$as_me: failed program was:" >&5
8055 sed 's/^/| /' conftest.$ac_ext >&5
8057 ac_fdsections=no
8059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8060 if test "$ac_test_CXXFLAGS" = set; then
8061 CXXFLAGS="$ac_save_CXXFLAGS"
8062 else
8063 # this is the suspicious part
8064 CXXFLAGS=''
8066 if test x"$ac_fdsections" = x"yes"; then
8067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8069 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8070 echo "${ECHO_T}$ac_fdsections" >&6
8072 ac_ext=c
8073 ac_cpp='$CPP $CPPFLAGS'
8074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082 # If we're not using GNU ld, then there's no point in even trying these
8083 # tests. Check for that first. We should have already tested for gld
8084 # by now (in libtool), but require it now just to be safe...
8085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8090 # The name set by libtool depends on the version of libtool. Shame on us
8091 # for depending on an impl detail, but c'est la vie. Older versions used
8092 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8093 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8094 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8095 # set (hence we're using an older libtool), then set it.
8096 if test x${with_gnu_ld+set} != xset; then
8097 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8098 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8099 with_gnu_ld=no
8100 else
8101 with_gnu_ld=$ac_cv_prog_gnu_ld
8105 # Start by getting the version number. I think the libtool test already
8106 # does some of this, but throws away the result.
8108 ldver=`$LD --version 2>/dev/null | head -1 | \
8109 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8111 glibcxx_gnu_ld_version=`echo $ldver | \
8112 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8114 # Set --gc-sections.
8115 if test "$with_gnu_ld" = "notbroken"; then
8116 # GNU ld it is! Joy and bunny rabbits!
8118 # All these tests are for C++; save the language and the compiler flags.
8119 # Need to do this so that g++ won't try to link in libstdc++
8120 ac_test_CFLAGS="${CFLAGS+set}"
8121 ac_save_CFLAGS="$CFLAGS"
8122 CFLAGS='-x c++ -Wl,--gc-sections'
8124 # Check for -Wl,--gc-sections
8125 # XXX This test is broken at the moment, as symbols required for linking
8126 # are now in libsupc++ (not built yet). In addition, this test has
8127 # cored on solaris in the past. In addition, --gc-sections doesn't
8128 # really work at the moment (keeps on discarding used sections, first
8129 # .eh_frame and now some of the glibc sections for iconv).
8130 # Bzzzzt. Thanks for playing, maybe next time.
8131 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8132 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8133 if test "$cross_compiling" = yes; then
8134 ac_sectionLDflags=yes
8135 else
8136 cat >conftest.$ac_ext <<_ACEOF
8137 /* confdefs.h. */
8138 _ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8143 int main(void)
8145 try { throw 1; }
8146 catch (...) { };
8147 return 0;
8150 _ACEOF
8151 rm -f conftest$ac_exeext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8153 (eval $ac_link) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_sectionLDflags=yes
8163 else
8164 echo "$as_me: program exited with status $ac_status" >&5
8165 echo "$as_me: failed program was:" >&5
8166 sed 's/^/| /' conftest.$ac_ext >&5
8168 ( exit $ac_status )
8169 ac_sectionLDflags=no
8171 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8173 if test "$ac_test_CFLAGS" = set; then
8174 CFLAGS="$ac_save_CFLAGS"
8175 else
8176 # this is the suspicious part
8177 CFLAGS=''
8179 if test "$ac_sectionLDflags" = "yes"; then
8180 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8182 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8183 echo "${ECHO_T}$ac_sectionLDflags" >&6
8186 # Set linker optimization flags.
8187 if test x"$with_gnu_ld" = x"yes"; then
8188 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8196 ac_save_CXXFLAGS="$CXXFLAGS"
8197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8199 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8200 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8201 if test "${ac_cv_lib_m_sin+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 else
8204 ac_check_lib_save_LIBS=$LIBS
8205 LIBS="-lm $LIBS"
8206 if test x$gcc_no_link = xyes; then
8207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8209 { (exit 1); exit 1; }; }
8211 cat >conftest.$ac_ext <<_ACEOF
8212 /* confdefs.h. */
8213 _ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8218 /* Override any gcc2 internal prototype to avoid an error. */
8219 #ifdef __cplusplus
8220 extern "C"
8221 #endif
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8224 char sin ();
8226 main ()
8228 sin ();
8230 return 0;
8232 _ACEOF
8233 rm -f conftest.$ac_objext conftest$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>conftest.er1
8236 ac_status=$?
8237 grep -v '^ *+' conftest.er1 >conftest.err
8238 rm -f conftest.er1
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try='test -s conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_cv_lib_m_sin=yes
8256 else
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8260 ac_cv_lib_m_sin=no
8262 rm -f conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 LIBS=$ac_check_lib_save_LIBS
8266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8267 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8268 if test $ac_cv_lib_m_sin = yes; then
8269 libm="-lm"
8272 ac_save_LIBS="$LIBS"
8273 LIBS="$LIBS $libm"
8277 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8278 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8279 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8280 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8286 ac_ext=cc
8287 ac_cpp='$CXXCPP $CPPFLAGS'
8288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8292 cat >conftest.$ac_ext <<_ACEOF
8293 /* confdefs.h. */
8294 _ACEOF
8295 cat confdefs.h >>conftest.$ac_ext
8296 cat >>conftest.$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8298 #include <math.h>
8299 #ifdef HAVE_IEEEFP_H
8300 #include <ieeefp.h>
8301 #endif
8304 main ()
8306 isinf(0);
8308 return 0;
8310 _ACEOF
8311 rm -f conftest.$ac_objext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8313 (eval $ac_compile) 2>conftest.er1
8314 ac_status=$?
8315 grep -v '^ *+' conftest.er1 >conftest.err
8316 rm -f conftest.er1
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_cxx_werror_flag"
8321 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5
8324 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } &&
8327 { ac_try='test -s conftest.$ac_objext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 glibcxx_cv_func_isinf_use=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 glibcxx_cv_func_isinf_use=no
8340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8341 ac_ext=c
8342 ac_cpp='$CPP $CPPFLAGS'
8343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8352 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8354 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8356 for ac_func in isinf
8358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8359 echo "$as_me:$LINENO: checking for $ac_func" >&5
8360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8361 if eval "test \"\${$as_ac_var+set}\" = set"; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 else
8364 if test x$gcc_no_link = xyes; then
8365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8367 { (exit 1); exit 1; }; }
8369 cat >conftest.$ac_ext <<_ACEOF
8370 /* confdefs.h. */
8371 _ACEOF
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8377 #define $ac_func innocuous_$ac_func
8379 /* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char $ac_func (); below.
8381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8382 <limits.h> exists even on freestanding compilers. */
8384 #ifdef __STDC__
8385 # include <limits.h>
8386 #else
8387 # include <assert.h>
8388 #endif
8390 #undef $ac_func
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 #ifdef __cplusplus
8394 extern "C"
8396 #endif
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char $ac_func ();
8400 /* The GNU C library defines this for functions which it implements
8401 to always fail with ENOSYS. Some functions are actually named
8402 something starting with __ and the normal name is an alias. */
8403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8404 choke me
8405 #else
8406 char (*f) () = $ac_func;
8407 #endif
8408 #ifdef __cplusplus
8410 #endif
8413 main ()
8415 return f != $ac_func;
8417 return 0;
8419 _ACEOF
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>conftest.er1
8423 ac_status=$?
8424 grep -v '^ *+' conftest.er1 >conftest.err
8425 rm -f conftest.er1
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -z "$ac_c_werror_flag"
8430 || test ! -s conftest.err'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 (eval $ac_try) 2>&5
8433 ac_status=$?
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; } &&
8436 { ac_try='test -s conftest$ac_exeext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 (eval $ac_try) 2>&5
8439 ac_status=$?
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 eval "$as_ac_var=yes"
8443 else
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8447 eval "$as_ac_var=no"
8449 rm -f conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8454 if test `eval echo '${'$as_ac_var'}'` = yes; then
8455 cat >>confdefs.h <<_ACEOF
8456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8457 _ACEOF
8460 done
8462 else
8464 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8465 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 else
8473 ac_ext=cc
8474 ac_cpp='$CXXCPP $CPPFLAGS'
8475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8479 cat >conftest.$ac_ext <<_ACEOF
8480 /* confdefs.h. */
8481 _ACEOF
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8485 #include <math.h>
8486 #ifdef HAVE_IEEEFP_H
8487 #include <ieeefp.h>
8488 #endif
8491 main ()
8493 _isinf(0);
8495 return 0;
8497 _ACEOF
8498 rm -f conftest.$ac_objext
8499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8500 (eval $ac_compile) 2>conftest.er1
8501 ac_status=$?
8502 grep -v '^ *+' conftest.er1 >conftest.err
8503 rm -f conftest.er1
8504 cat conftest.err >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } &&
8507 { ac_try='test -z "$ac_cxx_werror_flag"
8508 || test ! -s conftest.err'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; } &&
8514 { ac_try='test -s conftest.$ac_objext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 (eval $ac_try) 2>&5
8517 ac_status=$?
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 glibcxx_cv_func__isinf_use=yes
8521 else
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.$ac_ext >&5
8525 glibcxx_cv_func__isinf_use=no
8527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8528 ac_ext=c
8529 ac_cpp='$CPP $CPPFLAGS'
8530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8539 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8543 for ac_func in _isinf
8545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8546 echo "$as_me:$LINENO: checking for $ac_func" >&5
8547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8548 if eval "test \"\${$as_ac_var+set}\" = set"; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551 if test x$gcc_no_link = xyes; then
8552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8554 { (exit 1); exit 1; }; }
8556 cat >conftest.$ac_ext <<_ACEOF
8557 /* confdefs.h. */
8558 _ACEOF
8559 cat confdefs.h >>conftest.$ac_ext
8560 cat >>conftest.$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8564 #define $ac_func innocuous_$ac_func
8566 /* System header to define __stub macros and hopefully few prototypes,
8567 which can conflict with char $ac_func (); below.
8568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8569 <limits.h> exists even on freestanding compilers. */
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8577 #undef $ac_func
8579 /* Override any gcc2 internal prototype to avoid an error. */
8580 #ifdef __cplusplus
8581 extern "C"
8583 #endif
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8586 char $ac_func ();
8587 /* The GNU C library defines this for functions which it implements
8588 to always fail with ENOSYS. Some functions are actually named
8589 something starting with __ and the normal name is an alias. */
8590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8591 choke me
8592 #else
8593 char (*f) () = $ac_func;
8594 #endif
8595 #ifdef __cplusplus
8597 #endif
8600 main ()
8602 return f != $ac_func;
8604 return 0;
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8610 ac_status=$?
8611 grep -v '^ *+' conftest.er1 >conftest.err
8612 rm -f conftest.er1
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try='test -z "$ac_c_werror_flag"
8617 || test ! -s conftest.err'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 (eval $ac_try) 2>&5
8620 ac_status=$?
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; } &&
8623 { ac_try='test -s conftest$ac_exeext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5
8626 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 eval "$as_ac_var=yes"
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 eval "$as_ac_var=no"
8636 rm -f conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8641 if test `eval echo '${'$as_ac_var'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8644 _ACEOF
8647 done
8654 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8655 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 else
8663 ac_ext=cc
8664 ac_cpp='$CXXCPP $CPPFLAGS'
8665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8669 cat >conftest.$ac_ext <<_ACEOF
8670 /* confdefs.h. */
8671 _ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 #include <math.h>
8676 #ifdef HAVE_IEEEFP_H
8677 #include <ieeefp.h>
8678 #endif
8681 main ()
8683 isnan(0);
8685 return 0;
8687 _ACEOF
8688 rm -f conftest.$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>conftest.er1
8691 ac_status=$?
8692 grep -v '^ *+' conftest.er1 >conftest.err
8693 rm -f conftest.er1
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try='test -z "$ac_cxx_werror_flag"
8698 || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 (eval $ac_try) 2>&5
8701 ac_status=$?
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try='test -s conftest.$ac_objext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 (eval $ac_try) 2>&5
8707 ac_status=$?
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 glibcxx_cv_func_isnan_use=yes
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 glibcxx_cv_func_isnan_use=no
8717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8718 ac_ext=c
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8729 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8731 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8733 for ac_func in isnan
8735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8736 echo "$as_me:$LINENO: checking for $ac_func" >&5
8737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8738 if eval "test \"\${$as_ac_var+set}\" = set"; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8740 else
8741 if test x$gcc_no_link = xyes; then
8742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8744 { (exit 1); exit 1; }; }
8746 cat >conftest.$ac_ext <<_ACEOF
8747 /* confdefs.h. */
8748 _ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8754 #define $ac_func innocuous_$ac_func
8756 /* System header to define __stub macros and hopefully few prototypes,
8757 which can conflict with char $ac_func (); below.
8758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8759 <limits.h> exists even on freestanding compilers. */
8761 #ifdef __STDC__
8762 # include <limits.h>
8763 #else
8764 # include <assert.h>
8765 #endif
8767 #undef $ac_func
8769 /* Override any gcc2 internal prototype to avoid an error. */
8770 #ifdef __cplusplus
8771 extern "C"
8773 #endif
8774 /* We use char because int might match the return type of a gcc2
8775 builtin and then its argument prototype would still apply. */
8776 char $ac_func ();
8777 /* The GNU C library defines this for functions which it implements
8778 to always fail with ENOSYS. Some functions are actually named
8779 something starting with __ and the normal name is an alias. */
8780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8781 choke me
8782 #else
8783 char (*f) () = $ac_func;
8784 #endif
8785 #ifdef __cplusplus
8787 #endif
8790 main ()
8792 return f != $ac_func;
8794 return 0;
8796 _ACEOF
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8799 (eval $ac_link) 2>conftest.er1
8800 ac_status=$?
8801 grep -v '^ *+' conftest.er1 >conftest.err
8802 rm -f conftest.er1
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try='test -z "$ac_c_werror_flag"
8807 || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 (eval $ac_try) 2>&5
8810 ac_status=$?
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 (eval $ac_try) 2>&5
8816 ac_status=$?
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 eval "$as_ac_var=yes"
8820 else
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.$ac_ext >&5
8824 eval "$as_ac_var=no"
8826 rm -f conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8831 if test `eval echo '${'$as_ac_var'}'` = yes; then
8832 cat >>confdefs.h <<_ACEOF
8833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8834 _ACEOF
8837 done
8839 else
8841 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8842 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8843 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8844 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 else
8850 ac_ext=cc
8851 ac_cpp='$CXXCPP $CPPFLAGS'
8852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8856 cat >conftest.$ac_ext <<_ACEOF
8857 /* confdefs.h. */
8858 _ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 #include <math.h>
8863 #ifdef HAVE_IEEEFP_H
8864 #include <ieeefp.h>
8865 #endif
8868 main ()
8870 _isnan(0);
8872 return 0;
8874 _ACEOF
8875 rm -f conftest.$ac_objext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877 (eval $ac_compile) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_cxx_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest.$ac_objext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 glibcxx_cv_func__isnan_use=yes
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 glibcxx_cv_func__isnan_use=no
8904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8905 ac_ext=c
8906 ac_cpp='$CPP $CPPFLAGS'
8907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8916 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8918 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8920 for ac_func in _isnan
8922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8923 echo "$as_me:$LINENO: checking for $ac_func" >&5
8924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8925 if eval "test \"\${$as_ac_var+set}\" = set"; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else
8928 if test x$gcc_no_link = xyes; then
8929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8931 { (exit 1); exit 1; }; }
8933 cat >conftest.$ac_ext <<_ACEOF
8934 /* confdefs.h. */
8935 _ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8941 #define $ac_func innocuous_$ac_func
8943 /* System header to define __stub macros and hopefully few prototypes,
8944 which can conflict with char $ac_func (); below.
8945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8946 <limits.h> exists even on freestanding compilers. */
8948 #ifdef __STDC__
8949 # include <limits.h>
8950 #else
8951 # include <assert.h>
8952 #endif
8954 #undef $ac_func
8956 /* Override any gcc2 internal prototype to avoid an error. */
8957 #ifdef __cplusplus
8958 extern "C"
8960 #endif
8961 /* We use char because int might match the return type of a gcc2
8962 builtin and then its argument prototype would still apply. */
8963 char $ac_func ();
8964 /* The GNU C library defines this for functions which it implements
8965 to always fail with ENOSYS. Some functions are actually named
8966 something starting with __ and the normal name is an alias. */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8968 choke me
8969 #else
8970 char (*f) () = $ac_func;
8971 #endif
8972 #ifdef __cplusplus
8974 #endif
8977 main ()
8979 return f != $ac_func;
8981 return 0;
8983 _ACEOF
8984 rm -f conftest.$ac_objext conftest$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>conftest.er1
8987 ac_status=$?
8988 grep -v '^ *+' conftest.er1 >conftest.err
8989 rm -f conftest.er1
8990 cat conftest.err >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try='test -z "$ac_c_werror_flag"
8994 || test ! -s conftest.err'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 (eval $ac_try) 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; } &&
9000 { ac_try='test -s conftest$ac_exeext'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 (eval $ac_try) 2>&5
9003 ac_status=$?
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 eval "$as_ac_var=yes"
9007 else
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.$ac_ext >&5
9011 eval "$as_ac_var=no"
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9018 if test `eval echo '${'$as_ac_var'}'` = yes; then
9019 cat >>confdefs.h <<_ACEOF
9020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9021 _ACEOF
9024 done
9031 echo "$as_me:$LINENO: checking for finite declaration" >&5
9032 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9033 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9034 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 else
9040 ac_ext=cc
9041 ac_cpp='$CXXCPP $CPPFLAGS'
9042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9046 cat >conftest.$ac_ext <<_ACEOF
9047 /* confdefs.h. */
9048 _ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <math.h>
9053 #ifdef HAVE_IEEEFP_H
9054 #include <ieeefp.h>
9055 #endif
9058 main ()
9060 finite(0);
9062 return 0;
9064 _ACEOF
9065 rm -f conftest.$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9068 ac_status=$?
9069 grep -v '^ *+' conftest.er1 >conftest.err
9070 rm -f conftest.er1
9071 cat conftest.err >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 glibcxx_cv_func_finite_use=yes
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 glibcxx_cv_func_finite_use=no
9094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9095 ac_ext=c
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9106 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9108 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9110 for ac_func in finite
9112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9113 echo "$as_me:$LINENO: checking for $ac_func" >&5
9114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9115 if eval "test \"\${$as_ac_var+set}\" = set"; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 if test x$gcc_no_link = xyes; then
9119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9121 { (exit 1); exit 1; }; }
9123 cat >conftest.$ac_ext <<_ACEOF
9124 /* confdefs.h. */
9125 _ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9131 #define $ac_func innocuous_$ac_func
9133 /* System header to define __stub macros and hopefully few prototypes,
9134 which can conflict with char $ac_func (); below.
9135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9136 <limits.h> exists even on freestanding compilers. */
9138 #ifdef __STDC__
9139 # include <limits.h>
9140 #else
9141 # include <assert.h>
9142 #endif
9144 #undef $ac_func
9146 /* Override any gcc2 internal prototype to avoid an error. */
9147 #ifdef __cplusplus
9148 extern "C"
9150 #endif
9151 /* We use char because int might match the return type of a gcc2
9152 builtin and then its argument prototype would still apply. */
9153 char $ac_func ();
9154 /* The GNU C library defines this for functions which it implements
9155 to always fail with ENOSYS. Some functions are actually named
9156 something starting with __ and the normal name is an alias. */
9157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9158 choke me
9159 #else
9160 char (*f) () = $ac_func;
9161 #endif
9162 #ifdef __cplusplus
9164 #endif
9167 main ()
9169 return f != $ac_func;
9171 return 0;
9173 _ACEOF
9174 rm -f conftest.$ac_objext conftest$ac_exeext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9176 (eval $ac_link) 2>conftest.er1
9177 ac_status=$?
9178 grep -v '^ *+' conftest.er1 >conftest.err
9179 rm -f conftest.er1
9180 cat conftest.err >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } &&
9183 { ac_try='test -z "$ac_c_werror_flag"
9184 || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest$ac_exeext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 (eval $ac_try) 2>&5
9193 ac_status=$?
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 eval "$as_ac_var=yes"
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 eval "$as_ac_var=no"
9203 rm -f conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9208 if test `eval echo '${'$as_ac_var'}'` = yes; then
9209 cat >>confdefs.h <<_ACEOF
9210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9211 _ACEOF
9214 done
9216 else
9218 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9219 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9220 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9221 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 else
9227 ac_ext=cc
9228 ac_cpp='$CXXCPP $CPPFLAGS'
9229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9233 cat >conftest.$ac_ext <<_ACEOF
9234 /* confdefs.h. */
9235 _ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #include <math.h>
9240 #ifdef HAVE_IEEEFP_H
9241 #include <ieeefp.h>
9242 #endif
9245 main ()
9247 _finite(0);
9249 return 0;
9251 _ACEOF
9252 rm -f conftest.$ac_objext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9254 (eval $ac_compile) 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } &&
9261 { ac_try='test -z "$ac_cxx_werror_flag"
9262 || test ! -s conftest.err'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; } &&
9268 { ac_try='test -s conftest.$ac_objext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9274 glibcxx_cv_func__finite_use=yes
9275 else
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9279 glibcxx_cv_func__finite_use=no
9281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9282 ac_ext=c
9283 ac_cpp='$CPP $CPPFLAGS'
9284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9293 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9295 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9297 for ac_func in _finite
9299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9300 echo "$as_me:$LINENO: checking for $ac_func" >&5
9301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9302 if eval "test \"\${$as_ac_var+set}\" = set"; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9305 if test x$gcc_no_link = xyes; then
9306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9308 { (exit 1); exit 1; }; }
9310 cat >conftest.$ac_ext <<_ACEOF
9311 /* confdefs.h. */
9312 _ACEOF
9313 cat confdefs.h >>conftest.$ac_ext
9314 cat >>conftest.$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9318 #define $ac_func innocuous_$ac_func
9320 /* System header to define __stub macros and hopefully few prototypes,
9321 which can conflict with char $ac_func (); below.
9322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9323 <limits.h> exists even on freestanding compilers. */
9325 #ifdef __STDC__
9326 # include <limits.h>
9327 #else
9328 # include <assert.h>
9329 #endif
9331 #undef $ac_func
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 #ifdef __cplusplus
9335 extern "C"
9337 #endif
9338 /* We use char because int might match the return type of a gcc2
9339 builtin and then its argument prototype would still apply. */
9340 char $ac_func ();
9341 /* The GNU C library defines this for functions which it implements
9342 to always fail with ENOSYS. Some functions are actually named
9343 something starting with __ and the normal name is an alias. */
9344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9345 choke me
9346 #else
9347 char (*f) () = $ac_func;
9348 #endif
9349 #ifdef __cplusplus
9351 #endif
9354 main ()
9356 return f != $ac_func;
9358 return 0;
9360 _ACEOF
9361 rm -f conftest.$ac_objext conftest$ac_exeext
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
9370 { ac_try='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 (eval $ac_try) 2>&5
9374 ac_status=$?
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 (eval $ac_try) 2>&5
9380 ac_status=$?
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 eval "$as_ac_var=yes"
9384 else
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.$ac_ext >&5
9388 eval "$as_ac_var=no"
9390 rm -f conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9395 if test `eval echo '${'$as_ac_var'}'` = yes; then
9396 cat >>confdefs.h <<_ACEOF
9397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9398 _ACEOF
9401 done
9408 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9409 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9410 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9411 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 else
9417 ac_ext=cc
9418 ac_cpp='$CXXCPP $CPPFLAGS'
9419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9423 cat >conftest.$ac_ext <<_ACEOF
9424 /* confdefs.h. */
9425 _ACEOF
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9429 #include <math.h>
9431 main ()
9433 copysign(0, 0);
9435 return 0;
9437 _ACEOF
9438 rm -f conftest.$ac_objext
9439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9440 (eval $ac_compile) 2>conftest.er1
9441 ac_status=$?
9442 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
9447 { ac_try='test -z "$ac_cxx_werror_flag"
9448 || test ! -s conftest.err'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 (eval $ac_try) 2>&5
9451 ac_status=$?
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; } &&
9454 { ac_try='test -s conftest.$ac_objext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 (eval $ac_try) 2>&5
9457 ac_status=$?
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 glibcxx_cv_func_copysign_use=yes
9461 else
9462 echo "$as_me: failed program was:" >&5
9463 sed 's/^/| /' conftest.$ac_ext >&5
9465 glibcxx_cv_func_copysign_use=no
9467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9468 ac_ext=c
9469 ac_cpp='$CPP $CPPFLAGS'
9470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9479 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9481 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9483 for ac_func in copysign
9485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9486 echo "$as_me:$LINENO: checking for $ac_func" >&5
9487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_var+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 else
9491 if test x$gcc_no_link = xyes; then
9492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9494 { (exit 1); exit 1; }; }
9496 cat >conftest.$ac_ext <<_ACEOF
9497 /* confdefs.h. */
9498 _ACEOF
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9504 #define $ac_func innocuous_$ac_func
9506 /* System header to define __stub macros and hopefully few prototypes,
9507 which can conflict with char $ac_func (); below.
9508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9509 <limits.h> exists even on freestanding compilers. */
9511 #ifdef __STDC__
9512 # include <limits.h>
9513 #else
9514 # include <assert.h>
9515 #endif
9517 #undef $ac_func
9519 /* Override any gcc2 internal prototype to avoid an error. */
9520 #ifdef __cplusplus
9521 extern "C"
9523 #endif
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9526 char $ac_func ();
9527 /* The GNU C library defines this for functions which it implements
9528 to always fail with ENOSYS. Some functions are actually named
9529 something starting with __ and the normal name is an alias. */
9530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9531 choke me
9532 #else
9533 char (*f) () = $ac_func;
9534 #endif
9535 #ifdef __cplusplus
9537 #endif
9540 main ()
9542 return f != $ac_func;
9544 return 0;
9546 _ACEOF
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9549 (eval $ac_link) 2>conftest.er1
9550 ac_status=$?
9551 grep -v '^ *+' conftest.er1 >conftest.err
9552 rm -f conftest.er1
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try='test -z "$ac_c_werror_flag"
9557 || test ! -s conftest.err'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5
9560 ac_status=$?
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; } &&
9563 { ac_try='test -s conftest$ac_exeext'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565 (eval $ac_try) 2>&5
9566 ac_status=$?
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 eval "$as_ac_var=yes"
9570 else
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.$ac_ext >&5
9574 eval "$as_ac_var=no"
9576 rm -f conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9581 if test `eval echo '${'$as_ac_var'}'` = yes; then
9582 cat >>confdefs.h <<_ACEOF
9583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9584 _ACEOF
9587 done
9589 else
9591 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9592 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9593 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9594 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else
9600 ac_ext=cc
9601 ac_cpp='$CXXCPP $CPPFLAGS'
9602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9606 cat >conftest.$ac_ext <<_ACEOF
9607 /* confdefs.h. */
9608 _ACEOF
9609 cat confdefs.h >>conftest.$ac_ext
9610 cat >>conftest.$ac_ext <<_ACEOF
9611 /* end confdefs.h. */
9612 #include <math.h>
9614 main ()
9616 _copysign(0, 0);
9618 return 0;
9620 _ACEOF
9621 rm -f conftest.$ac_objext
9622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9623 (eval $ac_compile) 2>conftest.er1
9624 ac_status=$?
9625 grep -v '^ *+' conftest.er1 >conftest.err
9626 rm -f conftest.er1
9627 cat conftest.err >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } &&
9630 { ac_try='test -z "$ac_cxx_werror_flag"
9631 || test ! -s conftest.err'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 (eval $ac_try) 2>&5
9634 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } &&
9637 { ac_try='test -s conftest.$ac_objext'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 (eval $ac_try) 2>&5
9640 ac_status=$?
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; }; then
9643 glibcxx_cv_func__copysign_use=yes
9644 else
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9648 glibcxx_cv_func__copysign_use=no
9650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9651 ac_ext=c
9652 ac_cpp='$CPP $CPPFLAGS'
9653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9662 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9664 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9666 for ac_func in _copysign
9668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9669 echo "$as_me:$LINENO: checking for $ac_func" >&5
9670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9671 if eval "test \"\${$as_ac_var+set}\" = set"; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 else
9674 if test x$gcc_no_link = xyes; then
9675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9677 { (exit 1); exit 1; }; }
9679 cat >conftest.$ac_ext <<_ACEOF
9680 /* confdefs.h. */
9681 _ACEOF
9682 cat confdefs.h >>conftest.$ac_ext
9683 cat >>conftest.$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9687 #define $ac_func innocuous_$ac_func
9689 /* System header to define __stub macros and hopefully few prototypes,
9690 which can conflict with char $ac_func (); below.
9691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9692 <limits.h> exists even on freestanding compilers. */
9694 #ifdef __STDC__
9695 # include <limits.h>
9696 #else
9697 # include <assert.h>
9698 #endif
9700 #undef $ac_func
9702 /* Override any gcc2 internal prototype to avoid an error. */
9703 #ifdef __cplusplus
9704 extern "C"
9706 #endif
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9709 char $ac_func ();
9710 /* The GNU C library defines this for functions which it implements
9711 to always fail with ENOSYS. Some functions are actually named
9712 something starting with __ and the normal name is an alias. */
9713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9714 choke me
9715 #else
9716 char (*f) () = $ac_func;
9717 #endif
9718 #ifdef __cplusplus
9720 #endif
9723 main ()
9725 return f != $ac_func;
9727 return 0;
9729 _ACEOF
9730 rm -f conftest.$ac_objext conftest$ac_exeext
9731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 (eval $ac_link) 2>conftest.er1
9733 ac_status=$?
9734 grep -v '^ *+' conftest.er1 >conftest.err
9735 rm -f conftest.er1
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -z "$ac_c_werror_flag"
9740 || test ! -s conftest.err'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 (eval $ac_try) 2>&5
9743 ac_status=$?
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; } &&
9746 { ac_try='test -s conftest$ac_exeext'
9747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 (eval $ac_try) 2>&5
9749 ac_status=$?
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; }; then
9752 eval "$as_ac_var=yes"
9753 else
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9757 eval "$as_ac_var=no"
9759 rm -f conftest.err conftest.$ac_objext \
9760 conftest$ac_exeext conftest.$ac_ext
9762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9764 if test `eval echo '${'$as_ac_var'}'` = yes; then
9765 cat >>confdefs.h <<_ACEOF
9766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9767 _ACEOF
9770 done
9777 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9778 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9779 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9780 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9786 ac_ext=cc
9787 ac_cpp='$CXXCPP $CPPFLAGS'
9788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9792 cat >conftest.$ac_ext <<_ACEOF
9793 /* confdefs.h. */
9794 _ACEOF
9795 cat confdefs.h >>conftest.$ac_ext
9796 cat >>conftest.$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 #include <math.h>
9800 main ()
9802 sincos(0, 0, 0);
9804 return 0;
9806 _ACEOF
9807 rm -f conftest.$ac_objext
9808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9809 (eval $ac_compile) 2>conftest.er1
9810 ac_status=$?
9811 grep -v '^ *+' conftest.er1 >conftest.err
9812 rm -f conftest.er1
9813 cat conftest.err >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try='test -z "$ac_cxx_werror_flag"
9817 || test ! -s conftest.err'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 (eval $ac_try) 2>&5
9820 ac_status=$?
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try='test -s conftest.$ac_objext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9825 (eval $ac_try) 2>&5
9826 ac_status=$?
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 glibcxx_cv_func_sincos_use=yes
9830 else
9831 echo "$as_me: failed program was:" >&5
9832 sed 's/^/| /' conftest.$ac_ext >&5
9834 glibcxx_cv_func_sincos_use=no
9836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9837 ac_ext=c
9838 ac_cpp='$CPP $CPPFLAGS'
9839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9848 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9850 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9852 for ac_func in sincos
9854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9855 echo "$as_me:$LINENO: checking for $ac_func" >&5
9856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9857 if eval "test \"\${$as_ac_var+set}\" = set"; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9859 else
9860 if test x$gcc_no_link = xyes; then
9861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9863 { (exit 1); exit 1; }; }
9865 cat >conftest.$ac_ext <<_ACEOF
9866 /* confdefs.h. */
9867 _ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9873 #define $ac_func innocuous_$ac_func
9875 /* System header to define __stub macros and hopefully few prototypes,
9876 which can conflict with char $ac_func (); below.
9877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9878 <limits.h> exists even on freestanding compilers. */
9880 #ifdef __STDC__
9881 # include <limits.h>
9882 #else
9883 # include <assert.h>
9884 #endif
9886 #undef $ac_func
9888 /* Override any gcc2 internal prototype to avoid an error. */
9889 #ifdef __cplusplus
9890 extern "C"
9892 #endif
9893 /* We use char because int might match the return type of a gcc2
9894 builtin and then its argument prototype would still apply. */
9895 char $ac_func ();
9896 /* The GNU C library defines this for functions which it implements
9897 to always fail with ENOSYS. Some functions are actually named
9898 something starting with __ and the normal name is an alias. */
9899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9900 choke me
9901 #else
9902 char (*f) () = $ac_func;
9903 #endif
9904 #ifdef __cplusplus
9906 #endif
9909 main ()
9911 return f != $ac_func;
9913 return 0;
9915 _ACEOF
9916 rm -f conftest.$ac_objext conftest$ac_exeext
9917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9918 (eval $ac_link) 2>conftest.er1
9919 ac_status=$?
9920 grep -v '^ *+' conftest.er1 >conftest.err
9921 rm -f conftest.er1
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } &&
9925 { ac_try='test -z "$ac_c_werror_flag"
9926 || test ! -s conftest.err'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9928 (eval $ac_try) 2>&5
9929 ac_status=$?
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; } &&
9932 { ac_try='test -s conftest$ac_exeext'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 (eval $ac_try) 2>&5
9935 ac_status=$?
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9938 eval "$as_ac_var=yes"
9939 else
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9943 eval "$as_ac_var=no"
9945 rm -f conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9950 if test `eval echo '${'$as_ac_var'}'` = yes; then
9951 cat >>confdefs.h <<_ACEOF
9952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9953 _ACEOF
9956 done
9958 else
9960 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9961 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9962 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9963 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9969 ac_ext=cc
9970 ac_cpp='$CXXCPP $CPPFLAGS'
9971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9975 cat >conftest.$ac_ext <<_ACEOF
9976 /* confdefs.h. */
9977 _ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9981 #include <math.h>
9983 main ()
9985 _sincos(0, 0, 0);
9987 return 0;
9989 _ACEOF
9990 rm -f conftest.$ac_objext
9991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9992 (eval $ac_compile) 2>conftest.er1
9993 ac_status=$?
9994 grep -v '^ *+' conftest.er1 >conftest.err
9995 rm -f conftest.er1
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } &&
9999 { ac_try='test -z "$ac_cxx_werror_flag"
10000 || test ! -s conftest.err'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10003 ac_status=$?
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; } &&
10006 { ac_try='test -s conftest.$ac_objext'
10007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10008 (eval $ac_try) 2>&5
10009 ac_status=$?
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); }; }; then
10012 glibcxx_cv_func__sincos_use=yes
10013 else
10014 echo "$as_me: failed program was:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10017 glibcxx_cv_func__sincos_use=no
10019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10020 ac_ext=c
10021 ac_cpp='$CPP $CPPFLAGS'
10022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10031 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10033 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10035 for ac_func in _sincos
10037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10038 echo "$as_me:$LINENO: checking for $ac_func" >&5
10039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10040 if eval "test \"\${$as_ac_var+set}\" = set"; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 else
10043 if test x$gcc_no_link = xyes; then
10044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10046 { (exit 1); exit 1; }; }
10048 cat >conftest.$ac_ext <<_ACEOF
10049 /* confdefs.h. */
10050 _ACEOF
10051 cat confdefs.h >>conftest.$ac_ext
10052 cat >>conftest.$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10056 #define $ac_func innocuous_$ac_func
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func (); below.
10060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10061 <limits.h> exists even on freestanding compilers. */
10063 #ifdef __STDC__
10064 # include <limits.h>
10065 #else
10066 # include <assert.h>
10067 #endif
10069 #undef $ac_func
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 #ifdef __cplusplus
10073 extern "C"
10075 #endif
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10078 char $ac_func ();
10079 /* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10083 choke me
10084 #else
10085 char (*f) () = $ac_func;
10086 #endif
10087 #ifdef __cplusplus
10089 #endif
10092 main ()
10094 return f != $ac_func;
10096 return 0;
10098 _ACEOF
10099 rm -f conftest.$ac_objext conftest$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10102 ac_status=$?
10103 grep -v '^ *+' conftest.er1 >conftest.err
10104 rm -f conftest.er1
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try='test -z "$ac_c_werror_flag"
10109 || test ! -s conftest.err'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; } &&
10115 { ac_try='test -s conftest$ac_exeext'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10118 ac_status=$?
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; }; then
10121 eval "$as_ac_var=yes"
10122 else
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 eval "$as_ac_var=no"
10128 rm -f conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10133 if test `eval echo '${'$as_ac_var'}'` = yes; then
10134 cat >>confdefs.h <<_ACEOF
10135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10136 _ACEOF
10139 done
10146 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10147 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10148 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10149 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 else
10155 ac_ext=cc
10156 ac_cpp='$CXXCPP $CPPFLAGS'
10157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10161 cat >conftest.$ac_ext <<_ACEOF
10162 /* confdefs.h. */
10163 _ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 #include <math.h>
10168 #ifdef HAVE_IEEEFP_H
10169 #include <ieeefp.h>
10170 #endif
10173 main ()
10175 fpclass(0);
10177 return 0;
10179 _ACEOF
10180 rm -f conftest.$ac_objext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10182 (eval $ac_compile) 2>conftest.er1
10183 ac_status=$?
10184 grep -v '^ *+' conftest.er1 >conftest.err
10185 rm -f conftest.er1
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_cxx_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10193 ac_status=$?
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest.$ac_objext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 glibcxx_cv_func_fpclass_use=yes
10203 else
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 glibcxx_cv_func_fpclass_use=no
10209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10210 ac_ext=c
10211 ac_cpp='$CPP $CPPFLAGS'
10212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10221 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10223 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10225 for ac_func in fpclass
10227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10228 echo "$as_me:$LINENO: checking for $ac_func" >&5
10229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10230 if eval "test \"\${$as_ac_var+set}\" = set"; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 else
10233 if test x$gcc_no_link = xyes; then
10234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10236 { (exit 1); exit 1; }; }
10238 cat >conftest.$ac_ext <<_ACEOF
10239 /* confdefs.h. */
10240 _ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10246 #define $ac_func innocuous_$ac_func
10248 /* System header to define __stub macros and hopefully few prototypes,
10249 which can conflict with char $ac_func (); below.
10250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10251 <limits.h> exists even on freestanding compilers. */
10253 #ifdef __STDC__
10254 # include <limits.h>
10255 #else
10256 # include <assert.h>
10257 #endif
10259 #undef $ac_func
10261 /* Override any gcc2 internal prototype to avoid an error. */
10262 #ifdef __cplusplus
10263 extern "C"
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267 builtin and then its argument prototype would still apply. */
10268 char $ac_func ();
10269 /* The GNU C library defines this for functions which it implements
10270 to always fail with ENOSYS. Some functions are actually named
10271 something starting with __ and the normal name is an alias. */
10272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10273 choke me
10274 #else
10275 char (*f) () = $ac_func;
10276 #endif
10277 #ifdef __cplusplus
10279 #endif
10282 main ()
10284 return f != $ac_func;
10286 return 0;
10288 _ACEOF
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291 (eval $ac_link) 2>conftest.er1
10292 ac_status=$?
10293 grep -v '^ *+' conftest.er1 >conftest.err
10294 rm -f conftest.er1
10295 cat conftest.err >&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try='test -z "$ac_c_werror_flag"
10299 || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10302 ac_status=$?
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try='test -s conftest$ac_exeext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 eval "$as_ac_var=yes"
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10316 eval "$as_ac_var=no"
10318 rm -f conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10323 if test `eval echo '${'$as_ac_var'}'` = yes; then
10324 cat >>confdefs.h <<_ACEOF
10325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10326 _ACEOF
10329 done
10331 else
10333 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10334 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10335 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10336 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else
10342 ac_ext=cc
10343 ac_cpp='$CXXCPP $CPPFLAGS'
10344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <math.h>
10355 #ifdef HAVE_IEEEFP_H
10356 #include <ieeefp.h>
10357 #endif
10360 main ()
10362 _fpclass(0);
10364 return 0;
10366 _ACEOF
10367 rm -f conftest.$ac_objext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10369 (eval $ac_compile) 2>conftest.er1
10370 ac_status=$?
10371 grep -v '^ *+' conftest.er1 >conftest.err
10372 rm -f conftest.er1
10373 cat conftest.err >&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try='test -z "$ac_cxx_werror_flag"
10377 || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try='test -s conftest.$ac_objext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 glibcxx_cv_func__fpclass_use=yes
10390 else
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.$ac_ext >&5
10394 glibcxx_cv_func__fpclass_use=no
10396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10397 ac_ext=c
10398 ac_cpp='$CPP $CPPFLAGS'
10399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10408 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10412 for ac_func in _fpclass
10414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10415 echo "$as_me:$LINENO: checking for $ac_func" >&5
10416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10417 if eval "test \"\${$as_ac_var+set}\" = set"; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 else
10420 if test x$gcc_no_link = xyes; then
10421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10423 { (exit 1); exit 1; }; }
10425 cat >conftest.$ac_ext <<_ACEOF
10426 /* confdefs.h. */
10427 _ACEOF
10428 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10433 #define $ac_func innocuous_$ac_func
10435 /* System header to define __stub macros and hopefully few prototypes,
10436 which can conflict with char $ac_func (); below.
10437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10438 <limits.h> exists even on freestanding compilers. */
10440 #ifdef __STDC__
10441 # include <limits.h>
10442 #else
10443 # include <assert.h>
10444 #endif
10446 #undef $ac_func
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 #ifdef __cplusplus
10450 extern "C"
10452 #endif
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char $ac_func ();
10456 /* The GNU C library defines this for functions which it implements
10457 to always fail with ENOSYS. Some functions are actually named
10458 something starting with __ and the normal name is an alias. */
10459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10460 choke me
10461 #else
10462 char (*f) () = $ac_func;
10463 #endif
10464 #ifdef __cplusplus
10466 #endif
10469 main ()
10471 return f != $ac_func;
10473 return 0;
10475 _ACEOF
10476 rm -f conftest.$ac_objext conftest$ac_exeext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10478 (eval $ac_link) 2>conftest.er1
10479 ac_status=$?
10480 grep -v '^ *+' conftest.er1 >conftest.err
10481 rm -f conftest.er1
10482 cat conftest.err >&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); } &&
10485 { ac_try='test -z "$ac_c_werror_flag"
10486 || test ! -s conftest.err'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10489 ac_status=$?
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; } &&
10492 { ac_try='test -s conftest$ac_exeext'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10495 ac_status=$?
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 eval "$as_ac_var=yes"
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10503 eval "$as_ac_var=no"
10505 rm -f conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10510 if test `eval echo '${'$as_ac_var'}'` = yes; then
10511 cat >>confdefs.h <<_ACEOF
10512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10513 _ACEOF
10516 done
10523 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10524 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10525 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10526 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 else
10532 ac_ext=cc
10533 ac_cpp='$CXXCPP $CPPFLAGS'
10534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10538 cat >conftest.$ac_ext <<_ACEOF
10539 /* confdefs.h. */
10540 _ACEOF
10541 cat confdefs.h >>conftest.$ac_ext
10542 cat >>conftest.$ac_ext <<_ACEOF
10543 /* end confdefs.h. */
10544 #include <math.h>
10545 #ifdef HAVE_IEEEFP_H
10546 #include <ieeefp.h>
10547 #endif
10550 main ()
10552 qfpclass(0);
10554 return 0;
10556 _ACEOF
10557 rm -f conftest.$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try='test -z "$ac_cxx_werror_flag"
10567 || test ! -s conftest.err'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10570 ac_status=$?
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; } &&
10573 { ac_try='test -s conftest.$ac_objext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10579 glibcxx_cv_func_qfpclass_use=yes
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10584 glibcxx_cv_func_qfpclass_use=no
10586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10587 ac_ext=c
10588 ac_cpp='$CPP $CPPFLAGS'
10589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10598 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10600 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10602 for ac_func in qfpclass
10604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10605 echo "$as_me:$LINENO: checking for $ac_func" >&5
10606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10607 if eval "test \"\${$as_ac_var+set}\" = set"; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else
10610 if test x$gcc_no_link = xyes; then
10611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10613 { (exit 1); exit 1; }; }
10615 cat >conftest.$ac_ext <<_ACEOF
10616 /* confdefs.h. */
10617 _ACEOF
10618 cat confdefs.h >>conftest.$ac_ext
10619 cat >>conftest.$ac_ext <<_ACEOF
10620 /* end confdefs.h. */
10621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10623 #define $ac_func innocuous_$ac_func
10625 /* System header to define __stub macros and hopefully few prototypes,
10626 which can conflict with char $ac_func (); below.
10627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10628 <limits.h> exists even on freestanding compilers. */
10630 #ifdef __STDC__
10631 # include <limits.h>
10632 #else
10633 # include <assert.h>
10634 #endif
10636 #undef $ac_func
10638 /* Override any gcc2 internal prototype to avoid an error. */
10639 #ifdef __cplusplus
10640 extern "C"
10642 #endif
10643 /* We use char because int might match the return type of a gcc2
10644 builtin and then its argument prototype would still apply. */
10645 char $ac_func ();
10646 /* The GNU C library defines this for functions which it implements
10647 to always fail with ENOSYS. Some functions are actually named
10648 something starting with __ and the normal name is an alias. */
10649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10650 choke me
10651 #else
10652 char (*f) () = $ac_func;
10653 #endif
10654 #ifdef __cplusplus
10656 #endif
10659 main ()
10661 return f != $ac_func;
10663 return 0;
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 eval "$as_ac_var=yes"
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 eval "$as_ac_var=no"
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10700 if test `eval echo '${'$as_ac_var'}'` = yes; then
10701 cat >>confdefs.h <<_ACEOF
10702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10703 _ACEOF
10706 done
10708 else
10710 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10711 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10713 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10719 ac_ext=cc
10720 ac_cpp='$CXXCPP $CPPFLAGS'
10721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #include <math.h>
10732 #ifdef HAVE_IEEEFP_H
10733 #include <ieeefp.h>
10734 #endif
10737 main ()
10739 _qfpclass(0);
10741 return 0;
10743 _ACEOF
10744 rm -f conftest.$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746 (eval $ac_compile) 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -z "$ac_cxx_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 glibcxx_cv_func__qfpclass_use=yes
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 glibcxx_cv_func__qfpclass_use=no
10773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10774 ac_ext=c
10775 ac_cpp='$CPP $CPPFLAGS'
10776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10785 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10787 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10789 for ac_func in _qfpclass
10791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10792 echo "$as_me:$LINENO: checking for $ac_func" >&5
10793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10794 if eval "test \"\${$as_ac_var+set}\" = set"; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 else
10797 if test x$gcc_no_link = xyes; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10802 cat >conftest.$ac_ext <<_ACEOF
10803 /* confdefs.h. */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10810 #define $ac_func innocuous_$ac_func
10812 /* System header to define __stub macros and hopefully few prototypes,
10813 which can conflict with char $ac_func (); below.
10814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10815 <limits.h> exists even on freestanding compilers. */
10817 #ifdef __STDC__
10818 # include <limits.h>
10819 #else
10820 # include <assert.h>
10821 #endif
10823 #undef $ac_func
10825 /* Override any gcc2 internal prototype to avoid an error. */
10826 #ifdef __cplusplus
10827 extern "C"
10829 #endif
10830 /* We use char because int might match the return type of a gcc2
10831 builtin and then its argument prototype would still apply. */
10832 char $ac_func ();
10833 /* The GNU C library defines this for functions which it implements
10834 to always fail with ENOSYS. Some functions are actually named
10835 something starting with __ and the normal name is an alias. */
10836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10837 choke me
10838 #else
10839 char (*f) () = $ac_func;
10840 #endif
10841 #ifdef __cplusplus
10843 #endif
10846 main ()
10848 return f != $ac_func;
10850 return 0;
10852 _ACEOF
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10856 ac_status=$?
10857 grep -v '^ *+' conftest.er1 >conftest.err
10858 rm -f conftest.er1
10859 cat conftest.err >&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -z "$ac_c_werror_flag"
10863 || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10866 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try='test -s conftest$ac_exeext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10872 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 eval "$as_ac_var=yes"
10876 else
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.$ac_ext >&5
10880 eval "$as_ac_var=no"
10882 rm -f conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10887 if test `eval echo '${'$as_ac_var'}'` = yes; then
10888 cat >>confdefs.h <<_ACEOF
10889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10890 _ACEOF
10893 done
10900 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10901 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 else
10909 ac_ext=cc
10910 ac_cpp='$CXXCPP $CPPFLAGS'
10911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10915 cat >conftest.$ac_ext <<_ACEOF
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <math.h>
10923 main ()
10925 hypot(0, 0);
10927 return 0;
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_cxx_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 glibcxx_cv_func_hypot_use=yes
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10957 glibcxx_cv_func_hypot_use=no
10959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10960 ac_ext=c
10961 ac_cpp='$CPP $CPPFLAGS'
10962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10971 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10973 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10975 for ac_func in hypot
10977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10978 echo "$as_me:$LINENO: checking for $ac_func" >&5
10979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10980 if eval "test \"\${$as_ac_var+set}\" = set"; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 if test x$gcc_no_link = xyes; then
10984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10986 { (exit 1); exit 1; }; }
10988 cat >conftest.$ac_ext <<_ACEOF
10989 /* confdefs.h. */
10990 _ACEOF
10991 cat confdefs.h >>conftest.$ac_ext
10992 cat >>conftest.$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10996 #define $ac_func innocuous_$ac_func
10998 /* System header to define __stub macros and hopefully few prototypes,
10999 which can conflict with char $ac_func (); below.
11000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11001 <limits.h> exists even on freestanding compilers. */
11003 #ifdef __STDC__
11004 # include <limits.h>
11005 #else
11006 # include <assert.h>
11007 #endif
11009 #undef $ac_func
11011 /* Override any gcc2 internal prototype to avoid an error. */
11012 #ifdef __cplusplus
11013 extern "C"
11015 #endif
11016 /* We use char because int might match the return type of a gcc2
11017 builtin and then its argument prototype would still apply. */
11018 char $ac_func ();
11019 /* The GNU C library defines this for functions which it implements
11020 to always fail with ENOSYS. Some functions are actually named
11021 something starting with __ and the normal name is an alias. */
11022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11023 choke me
11024 #else
11025 char (*f) () = $ac_func;
11026 #endif
11027 #ifdef __cplusplus
11029 #endif
11032 main ()
11034 return f != $ac_func;
11036 return 0;
11038 _ACEOF
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 (eval $ac_link) 2>conftest.er1
11042 ac_status=$?
11043 grep -v '^ *+' conftest.er1 >conftest.err
11044 rm -f conftest.er1
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -z "$ac_c_werror_flag"
11049 || test ! -s conftest.err'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11052 ac_status=$?
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; } &&
11055 { ac_try='test -s conftest$ac_exeext'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11058 ac_status=$?
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; }; then
11061 eval "$as_ac_var=yes"
11062 else
11063 echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.$ac_ext >&5
11066 eval "$as_ac_var=no"
11068 rm -f conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11073 if test `eval echo '${'$as_ac_var'}'` = yes; then
11074 cat >>confdefs.h <<_ACEOF
11075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11076 _ACEOF
11079 done
11081 else
11083 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11084 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 else
11092 ac_ext=cc
11093 ac_cpp='$CXXCPP $CPPFLAGS'
11094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11098 cat >conftest.$ac_ext <<_ACEOF
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 #include <math.h>
11106 main ()
11108 _hypot(0, 0);
11110 return 0;
11112 _ACEOF
11113 rm -f conftest.$ac_objext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115 (eval $ac_compile) 2>conftest.er1
11116 ac_status=$?
11117 grep -v '^ *+' conftest.er1 >conftest.err
11118 rm -f conftest.er1
11119 cat conftest.err >&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } &&
11122 { ac_try='test -z "$ac_cxx_werror_flag"
11123 || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try='test -s conftest.$ac_objext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 glibcxx_cv_func__hypot_use=yes
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11140 glibcxx_cv_func__hypot_use=no
11142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11143 ac_ext=c
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11154 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11158 for ac_func in _hypot
11160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11161 echo "$as_me:$LINENO: checking for $ac_func" >&5
11162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11163 if eval "test \"\${$as_ac_var+set}\" = set"; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 else
11166 if test x$gcc_no_link = xyes; then
11167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11169 { (exit 1); exit 1; }; }
11171 cat >conftest.$ac_ext <<_ACEOF
11172 /* confdefs.h. */
11173 _ACEOF
11174 cat confdefs.h >>conftest.$ac_ext
11175 cat >>conftest.$ac_ext <<_ACEOF
11176 /* end confdefs.h. */
11177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11179 #define $ac_func innocuous_$ac_func
11181 /* System header to define __stub macros and hopefully few prototypes,
11182 which can conflict with char $ac_func (); below.
11183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11184 <limits.h> exists even on freestanding compilers. */
11186 #ifdef __STDC__
11187 # include <limits.h>
11188 #else
11189 # include <assert.h>
11190 #endif
11192 #undef $ac_func
11194 /* Override any gcc2 internal prototype to avoid an error. */
11195 #ifdef __cplusplus
11196 extern "C"
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11201 char $ac_func ();
11202 /* The GNU C library defines this for functions which it implements
11203 to always fail with ENOSYS. Some functions are actually named
11204 something starting with __ and the normal name is an alias. */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 choke me
11207 #else
11208 char (*f) () = $ac_func;
11209 #endif
11210 #ifdef __cplusplus
11212 #endif
11215 main ()
11217 return f != $ac_func;
11219 return 0;
11221 _ACEOF
11222 rm -f conftest.$ac_objext conftest$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>conftest.er1
11225 ac_status=$?
11226 grep -v '^ *+' conftest.er1 >conftest.err
11227 rm -f conftest.er1
11228 cat conftest.err >&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11235 ac_status=$?
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try='test -s conftest$ac_exeext'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11241 ac_status=$?
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; }; then
11244 eval "$as_ac_var=yes"
11245 else
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.$ac_ext >&5
11249 eval "$as_ac_var=no"
11251 rm -f conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11256 if test `eval echo '${'$as_ac_var'}'` = yes; then
11257 cat >>confdefs.h <<_ACEOF
11258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11259 _ACEOF
11262 done
11269 echo "$as_me:$LINENO: checking for float trig functions" >&5
11270 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11271 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11277 ac_ext=cc
11278 ac_cpp='$CXXCPP $CPPFLAGS'
11279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11283 cat >conftest.$ac_ext <<_ACEOF
11284 /* confdefs.h. */
11285 _ACEOF
11286 cat confdefs.h >>conftest.$ac_ext
11287 cat >>conftest.$ac_ext <<_ACEOF
11288 /* end confdefs.h. */
11289 #include <math.h>
11291 main ()
11293 `for x in acosf asinf atanf \
11294 cosf sinf tanf \
11295 coshf sinhf tanhf; do echo "$x (0);"; done`
11297 return 0;
11299 _ACEOF
11300 rm -f conftest.$ac_objext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302 (eval $ac_compile) 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try='test -z "$ac_cxx_werror_flag"
11310 || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try='test -s conftest.$ac_objext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 glibcxx_cv_func_float_trig_use=yes
11323 else
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11327 glibcxx_cv_func_float_trig_use=no
11329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11330 ac_ext=c
11331 ac_cpp='$CPP $CPPFLAGS'
11332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11339 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11350 for ac_func in acosf asinf atanf \
11351 cosf sinf tanf \
11352 coshf sinhf tanhf
11354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11355 echo "$as_me:$LINENO: checking for $ac_func" >&5
11356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11357 if eval "test \"\${$as_ac_var+set}\" = set"; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 else
11360 if test x$gcc_no_link = xyes; then
11361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11363 { (exit 1); exit 1; }; }
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11373 #define $ac_func innocuous_$ac_func
11375 /* System header to define __stub macros and hopefully few prototypes,
11376 which can conflict with char $ac_func (); below.
11377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11378 <limits.h> exists even on freestanding compilers. */
11380 #ifdef __STDC__
11381 # include <limits.h>
11382 #else
11383 # include <assert.h>
11384 #endif
11386 #undef $ac_func
11388 /* Override any gcc2 internal prototype to avoid an error. */
11389 #ifdef __cplusplus
11390 extern "C"
11392 #endif
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11395 char $ac_func ();
11396 /* The GNU C library defines this for functions which it implements
11397 to always fail with ENOSYS. Some functions are actually named
11398 something starting with __ and the normal name is an alias. */
11399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11400 choke me
11401 #else
11402 char (*f) () = $ac_func;
11403 #endif
11404 #ifdef __cplusplus
11406 #endif
11409 main ()
11411 return f != $ac_func;
11413 return 0;
11415 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418 (eval $ac_link) 2>conftest.er1
11419 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 { ac_try='test -z "$ac_c_werror_flag"
11426 || test ! -s conftest.err'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11429 ac_status=$?
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; } &&
11432 { ac_try='test -s conftest$ac_exeext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 eval "$as_ac_var=yes"
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11443 eval "$as_ac_var=no"
11445 rm -f conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11450 if test `eval echo '${'$as_ac_var'}'` = yes; then
11451 cat >>confdefs.h <<_ACEOF
11452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11453 _ACEOF
11456 done
11461 echo "$as_me:$LINENO: checking for float round functions" >&5
11462 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11463 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11465 else
11469 ac_ext=cc
11470 ac_cpp='$CXXCPP $CPPFLAGS'
11471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <math.h>
11483 main ()
11485 `for x in ceilf floorf; do echo "$x (0);"; done`
11487 return 0;
11489 _ACEOF
11490 rm -f conftest.$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11493 ac_status=$?
11494 grep -v '^ *+' conftest.er1 >conftest.err
11495 rm -f conftest.er1
11496 cat conftest.err >&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try='test -z "$ac_cxx_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11509 ac_status=$?
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 glibcxx_cv_func_float_round_use=yes
11513 else
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.$ac_ext >&5
11517 glibcxx_cv_func_float_round_use=no
11519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11520 ac_ext=c
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11529 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11533 for ac_func in ceilf floorf
11535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11536 echo "$as_me:$LINENO: checking for $ac_func" >&5
11537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11538 if eval "test \"\${$as_ac_var+set}\" = set"; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 if test x$gcc_no_link = xyes; then
11542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11544 { (exit 1); exit 1; }; }
11546 cat >conftest.$ac_ext <<_ACEOF
11547 /* confdefs.h. */
11548 _ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11554 #define $ac_func innocuous_$ac_func
11556 /* System header to define __stub macros and hopefully few prototypes,
11557 which can conflict with char $ac_func (); below.
11558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11559 <limits.h> exists even on freestanding compilers. */
11561 #ifdef __STDC__
11562 # include <limits.h>
11563 #else
11564 # include <assert.h>
11565 #endif
11567 #undef $ac_func
11569 /* Override any gcc2 internal prototype to avoid an error. */
11570 #ifdef __cplusplus
11571 extern "C"
11573 #endif
11574 /* We use char because int might match the return type of a gcc2
11575 builtin and then its argument prototype would still apply. */
11576 char $ac_func ();
11577 /* The GNU C library defines this for functions which it implements
11578 to always fail with ENOSYS. Some functions are actually named
11579 something starting with __ and the normal name is an alias. */
11580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11581 choke me
11582 #else
11583 char (*f) () = $ac_func;
11584 #endif
11585 #ifdef __cplusplus
11587 #endif
11590 main ()
11592 return f != $ac_func;
11594 return 0;
11596 _ACEOF
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11600 ac_status=$?
11601 grep -v '^ *+' conftest.er1 >conftest.err
11602 rm -f conftest.er1
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try='test -z "$ac_c_werror_flag"
11607 || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 eval "$as_ac_var=yes"
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11624 eval "$as_ac_var=no"
11626 rm -f conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11631 if test `eval echo '${'$as_ac_var'}'` = yes; then
11632 cat >>confdefs.h <<_ACEOF
11633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11634 _ACEOF
11637 done
11643 echo "$as_me:$LINENO: checking for expf declaration" >&5
11644 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11645 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11646 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 else
11652 ac_ext=cc
11653 ac_cpp='$CXXCPP $CPPFLAGS'
11654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11658 cat >conftest.$ac_ext <<_ACEOF
11659 /* confdefs.h. */
11660 _ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 #include <math.h>
11665 #ifdef HAVE_IEEEFP_H
11666 #include <ieeefp.h>
11667 #endif
11670 main ()
11672 expf(0);
11674 return 0;
11676 _ACEOF
11677 rm -f conftest.$ac_objext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679 (eval $ac_compile) 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_cxx_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try='test -s conftest.$ac_objext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 glibcxx_cv_func_expf_use=yes
11700 else
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11704 glibcxx_cv_func_expf_use=no
11706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11707 ac_ext=c
11708 ac_cpp='$CPP $CPPFLAGS'
11709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11718 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11720 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11722 for ac_func in expf
11724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11725 echo "$as_me:$LINENO: checking for $ac_func" >&5
11726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11727 if eval "test \"\${$as_ac_var+set}\" = set"; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 else
11730 if test x$gcc_no_link = xyes; then
11731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11733 { (exit 1); exit 1; }; }
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11743 #define $ac_func innocuous_$ac_func
11745 /* System header to define __stub macros and hopefully few prototypes,
11746 which can conflict with char $ac_func (); below.
11747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11748 <limits.h> exists even on freestanding compilers. */
11750 #ifdef __STDC__
11751 # include <limits.h>
11752 #else
11753 # include <assert.h>
11754 #endif
11756 #undef $ac_func
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 #ifdef __cplusplus
11760 extern "C"
11762 #endif
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11765 char $ac_func ();
11766 /* The GNU C library defines this for functions which it implements
11767 to always fail with ENOSYS. Some functions are actually named
11768 something starting with __ and the normal name is an alias. */
11769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11770 choke me
11771 #else
11772 char (*f) () = $ac_func;
11773 #endif
11774 #ifdef __cplusplus
11776 #endif
11779 main ()
11781 return f != $ac_func;
11783 return 0;
11785 _ACEOF
11786 rm -f conftest.$ac_objext conftest$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>conftest.er1
11789 ac_status=$?
11790 grep -v '^ *+' conftest.er1 >conftest.err
11791 rm -f conftest.er1
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try='test -z "$ac_c_werror_flag"
11796 || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 eval "$as_ac_var=yes"
11809 else
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 eval "$as_ac_var=no"
11815 rm -f conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11820 if test `eval echo '${'$as_ac_var'}'` = yes; then
11821 cat >>confdefs.h <<_ACEOF
11822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11823 _ACEOF
11826 done
11828 else
11830 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11831 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11832 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11833 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11839 ac_ext=cc
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11845 cat >conftest.$ac_ext <<_ACEOF
11846 /* confdefs.h. */
11847 _ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 #include <math.h>
11852 #ifdef HAVE_IEEEFP_H
11853 #include <ieeefp.h>
11854 #endif
11857 main ()
11859 _expf(0);
11861 return 0;
11863 _ACEOF
11864 rm -f conftest.$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11867 ac_status=$?
11868 grep -v '^ *+' conftest.er1 >conftest.err
11869 rm -f conftest.er1
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_cxx_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 glibcxx_cv_func__expf_use=yes
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 glibcxx_cv_func__expf_use=no
11893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11894 ac_ext=c
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11905 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11907 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11909 for ac_func in _expf
11911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11912 echo "$as_me:$LINENO: checking for $ac_func" >&5
11913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11914 if eval "test \"\${$as_ac_var+set}\" = set"; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 if test x$gcc_no_link = xyes; then
11918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11920 { (exit 1); exit 1; }; }
11922 cat >conftest.$ac_ext <<_ACEOF
11923 /* confdefs.h. */
11924 _ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11930 #define $ac_func innocuous_$ac_func
11932 /* System header to define __stub macros and hopefully few prototypes,
11933 which can conflict with char $ac_func (); below.
11934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11935 <limits.h> exists even on freestanding compilers. */
11937 #ifdef __STDC__
11938 # include <limits.h>
11939 #else
11940 # include <assert.h>
11941 #endif
11943 #undef $ac_func
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 #ifdef __cplusplus
11947 extern "C"
11949 #endif
11950 /* We use char because int might match the return type of a gcc2
11951 builtin and then its argument prototype would still apply. */
11952 char $ac_func ();
11953 /* The GNU C library defines this for functions which it implements
11954 to always fail with ENOSYS. Some functions are actually named
11955 something starting with __ and the normal name is an alias. */
11956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11957 choke me
11958 #else
11959 char (*f) () = $ac_func;
11960 #endif
11961 #ifdef __cplusplus
11963 #endif
11966 main ()
11968 return f != $ac_func;
11970 return 0;
11972 _ACEOF
11973 rm -f conftest.$ac_objext conftest$ac_exeext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11975 (eval $ac_link) 2>conftest.er1
11976 ac_status=$?
11977 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1
11979 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag"
11983 || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try='test -s conftest$ac_exeext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 eval "$as_ac_var=yes"
11996 else
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 eval "$as_ac_var=no"
12002 rm -f conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12007 if test `eval echo '${'$as_ac_var'}'` = yes; then
12008 cat >>confdefs.h <<_ACEOF
12009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12010 _ACEOF
12013 done
12020 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12021 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12029 ac_ext=cc
12030 ac_cpp='$CXXCPP $CPPFLAGS'
12031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <math.h>
12042 #ifdef HAVE_IEEEFP_H
12043 #include <ieeefp.h>
12044 #endif
12047 main ()
12049 isnanf(0);
12051 return 0;
12053 _ACEOF
12054 rm -f conftest.$ac_objext
12055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12056 (eval $ac_compile) 2>conftest.er1
12057 ac_status=$?
12058 grep -v '^ *+' conftest.er1 >conftest.err
12059 rm -f conftest.er1
12060 cat conftest.err >&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -z "$ac_cxx_werror_flag"
12064 || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try='test -s conftest.$ac_objext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 glibcxx_cv_func_isnanf_use=yes
12077 else
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12081 glibcxx_cv_func_isnanf_use=no
12083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12084 ac_ext=c
12085 ac_cpp='$CPP $CPPFLAGS'
12086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12095 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12097 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12099 for ac_func in isnanf
12101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12102 echo "$as_me:$LINENO: checking for $ac_func" >&5
12103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12104 if eval "test \"\${$as_ac_var+set}\" = set"; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 else
12107 if test x$gcc_no_link = xyes; then
12108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110 { (exit 1); exit 1; }; }
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h. */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12120 #define $ac_func innocuous_$ac_func
12122 /* System header to define __stub macros and hopefully few prototypes,
12123 which can conflict with char $ac_func (); below.
12124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12125 <limits.h> exists even on freestanding compilers. */
12127 #ifdef __STDC__
12128 # include <limits.h>
12129 #else
12130 # include <assert.h>
12131 #endif
12133 #undef $ac_func
12135 /* Override any gcc2 internal prototype to avoid an error. */
12136 #ifdef __cplusplus
12137 extern "C"
12139 #endif
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12142 char $ac_func ();
12143 /* The GNU C library defines this for functions which it implements
12144 to always fail with ENOSYS. Some functions are actually named
12145 something starting with __ and the normal name is an alias. */
12146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12147 choke me
12148 #else
12149 char (*f) () = $ac_func;
12150 #endif
12151 #ifdef __cplusplus
12153 #endif
12156 main ()
12158 return f != $ac_func;
12160 return 0;
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165 (eval $ac_link) 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag"
12173 || test ! -s conftest.err'
12174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175 (eval $ac_try) 2>&5
12176 ac_status=$?
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; } &&
12179 { ac_try='test -s conftest$ac_exeext'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12182 ac_status=$?
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; }; then
12185 eval "$as_ac_var=yes"
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12190 eval "$as_ac_var=no"
12192 rm -f conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12197 if test `eval echo '${'$as_ac_var'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12200 _ACEOF
12203 done
12205 else
12207 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12208 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12209 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12210 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12216 ac_ext=cc
12217 ac_cpp='$CXXCPP $CPPFLAGS'
12218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12222 cat >conftest.$ac_ext <<_ACEOF
12223 /* confdefs.h. */
12224 _ACEOF
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <math.h>
12229 #ifdef HAVE_IEEEFP_H
12230 #include <ieeefp.h>
12231 #endif
12234 main ()
12236 _isnanf(0);
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_cxx_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 glibcxx_cv_func__isnanf_use=yes
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12268 glibcxx_cv_func__isnanf_use=no
12270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12271 ac_ext=c
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12282 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12286 for ac_func in _isnanf
12288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294 if test x$gcc_no_link = xyes; then
12295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297 { (exit 1); exit 1; }; }
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12307 #define $ac_func innocuous_$ac_func
12309 /* System header to define __stub macros and hopefully few prototypes,
12310 which can conflict with char $ac_func (); below.
12311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12312 <limits.h> exists even on freestanding compilers. */
12314 #ifdef __STDC__
12315 # include <limits.h>
12316 #else
12317 # include <assert.h>
12318 #endif
12320 #undef $ac_func
12322 /* Override any gcc2 internal prototype to avoid an error. */
12323 #ifdef __cplusplus
12324 extern "C"
12326 #endif
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12329 char $ac_func ();
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 choke me
12335 #else
12336 char (*f) () = $ac_func;
12337 #endif
12338 #ifdef __cplusplus
12340 #endif
12343 main ()
12345 return f != $ac_func;
12347 return 0;
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag"
12360 || test ! -s conftest.err'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; } &&
12366 { ac_try='test -s conftest$ac_exeext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 eval "$as_ac_var=yes"
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12377 eval "$as_ac_var=no"
12379 rm -f conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12384 if test `eval echo '${'$as_ac_var'}'` = yes; then
12385 cat >>confdefs.h <<_ACEOF
12386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12387 _ACEOF
12390 done
12397 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12398 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12399 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12400 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 else
12406 ac_ext=cc
12407 ac_cpp='$CXXCPP $CPPFLAGS'
12408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12412 cat >conftest.$ac_ext <<_ACEOF
12413 /* confdefs.h. */
12414 _ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <math.h>
12419 #ifdef HAVE_IEEEFP_H
12420 #include <ieeefp.h>
12421 #endif
12424 main ()
12426 isinff(0);
12428 return 0;
12430 _ACEOF
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_cxx_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 glibcxx_cv_func_isinff_use=yes
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 glibcxx_cv_func_isinff_use=no
12460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12461 ac_ext=c
12462 ac_cpp='$CPP $CPPFLAGS'
12463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12472 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12474 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12476 for ac_func in isinff
12478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12479 echo "$as_me:$LINENO: checking for $ac_func" >&5
12480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12481 if eval "test \"\${$as_ac_var+set}\" = set"; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 else
12484 if test x$gcc_no_link = xyes; then
12485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12487 { (exit 1); exit 1; }; }
12489 cat >conftest.$ac_ext <<_ACEOF
12490 /* confdefs.h. */
12491 _ACEOF
12492 cat confdefs.h >>conftest.$ac_ext
12493 cat >>conftest.$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12497 #define $ac_func innocuous_$ac_func
12499 /* System header to define __stub macros and hopefully few prototypes,
12500 which can conflict with char $ac_func (); below.
12501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12502 <limits.h> exists even on freestanding compilers. */
12504 #ifdef __STDC__
12505 # include <limits.h>
12506 #else
12507 # include <assert.h>
12508 #endif
12510 #undef $ac_func
12512 /* Override any gcc2 internal prototype to avoid an error. */
12513 #ifdef __cplusplus
12514 extern "C"
12516 #endif
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12519 char $ac_func ();
12520 /* The GNU C library defines this for functions which it implements
12521 to always fail with ENOSYS. Some functions are actually named
12522 something starting with __ and the normal name is an alias. */
12523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 choke me
12525 #else
12526 char (*f) () = $ac_func;
12527 #endif
12528 #ifdef __cplusplus
12530 #endif
12533 main ()
12535 return f != $ac_func;
12537 return 0;
12539 _ACEOF
12540 rm -f conftest.$ac_objext conftest$ac_exeext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>conftest.er1
12543 ac_status=$?
12544 grep -v '^ *+' conftest.er1 >conftest.err
12545 rm -f conftest.er1
12546 cat conftest.err >&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } &&
12549 { ac_try='test -z "$ac_c_werror_flag"
12550 || test ! -s conftest.err'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12553 ac_status=$?
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try='test -s conftest$ac_exeext'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 eval "$as_ac_var=yes"
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 eval "$as_ac_var=no"
12569 rm -f conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12574 if test `eval echo '${'$as_ac_var'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12577 _ACEOF
12580 done
12582 else
12584 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12585 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12593 ac_ext=cc
12594 ac_cpp='$CXXCPP $CPPFLAGS'
12595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605 #include <math.h>
12606 #ifdef HAVE_IEEEFP_H
12607 #include <ieeefp.h>
12608 #endif
12611 main ()
12613 _isinff(0);
12615 return 0;
12617 _ACEOF
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_cxx_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest.$ac_objext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 glibcxx_cv_func__isinff_use=yes
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 glibcxx_cv_func__isinff_use=no
12647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12648 ac_ext=c
12649 ac_cpp='$CPP $CPPFLAGS'
12650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12659 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12661 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12663 for ac_func in _isinff
12665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12666 echo "$as_me:$LINENO: checking for $ac_func" >&5
12667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12668 if eval "test \"\${$as_ac_var+set}\" = set"; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12671 if test x$gcc_no_link = xyes; then
12672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12674 { (exit 1); exit 1; }; }
12676 cat >conftest.$ac_ext <<_ACEOF
12677 /* confdefs.h. */
12678 _ACEOF
12679 cat confdefs.h >>conftest.$ac_ext
12680 cat >>conftest.$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12684 #define $ac_func innocuous_$ac_func
12686 /* System header to define __stub macros and hopefully few prototypes,
12687 which can conflict with char $ac_func (); below.
12688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12689 <limits.h> exists even on freestanding compilers. */
12691 #ifdef __STDC__
12692 # include <limits.h>
12693 #else
12694 # include <assert.h>
12695 #endif
12697 #undef $ac_func
12699 /* Override any gcc2 internal prototype to avoid an error. */
12700 #ifdef __cplusplus
12701 extern "C"
12703 #endif
12704 /* We use char because int might match the return type of a gcc2
12705 builtin and then its argument prototype would still apply. */
12706 char $ac_func ();
12707 /* The GNU C library defines this for functions which it implements
12708 to always fail with ENOSYS. Some functions are actually named
12709 something starting with __ and the normal name is an alias. */
12710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12711 choke me
12712 #else
12713 char (*f) () = $ac_func;
12714 #endif
12715 #ifdef __cplusplus
12717 #endif
12720 main ()
12722 return f != $ac_func;
12724 return 0;
12726 _ACEOF
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try='test -z "$ac_c_werror_flag"
12737 || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try='test -s conftest$ac_exeext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 eval "$as_ac_var=yes"
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 eval "$as_ac_var=no"
12756 rm -f conftest.err conftest.$ac_objext \
12757 conftest$ac_exeext conftest.$ac_ext
12759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12761 if test `eval echo '${'$as_ac_var'}'` = yes; then
12762 cat >>confdefs.h <<_ACEOF
12763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12764 _ACEOF
12767 done
12774 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12775 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12776 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12777 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12783 ac_ext=cc
12784 ac_cpp='$CXXCPP $CPPFLAGS'
12785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795 #include <math.h>
12797 main ()
12799 atan2f(0, 0);
12801 return 0;
12803 _ACEOF
12804 rm -f conftest.$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -z "$ac_cxx_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 glibcxx_cv_func_atan2f_use=yes
12827 else
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12831 glibcxx_cv_func_atan2f_use=no
12833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 ac_ext=c
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12845 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12847 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12849 for ac_func in atan2f
12851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12852 echo "$as_me:$LINENO: checking for $ac_func" >&5
12853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12854 if eval "test \"\${$as_ac_var+set}\" = set"; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 if test x$gcc_no_link = xyes; then
12858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12860 { (exit 1); exit 1; }; }
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12870 #define $ac_func innocuous_$ac_func
12872 /* System header to define __stub macros and hopefully few prototypes,
12873 which can conflict with char $ac_func (); below.
12874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12875 <limits.h> exists even on freestanding compilers. */
12877 #ifdef __STDC__
12878 # include <limits.h>
12879 #else
12880 # include <assert.h>
12881 #endif
12883 #undef $ac_func
12885 /* Override any gcc2 internal prototype to avoid an error. */
12886 #ifdef __cplusplus
12887 extern "C"
12889 #endif
12890 /* We use char because int might match the return type of a gcc2
12891 builtin and then its argument prototype would still apply. */
12892 char $ac_func ();
12893 /* The GNU C library defines this for functions which it implements
12894 to always fail with ENOSYS. Some functions are actually named
12895 something starting with __ and the normal name is an alias. */
12896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12897 choke me
12898 #else
12899 char (*f) () = $ac_func;
12900 #endif
12901 #ifdef __cplusplus
12903 #endif
12906 main ()
12908 return f != $ac_func;
12910 return 0;
12912 _ACEOF
12913 rm -f conftest.$ac_objext conftest$ac_exeext
12914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915 (eval $ac_link) 2>conftest.er1
12916 ac_status=$?
12917 grep -v '^ *+' conftest.er1 >conftest.err
12918 rm -f conftest.er1
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } &&
12922 { ac_try='test -z "$ac_c_werror_flag"
12923 || test ! -s conftest.err'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest$ac_exeext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 eval "$as_ac_var=yes"
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12940 eval "$as_ac_var=no"
12942 rm -f conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12947 if test `eval echo '${'$as_ac_var'}'` = yes; then
12948 cat >>confdefs.h <<_ACEOF
12949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12950 _ACEOF
12953 done
12955 else
12957 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12958 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12959 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12960 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12966 ac_ext=cc
12967 ac_cpp='$CXXCPP $CPPFLAGS'
12968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <math.h>
12980 main ()
12982 _atan2f(0, 0);
12984 return 0;
12986 _ACEOF
12987 rm -f conftest.$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12990 ac_status=$?
12991 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_cxx_werror_flag"
12997 || test ! -s conftest.err'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; } &&
13003 { ac_try='test -s conftest.$ac_objext'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; }; then
13009 glibcxx_cv_func__atan2f_use=yes
13010 else
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13014 glibcxx_cv_func__atan2f_use=no
13016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13017 ac_ext=c
13018 ac_cpp='$CPP $CPPFLAGS'
13019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13028 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13030 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13032 for ac_func in _atan2f
13034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13035 echo "$as_me:$LINENO: checking for $ac_func" >&5
13036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13037 if eval "test \"\${$as_ac_var+set}\" = set"; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 else
13040 if test x$gcc_no_link = xyes; then
13041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13043 { (exit 1); exit 1; }; }
13045 cat >conftest.$ac_ext <<_ACEOF
13046 /* confdefs.h. */
13047 _ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13053 #define $ac_func innocuous_$ac_func
13055 /* System header to define __stub macros and hopefully few prototypes,
13056 which can conflict with char $ac_func (); below.
13057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13058 <limits.h> exists even on freestanding compilers. */
13060 #ifdef __STDC__
13061 # include <limits.h>
13062 #else
13063 # include <assert.h>
13064 #endif
13066 #undef $ac_func
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 #ifdef __cplusplus
13070 extern "C"
13072 #endif
13073 /* We use char because int might match the return type of a gcc2
13074 builtin and then its argument prototype would still apply. */
13075 char $ac_func ();
13076 /* The GNU C library defines this for functions which it implements
13077 to always fail with ENOSYS. Some functions are actually named
13078 something starting with __ and the normal name is an alias. */
13079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13080 choke me
13081 #else
13082 char (*f) () = $ac_func;
13083 #endif
13084 #ifdef __cplusplus
13086 #endif
13089 main ()
13091 return f != $ac_func;
13093 return 0;
13095 _ACEOF
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13098 (eval $ac_link) 2>conftest.er1
13099 ac_status=$?
13100 grep -v '^ *+' conftest.er1 >conftest.err
13101 rm -f conftest.er1
13102 cat conftest.err >&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try='test -z "$ac_c_werror_flag"
13106 || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13109 ac_status=$?
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try='test -s conftest$ac_exeext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 eval "$as_ac_var=yes"
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13123 eval "$as_ac_var=no"
13125 rm -f conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13130 if test `eval echo '${'$as_ac_var'}'` = yes; then
13131 cat >>confdefs.h <<_ACEOF
13132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13133 _ACEOF
13136 done
13143 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13144 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13145 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13146 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13152 ac_ext=cc
13153 ac_cpp='$CXXCPP $CPPFLAGS'
13154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 #include <math.h>
13165 #ifdef HAVE_IEEEFP_H
13166 #include <ieeefp.h>
13167 #endif
13170 main ()
13172 fabsf(0);
13174 return 0;
13176 _ACEOF
13177 rm -f conftest.$ac_objext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>conftest.er1
13180 ac_status=$?
13181 grep -v '^ *+' conftest.er1 >conftest.err
13182 rm -f conftest.er1
13183 cat conftest.err >&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try='test -z "$ac_cxx_werror_flag"
13187 || test ! -s conftest.err'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13190 ac_status=$?
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; } &&
13193 { ac_try='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13196 ac_status=$?
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 glibcxx_cv_func_fabsf_use=yes
13200 else
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.$ac_ext >&5
13204 glibcxx_cv_func_fabsf_use=no
13206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13207 ac_ext=c
13208 ac_cpp='$CPP $CPPFLAGS'
13209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13218 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13220 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13222 for ac_func in fabsf
13224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13225 echo "$as_me:$LINENO: checking for $ac_func" >&5
13226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13227 if eval "test \"\${$as_ac_var+set}\" = set"; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 else
13230 if test x$gcc_no_link = xyes; then
13231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13233 { (exit 1); exit 1; }; }
13235 cat >conftest.$ac_ext <<_ACEOF
13236 /* confdefs.h. */
13237 _ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13243 #define $ac_func innocuous_$ac_func
13245 /* System header to define __stub macros and hopefully few prototypes,
13246 which can conflict with char $ac_func (); below.
13247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13248 <limits.h> exists even on freestanding compilers. */
13250 #ifdef __STDC__
13251 # include <limits.h>
13252 #else
13253 # include <assert.h>
13254 #endif
13256 #undef $ac_func
13258 /* Override any gcc2 internal prototype to avoid an error. */
13259 #ifdef __cplusplus
13260 extern "C"
13262 #endif
13263 /* We use char because int might match the return type of a gcc2
13264 builtin and then its argument prototype would still apply. */
13265 char $ac_func ();
13266 /* The GNU C library defines this for functions which it implements
13267 to always fail with ENOSYS. Some functions are actually named
13268 something starting with __ and the normal name is an alias. */
13269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13270 choke me
13271 #else
13272 char (*f) () = $ac_func;
13273 #endif
13274 #ifdef __cplusplus
13276 #endif
13279 main ()
13281 return f != $ac_func;
13283 return 0;
13285 _ACEOF
13286 rm -f conftest.$ac_objext conftest$ac_exeext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13288 (eval $ac_link) 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -z "$ac_c_werror_flag"
13296 || test ! -s conftest.err'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13299 ac_status=$?
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; } &&
13302 { ac_try='test -s conftest$ac_exeext'
13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13304 (eval $ac_try) 2>&5
13305 ac_status=$?
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; }; then
13308 eval "$as_ac_var=yes"
13309 else
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13313 eval "$as_ac_var=no"
13315 rm -f conftest.err conftest.$ac_objext \
13316 conftest$ac_exeext conftest.$ac_ext
13318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13320 if test `eval echo '${'$as_ac_var'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13323 _ACEOF
13326 done
13328 else
13330 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13331 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13332 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13333 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 else
13339 ac_ext=cc
13340 ac_cpp='$CXXCPP $CPPFLAGS'
13341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #include <math.h>
13352 #ifdef HAVE_IEEEFP_H
13353 #include <ieeefp.h>
13354 #endif
13357 main ()
13359 _fabsf(0);
13361 return 0;
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_cxx_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 glibcxx_cv_func__fabsf_use=yes
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13391 glibcxx_cv_func__fabsf_use=no
13393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13394 ac_ext=c
13395 ac_cpp='$CPP $CPPFLAGS'
13396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13405 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13407 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13409 for ac_func in _fabsf
13411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13412 echo "$as_me:$LINENO: checking for $ac_func" >&5
13413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13414 if eval "test \"\${$as_ac_var+set}\" = set"; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417 if test x$gcc_no_link = xyes; then
13418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13420 { (exit 1); exit 1; }; }
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13430 #define $ac_func innocuous_$ac_func
13432 /* System header to define __stub macros and hopefully few prototypes,
13433 which can conflict with char $ac_func (); below.
13434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13435 <limits.h> exists even on freestanding compilers. */
13437 #ifdef __STDC__
13438 # include <limits.h>
13439 #else
13440 # include <assert.h>
13441 #endif
13443 #undef $ac_func
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 #ifdef __cplusplus
13447 extern "C"
13449 #endif
13450 /* We use char because int might match the return type of a gcc2
13451 builtin and then its argument prototype would still apply. */
13452 char $ac_func ();
13453 /* The GNU C library defines this for functions which it implements
13454 to always fail with ENOSYS. Some functions are actually named
13455 something starting with __ and the normal name is an alias. */
13456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13457 choke me
13458 #else
13459 char (*f) () = $ac_func;
13460 #endif
13461 #ifdef __cplusplus
13463 #endif
13466 main ()
13468 return f != $ac_func;
13470 return 0;
13472 _ACEOF
13473 rm -f conftest.$ac_objext conftest$ac_exeext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13475 (eval $ac_link) 2>conftest.er1
13476 ac_status=$?
13477 grep -v '^ *+' conftest.er1 >conftest.err
13478 rm -f conftest.er1
13479 cat conftest.err >&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -z "$ac_c_werror_flag"
13483 || test ! -s conftest.err'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; } &&
13489 { ac_try='test -s conftest$ac_exeext'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13492 ac_status=$?
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13495 eval "$as_ac_var=yes"
13496 else
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13500 eval "$as_ac_var=no"
13502 rm -f conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13507 if test `eval echo '${'$as_ac_var'}'` = yes; then
13508 cat >>confdefs.h <<_ACEOF
13509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13510 _ACEOF
13513 done
13520 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13521 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13522 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13523 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 else
13529 ac_ext=cc
13530 ac_cpp='$CXXCPP $CPPFLAGS'
13531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #include <math.h>
13543 main ()
13545 fmodf(0, 0);
13547 return 0;
13549 _ACEOF
13550 rm -f conftest.$ac_objext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13552 (eval $ac_compile) 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_cxx_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try='test -s conftest.$ac_objext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572 glibcxx_cv_func_fmodf_use=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13577 glibcxx_cv_func_fmodf_use=no
13579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13580 ac_ext=c
13581 ac_cpp='$CPP $CPPFLAGS'
13582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13591 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13595 for ac_func in fmodf
13597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13598 echo "$as_me:$LINENO: checking for $ac_func" >&5
13599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13600 if eval "test \"\${$as_ac_var+set}\" = set"; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 if test x$gcc_no_link = xyes; then
13604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13606 { (exit 1); exit 1; }; }
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13616 #define $ac_func innocuous_$ac_func
13618 /* System header to define __stub macros and hopefully few prototypes,
13619 which can conflict with char $ac_func (); below.
13620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13621 <limits.h> exists even on freestanding compilers. */
13623 #ifdef __STDC__
13624 # include <limits.h>
13625 #else
13626 # include <assert.h>
13627 #endif
13629 #undef $ac_func
13631 /* Override any gcc2 internal prototype to avoid an error. */
13632 #ifdef __cplusplus
13633 extern "C"
13635 #endif
13636 /* We use char because int might match the return type of a gcc2
13637 builtin and then its argument prototype would still apply. */
13638 char $ac_func ();
13639 /* The GNU C library defines this for functions which it implements
13640 to always fail with ENOSYS. Some functions are actually named
13641 something starting with __ and the normal name is an alias. */
13642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13643 choke me
13644 #else
13645 char (*f) () = $ac_func;
13646 #endif
13647 #ifdef __cplusplus
13649 #endif
13652 main ()
13654 return f != $ac_func;
13656 return 0;
13658 _ACEOF
13659 rm -f conftest.$ac_objext conftest$ac_exeext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13661 (eval $ac_link) 2>conftest.er1
13662 ac_status=$?
13663 grep -v '^ *+' conftest.er1 >conftest.err
13664 rm -f conftest.er1
13665 cat conftest.err >&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try='test -z "$ac_c_werror_flag"
13669 || test ! -s conftest.err'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; } &&
13675 { ac_try='test -s conftest$ac_exeext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 eval "$as_ac_var=yes"
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13686 eval "$as_ac_var=no"
13688 rm -f conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13693 if test `eval echo '${'$as_ac_var'}'` = yes; then
13694 cat >>confdefs.h <<_ACEOF
13695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13696 _ACEOF
13699 done
13701 else
13703 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13704 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 else
13712 ac_ext=cc
13713 ac_cpp='$CXXCPP $CPPFLAGS'
13714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <math.h>
13726 main ()
13728 _fmodf(0, 0);
13730 return 0;
13732 _ACEOF
13733 rm -f conftest.$ac_objext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13735 (eval $ac_compile) 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -z "$ac_cxx_werror_flag"
13743 || test ! -s conftest.err'
13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745 (eval $ac_try) 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try='test -s conftest.$ac_objext'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; }; then
13755 glibcxx_cv_func__fmodf_use=yes
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13760 glibcxx_cv_func__fmodf_use=no
13762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13763 ac_ext=c
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13773 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13774 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13776 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13778 for ac_func in _fmodf
13780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_func" >&5
13782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_var+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 if test x$gcc_no_link = xyes; then
13787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13789 { (exit 1); exit 1; }; }
13791 cat >conftest.$ac_ext <<_ACEOF
13792 /* confdefs.h. */
13793 _ACEOF
13794 cat confdefs.h >>conftest.$ac_ext
13795 cat >>conftest.$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13799 #define $ac_func innocuous_$ac_func
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char $ac_func (); below.
13803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13804 <limits.h> exists even on freestanding compilers. */
13806 #ifdef __STDC__
13807 # include <limits.h>
13808 #else
13809 # include <assert.h>
13810 #endif
13812 #undef $ac_func
13814 /* Override any gcc2 internal prototype to avoid an error. */
13815 #ifdef __cplusplus
13816 extern "C"
13818 #endif
13819 /* We use char because int might match the return type of a gcc2
13820 builtin and then its argument prototype would still apply. */
13821 char $ac_func ();
13822 /* The GNU C library defines this for functions which it implements
13823 to always fail with ENOSYS. Some functions are actually named
13824 something starting with __ and the normal name is an alias. */
13825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13826 choke me
13827 #else
13828 char (*f) () = $ac_func;
13829 #endif
13830 #ifdef __cplusplus
13832 #endif
13835 main ()
13837 return f != $ac_func;
13839 return 0;
13841 _ACEOF
13842 rm -f conftest.$ac_objext conftest$ac_exeext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13844 (eval $ac_link) 2>conftest.er1
13845 ac_status=$?
13846 grep -v '^ *+' conftest.er1 >conftest.err
13847 rm -f conftest.er1
13848 cat conftest.err >&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try='test -z "$ac_c_werror_flag"
13852 || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try='test -s conftest$ac_exeext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13861 ac_status=$?
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 eval "$as_ac_var=yes"
13865 else
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13869 eval "$as_ac_var=no"
13871 rm -f conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13876 if test `eval echo '${'$as_ac_var'}'` = yes; then
13877 cat >>confdefs.h <<_ACEOF
13878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13879 _ACEOF
13882 done
13889 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13890 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13891 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13892 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13898 ac_ext=cc
13899 ac_cpp='$CXXCPP $CPPFLAGS'
13900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13904 cat >conftest.$ac_ext <<_ACEOF
13905 /* confdefs.h. */
13906 _ACEOF
13907 cat confdefs.h >>conftest.$ac_ext
13908 cat >>conftest.$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13910 #include <math.h>
13912 main ()
13914 frexpf(0, 0);
13916 return 0;
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_cxx_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 glibcxx_cv_func_frexpf_use=yes
13942 else
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13946 glibcxx_cv_func_frexpf_use=no
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949 ac_ext=c
13950 ac_cpp='$CPP $CPPFLAGS'
13951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13960 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13962 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13964 for ac_func in frexpf
13966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 if test x$gcc_no_link = xyes; then
13973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975 { (exit 1); exit 1; }; }
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13985 #define $ac_func innocuous_$ac_func
13987 /* System header to define __stub macros and hopefully few prototypes,
13988 which can conflict with char $ac_func (); below.
13989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13990 <limits.h> exists even on freestanding compilers. */
13992 #ifdef __STDC__
13993 # include <limits.h>
13994 #else
13995 # include <assert.h>
13996 #endif
13998 #undef $ac_func
14000 /* Override any gcc2 internal prototype to avoid an error. */
14001 #ifdef __cplusplus
14002 extern "C"
14004 #endif
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char $ac_func ();
14008 /* The GNU C library defines this for functions which it implements
14009 to always fail with ENOSYS. Some functions are actually named
14010 something starting with __ and the normal name is an alias. */
14011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 choke me
14013 #else
14014 char (*f) () = $ac_func;
14015 #endif
14016 #ifdef __cplusplus
14018 #endif
14021 main ()
14023 return f != $ac_func;
14025 return 0;
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 eval "$as_ac_var=yes"
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14055 eval "$as_ac_var=no"
14057 rm -f conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14068 done
14070 else
14072 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14073 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14074 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14075 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 else
14081 ac_ext=cc
14082 ac_cpp='$CXXCPP $CPPFLAGS'
14083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14087 cat >conftest.$ac_ext <<_ACEOF
14088 /* confdefs.h. */
14089 _ACEOF
14090 cat confdefs.h >>conftest.$ac_ext
14091 cat >>conftest.$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 #include <math.h>
14095 main ()
14097 _frexpf(0, 0);
14099 return 0;
14101 _ACEOF
14102 rm -f conftest.$ac_objext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14104 (eval $ac_compile) 2>conftest.er1
14105 ac_status=$?
14106 grep -v '^ *+' conftest.er1 >conftest.err
14107 rm -f conftest.er1
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_cxx_werror_flag"
14112 || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 glibcxx_cv_func__frexpf_use=yes
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 glibcxx_cv_func__frexpf_use=no
14131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14132 ac_ext=c
14133 ac_cpp='$CPP $CPPFLAGS'
14134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14143 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14145 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14147 for ac_func in _frexpf
14149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14150 echo "$as_me:$LINENO: checking for $ac_func" >&5
14151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14152 if eval "test \"\${$as_ac_var+set}\" = set"; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 if test x$gcc_no_link = xyes; then
14156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14158 { (exit 1); exit 1; }; }
14160 cat >conftest.$ac_ext <<_ACEOF
14161 /* confdefs.h. */
14162 _ACEOF
14163 cat confdefs.h >>conftest.$ac_ext
14164 cat >>conftest.$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14168 #define $ac_func innocuous_$ac_func
14170 /* System header to define __stub macros and hopefully few prototypes,
14171 which can conflict with char $ac_func (); below.
14172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14173 <limits.h> exists even on freestanding compilers. */
14175 #ifdef __STDC__
14176 # include <limits.h>
14177 #else
14178 # include <assert.h>
14179 #endif
14181 #undef $ac_func
14183 /* Override any gcc2 internal prototype to avoid an error. */
14184 #ifdef __cplusplus
14185 extern "C"
14187 #endif
14188 /* We use char because int might match the return type of a gcc2
14189 builtin and then its argument prototype would still apply. */
14190 char $ac_func ();
14191 /* The GNU C library defines this for functions which it implements
14192 to always fail with ENOSYS. Some functions are actually named
14193 something starting with __ and the normal name is an alias. */
14194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14195 choke me
14196 #else
14197 char (*f) () = $ac_func;
14198 #endif
14199 #ifdef __cplusplus
14201 #endif
14204 main ()
14206 return f != $ac_func;
14208 return 0;
14210 _ACEOF
14211 rm -f conftest.$ac_objext conftest$ac_exeext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14213 (eval $ac_link) 2>conftest.er1
14214 ac_status=$?
14215 grep -v '^ *+' conftest.er1 >conftest.err
14216 rm -f conftest.er1
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try='test -z "$ac_c_werror_flag"
14221 || test ! -s conftest.err'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try='test -s conftest$ac_exeext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14233 eval "$as_ac_var=yes"
14234 else
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14238 eval "$as_ac_var=no"
14240 rm -f conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14245 if test `eval echo '${'$as_ac_var'}'` = yes; then
14246 cat >>confdefs.h <<_ACEOF
14247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14248 _ACEOF
14251 done
14258 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14259 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14267 ac_ext=cc
14268 ac_cpp='$CXXCPP $CPPFLAGS'
14269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 #include <math.h>
14281 main ()
14283 hypotf(0, 0);
14285 return 0;
14287 _ACEOF
14288 rm -f conftest.$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -z "$ac_cxx_werror_flag"
14298 || test ! -s conftest.err'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } &&
14304 { ac_try='test -s conftest.$ac_objext'
14305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306 (eval $ac_try) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 glibcxx_cv_func_hypotf_use=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 glibcxx_cv_func_hypotf_use=no
14317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14318 ac_ext=c
14319 ac_cpp='$CPP $CPPFLAGS'
14320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14329 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14331 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14333 for ac_func in hypotf
14335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14336 echo "$as_me:$LINENO: checking for $ac_func" >&5
14337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_var+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 if test x$gcc_no_link = xyes; then
14342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14344 { (exit 1); exit 1; }; }
14346 cat >conftest.$ac_ext <<_ACEOF
14347 /* confdefs.h. */
14348 _ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14354 #define $ac_func innocuous_$ac_func
14356 /* System header to define __stub macros and hopefully few prototypes,
14357 which can conflict with char $ac_func (); below.
14358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14359 <limits.h> exists even on freestanding compilers. */
14361 #ifdef __STDC__
14362 # include <limits.h>
14363 #else
14364 # include <assert.h>
14365 #endif
14367 #undef $ac_func
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 #ifdef __cplusplus
14371 extern "C"
14373 #endif
14374 /* We use char because int might match the return type of a gcc2
14375 builtin and then its argument prototype would still apply. */
14376 char $ac_func ();
14377 /* The GNU C library defines this for functions which it implements
14378 to always fail with ENOSYS. Some functions are actually named
14379 something starting with __ and the normal name is an alias. */
14380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14381 choke me
14382 #else
14383 char (*f) () = $ac_func;
14384 #endif
14385 #ifdef __cplusplus
14387 #endif
14390 main ()
14392 return f != $ac_func;
14394 return 0;
14396 _ACEOF
14397 rm -f conftest.$ac_objext conftest$ac_exeext
14398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14399 (eval $ac_link) 2>conftest.er1
14400 ac_status=$?
14401 grep -v '^ *+' conftest.er1 >conftest.err
14402 rm -f conftest.er1
14403 cat conftest.err >&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try='test -z "$ac_c_werror_flag"
14407 || test ! -s conftest.err'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; } &&
14413 { ac_try='test -s conftest$ac_exeext'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14416 ac_status=$?
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; }; then
14419 eval "$as_ac_var=yes"
14420 else
14421 echo "$as_me: failed program was:" >&5
14422 sed 's/^/| /' conftest.$ac_ext >&5
14424 eval "$as_ac_var=no"
14426 rm -f conftest.err conftest.$ac_objext \
14427 conftest$ac_exeext conftest.$ac_ext
14429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14431 if test `eval echo '${'$as_ac_var'}'` = yes; then
14432 cat >>confdefs.h <<_ACEOF
14433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 _ACEOF
14437 done
14439 else
14441 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14442 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14443 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14444 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 else
14450 ac_ext=cc
14451 ac_cpp='$CXXCPP $CPPFLAGS'
14452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 #include <math.h>
14464 main ()
14466 _hypotf(0, 0);
14468 return 0;
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_cxx_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 glibcxx_cv_func__hypotf_use=yes
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 glibcxx_cv_func__hypotf_use=no
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 ac_ext=c
14502 ac_cpp='$CPP $CPPFLAGS'
14503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14512 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14514 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14516 for ac_func in _hypotf
14518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14519 echo "$as_me:$LINENO: checking for $ac_func" >&5
14520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14521 if eval "test \"\${$as_ac_var+set}\" = set"; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 if test x$gcc_no_link = xyes; then
14525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14527 { (exit 1); exit 1; }; }
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14537 #define $ac_func innocuous_$ac_func
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func (); below.
14541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14542 <limits.h> exists even on freestanding compilers. */
14544 #ifdef __STDC__
14545 # include <limits.h>
14546 #else
14547 # include <assert.h>
14548 #endif
14550 #undef $ac_func
14552 /* Override any gcc2 internal prototype to avoid an error. */
14553 #ifdef __cplusplus
14554 extern "C"
14556 #endif
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14559 char $ac_func ();
14560 /* The GNU C library defines this for functions which it implements
14561 to always fail with ENOSYS. Some functions are actually named
14562 something starting with __ and the normal name is an alias. */
14563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14564 choke me
14565 #else
14566 char (*f) () = $ac_func;
14567 #endif
14568 #ifdef __cplusplus
14570 #endif
14573 main ()
14575 return f != $ac_func;
14577 return 0;
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag"
14590 || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try='test -s conftest$ac_exeext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14599 ac_status=$?
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 eval "$as_ac_var=yes"
14603 else
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14607 eval "$as_ac_var=no"
14609 rm -f conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14614 if test `eval echo '${'$as_ac_var'}'` = yes; then
14615 cat >>confdefs.h <<_ACEOF
14616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14617 _ACEOF
14620 done
14627 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14628 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14629 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14630 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14642 cat >conftest.$ac_ext <<_ACEOF
14643 /* confdefs.h. */
14644 _ACEOF
14645 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 #include <math.h>
14650 main ()
14652 ldexpf(0, 0);
14654 return 0;
14656 _ACEOF
14657 rm -f conftest.$ac_objext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14659 (eval $ac_compile) 2>conftest.er1
14660 ac_status=$?
14661 grep -v '^ *+' conftest.er1 >conftest.err
14662 rm -f conftest.er1
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try='test -z "$ac_cxx_werror_flag"
14667 || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 glibcxx_cv_func_ldexpf_use=yes
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 glibcxx_cv_func_ldexpf_use=no
14686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14687 ac_ext=c
14688 ac_cpp='$CPP $CPPFLAGS'
14689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14698 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14700 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14702 for ac_func in ldexpf
14704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14705 echo "$as_me:$LINENO: checking for $ac_func" >&5
14706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14707 if eval "test \"\${$as_ac_var+set}\" = set"; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 if test x$gcc_no_link = xyes; then
14711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14713 { (exit 1); exit 1; }; }
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14723 #define $ac_func innocuous_$ac_func
14725 /* System header to define __stub macros and hopefully few prototypes,
14726 which can conflict with char $ac_func (); below.
14727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14728 <limits.h> exists even on freestanding compilers. */
14730 #ifdef __STDC__
14731 # include <limits.h>
14732 #else
14733 # include <assert.h>
14734 #endif
14736 #undef $ac_func
14738 /* Override any gcc2 internal prototype to avoid an error. */
14739 #ifdef __cplusplus
14740 extern "C"
14742 #endif
14743 /* We use char because int might match the return type of a gcc2
14744 builtin and then its argument prototype would still apply. */
14745 char $ac_func ();
14746 /* The GNU C library defines this for functions which it implements
14747 to always fail with ENOSYS. Some functions are actually named
14748 something starting with __ and the normal name is an alias. */
14749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14750 choke me
14751 #else
14752 char (*f) () = $ac_func;
14753 #endif
14754 #ifdef __cplusplus
14756 #endif
14759 main ()
14761 return f != $ac_func;
14763 return 0;
14765 _ACEOF
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14768 (eval $ac_link) 2>conftest.er1
14769 ac_status=$?
14770 grep -v '^ *+' conftest.er1 >conftest.err
14771 rm -f conftest.er1
14772 cat conftest.err >&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14779 ac_status=$?
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try='test -s conftest$ac_exeext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 eval "$as_ac_var=yes"
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14793 eval "$as_ac_var=no"
14795 rm -f conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14800 if test `eval echo '${'$as_ac_var'}'` = yes; then
14801 cat >>confdefs.h <<_ACEOF
14802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14803 _ACEOF
14806 done
14808 else
14810 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14811 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14812 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14813 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14819 ac_ext=cc
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <math.h>
14833 main ()
14835 _ldexpf(0, 0);
14837 return 0;
14839 _ACEOF
14840 rm -f conftest.$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try='test -z "$ac_cxx_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 glibcxx_cv_func__ldexpf_use=yes
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14867 glibcxx_cv_func__ldexpf_use=no
14869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14870 ac_ext=c
14871 ac_cpp='$CPP $CPPFLAGS'
14872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14881 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14883 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14885 for ac_func in _ldexpf
14887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14888 echo "$as_me:$LINENO: checking for $ac_func" >&5
14889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_var+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 if test x$gcc_no_link = xyes; then
14894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14896 { (exit 1); exit 1; }; }
14898 cat >conftest.$ac_ext <<_ACEOF
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14906 #define $ac_func innocuous_$ac_func
14908 /* System header to define __stub macros and hopefully few prototypes,
14909 which can conflict with char $ac_func (); below.
14910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14911 <limits.h> exists even on freestanding compilers. */
14913 #ifdef __STDC__
14914 # include <limits.h>
14915 #else
14916 # include <assert.h>
14917 #endif
14919 #undef $ac_func
14921 /* Override any gcc2 internal prototype to avoid an error. */
14922 #ifdef __cplusplus
14923 extern "C"
14925 #endif
14926 /* We use char because int might match the return type of a gcc2
14927 builtin and then its argument prototype would still apply. */
14928 char $ac_func ();
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14933 choke me
14934 #else
14935 char (*f) () = $ac_func;
14936 #endif
14937 #ifdef __cplusplus
14939 #endif
14942 main ()
14944 return f != $ac_func;
14946 return 0;
14948 _ACEOF
14949 rm -f conftest.$ac_objext conftest$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 eval "$as_ac_var=yes"
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 eval "$as_ac_var=no"
14978 rm -f conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14983 if test `eval echo '${'$as_ac_var'}'` = yes; then
14984 cat >>confdefs.h <<_ACEOF
14985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14986 _ACEOF
14989 done
14996 echo "$as_me:$LINENO: checking for logf declaration" >&5
14997 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
14998 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14999 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15005 ac_ext=cc
15006 ac_cpp='$CXXCPP $CPPFLAGS'
15007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15011 cat >conftest.$ac_ext <<_ACEOF
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 #include <math.h>
15018 #ifdef HAVE_IEEEFP_H
15019 #include <ieeefp.h>
15020 #endif
15023 main ()
15025 logf(0);
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_cxx_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 glibcxx_cv_func_logf_use=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 glibcxx_cv_func_logf_use=no
15059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15071 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15073 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15075 for ac_func in logf
15077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 echo "$as_me:$LINENO: checking for $ac_func" >&5
15079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_var+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test x$gcc_no_link = xyes; then
15084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15086 { (exit 1); exit 1; }; }
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15096 #define $ac_func innocuous_$ac_func
15098 /* System header to define __stub macros and hopefully few prototypes,
15099 which can conflict with char $ac_func (); below.
15100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15101 <limits.h> exists even on freestanding compilers. */
15103 #ifdef __STDC__
15104 # include <limits.h>
15105 #else
15106 # include <assert.h>
15107 #endif
15109 #undef $ac_func
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 #ifdef __cplusplus
15113 extern "C"
15115 #endif
15116 /* We use char because int might match the return type of a gcc2
15117 builtin and then its argument prototype would still apply. */
15118 char $ac_func ();
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15123 choke me
15124 #else
15125 char (*f) () = $ac_func;
15126 #endif
15127 #ifdef __cplusplus
15129 #endif
15132 main ()
15134 return f != $ac_func;
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_c_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 eval "$as_ac_var=yes"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 eval "$as_ac_var=no"
15168 rm -f conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15173 if test `eval echo '${'$as_ac_var'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15179 done
15181 else
15183 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15184 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15185 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15186 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15192 ac_ext=cc
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <math.h>
15205 #ifdef HAVE_IEEEFP_H
15206 #include <ieeefp.h>
15207 #endif
15210 main ()
15212 _logf(0);
15214 return 0;
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219 (eval $ac_compile) 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try='test -z "$ac_cxx_werror_flag"
15227 || test ! -s conftest.err'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; } &&
15233 { ac_try='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 glibcxx_cv_func__logf_use=yes
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15244 glibcxx_cv_func__logf_use=no
15246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15247 ac_ext=c
15248 ac_cpp='$CPP $CPPFLAGS'
15249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15258 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15260 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15262 for ac_func in _logf
15264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15265 echo "$as_me:$LINENO: checking for $ac_func" >&5
15266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15267 if eval "test \"\${$as_ac_var+set}\" = set"; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 if test x$gcc_no_link = xyes; then
15271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15273 { (exit 1); exit 1; }; }
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15283 #define $ac_func innocuous_$ac_func
15285 /* System header to define __stub macros and hopefully few prototypes,
15286 which can conflict with char $ac_func (); below.
15287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15288 <limits.h> exists even on freestanding compilers. */
15290 #ifdef __STDC__
15291 # include <limits.h>
15292 #else
15293 # include <assert.h>
15294 #endif
15296 #undef $ac_func
15298 /* Override any gcc2 internal prototype to avoid an error. */
15299 #ifdef __cplusplus
15300 extern "C"
15302 #endif
15303 /* We use char because int might match the return type of a gcc2
15304 builtin and then its argument prototype would still apply. */
15305 char $ac_func ();
15306 /* The GNU C library defines this for functions which it implements
15307 to always fail with ENOSYS. Some functions are actually named
15308 something starting with __ and the normal name is an alias. */
15309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15310 choke me
15311 #else
15312 char (*f) () = $ac_func;
15313 #endif
15314 #ifdef __cplusplus
15316 #endif
15319 main ()
15321 return f != $ac_func;
15323 return 0;
15325 _ACEOF
15326 rm -f conftest.$ac_objext conftest$ac_exeext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15328 (eval $ac_link) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_c_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 eval "$as_ac_var=yes"
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 eval "$as_ac_var=no"
15355 rm -f conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15360 if test `eval echo '${'$as_ac_var'}'` = yes; then
15361 cat >>confdefs.h <<_ACEOF
15362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15363 _ACEOF
15366 done
15373 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15374 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15375 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15376 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15382 ac_ext=cc
15383 ac_cpp='$CXXCPP $CPPFLAGS'
15384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15388 cat >conftest.$ac_ext <<_ACEOF
15389 /* confdefs.h. */
15390 _ACEOF
15391 cat confdefs.h >>conftest.$ac_ext
15392 cat >>conftest.$ac_ext <<_ACEOF
15393 /* end confdefs.h. */
15394 #include <math.h>
15395 #ifdef HAVE_IEEEFP_H
15396 #include <ieeefp.h>
15397 #endif
15400 main ()
15402 log10f(0);
15404 return 0;
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15410 ac_status=$?
15411 grep -v '^ *+' conftest.er1 >conftest.err
15412 rm -f conftest.er1
15413 cat conftest.err >&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try='test -z "$ac_cxx_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 glibcxx_cv_func_log10f_use=yes
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 glibcxx_cv_func_log10f_use=no
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15448 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15450 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15452 for ac_func in log10f
15454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 echo "$as_me:$LINENO: checking for $ac_func" >&5
15456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15457 if eval "test \"\${$as_ac_var+set}\" = set"; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 if test x$gcc_no_link = xyes; then
15461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463 { (exit 1); exit 1; }; }
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15473 #define $ac_func innocuous_$ac_func
15475 /* System header to define __stub macros and hopefully few prototypes,
15476 which can conflict with char $ac_func (); below.
15477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15478 <limits.h> exists even on freestanding compilers. */
15480 #ifdef __STDC__
15481 # include <limits.h>
15482 #else
15483 # include <assert.h>
15484 #endif
15486 #undef $ac_func
15488 /* Override any gcc2 internal prototype to avoid an error. */
15489 #ifdef __cplusplus
15490 extern "C"
15492 #endif
15493 /* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15495 char $ac_func ();
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 char (*f) () = $ac_func;
15503 #endif
15504 #ifdef __cplusplus
15506 #endif
15509 main ()
15511 return f != $ac_func;
15513 return 0;
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try='test -z "$ac_c_werror_flag"
15526 || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 eval "$as_ac_var=yes"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 eval "$as_ac_var=no"
15545 rm -f conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15550 if test `eval echo '${'$as_ac_var'}'` = yes; then
15551 cat >>confdefs.h <<_ACEOF
15552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 _ACEOF
15556 done
15558 else
15560 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15561 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15562 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15563 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15569 ac_ext=cc
15570 ac_cpp='$CXXCPP $CPPFLAGS'
15571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 #include <math.h>
15582 #ifdef HAVE_IEEEFP_H
15583 #include <ieeefp.h>
15584 #endif
15587 main ()
15589 _log10f(0);
15591 return 0;
15593 _ACEOF
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try='test -z "$ac_cxx_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 glibcxx_cv_func__log10f_use=yes
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 glibcxx_cv_func__log10f_use=no
15623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15635 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15637 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15639 for ac_func in _log10f
15641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 echo "$as_me:$LINENO: checking for $ac_func" >&5
15643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15644 if eval "test \"\${$as_ac_var+set}\" = set"; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 if test x$gcc_no_link = xyes; then
15648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15650 { (exit 1); exit 1; }; }
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15660 #define $ac_func innocuous_$ac_func
15662 /* System header to define __stub macros and hopefully few prototypes,
15663 which can conflict with char $ac_func (); below.
15664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15665 <limits.h> exists even on freestanding compilers. */
15667 #ifdef __STDC__
15668 # include <limits.h>
15669 #else
15670 # include <assert.h>
15671 #endif
15673 #undef $ac_func
15675 /* Override any gcc2 internal prototype to avoid an error. */
15676 #ifdef __cplusplus
15677 extern "C"
15679 #endif
15680 /* We use char because int might match the return type of a gcc2
15681 builtin and then its argument prototype would still apply. */
15682 char $ac_func ();
15683 /* The GNU C library defines this for functions which it implements
15684 to always fail with ENOSYS. Some functions are actually named
15685 something starting with __ and the normal name is an alias. */
15686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15687 choke me
15688 #else
15689 char (*f) () = $ac_func;
15690 #endif
15691 #ifdef __cplusplus
15693 #endif
15696 main ()
15698 return f != $ac_func;
15700 return 0;
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15706 ac_status=$?
15707 grep -v '^ *+' conftest.er1 >conftest.err
15708 rm -f conftest.er1
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15716 ac_status=$?
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try='test -s conftest$ac_exeext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 eval "$as_ac_var=yes"
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 eval "$as_ac_var=no"
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15737 if test `eval echo '${'$as_ac_var'}'` = yes; then
15738 cat >>confdefs.h <<_ACEOF
15739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15740 _ACEOF
15743 done
15750 echo "$as_me:$LINENO: checking for modff declaration" >&5
15751 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15752 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15753 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15759 ac_ext=cc
15760 ac_cpp='$CXXCPP $CPPFLAGS'
15761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 #include <math.h>
15773 main ()
15775 modff(0, 0);
15777 return 0;
15779 _ACEOF
15780 rm -f conftest.$ac_objext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15782 (eval $ac_compile) 2>conftest.er1
15783 ac_status=$?
15784 grep -v '^ *+' conftest.er1 >conftest.err
15785 rm -f conftest.er1
15786 cat conftest.err >&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try='test -z "$ac_cxx_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest.$ac_objext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 glibcxx_cv_func_modff_use=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15807 glibcxx_cv_func_modff_use=no
15809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15810 ac_ext=c
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15821 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15823 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15825 for ac_func in modff
15827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15828 echo "$as_me:$LINENO: checking for $ac_func" >&5
15829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15830 if eval "test \"\${$as_ac_var+set}\" = set"; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 if test x$gcc_no_link = xyes; then
15834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836 { (exit 1); exit 1; }; }
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15846 #define $ac_func innocuous_$ac_func
15848 /* System header to define __stub macros and hopefully few prototypes,
15849 which can conflict with char $ac_func (); below.
15850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15851 <limits.h> exists even on freestanding compilers. */
15853 #ifdef __STDC__
15854 # include <limits.h>
15855 #else
15856 # include <assert.h>
15857 #endif
15859 #undef $ac_func
15861 /* Override any gcc2 internal prototype to avoid an error. */
15862 #ifdef __cplusplus
15863 extern "C"
15865 #endif
15866 /* We use char because int might match the return type of a gcc2
15867 builtin and then its argument prototype would still apply. */
15868 char $ac_func ();
15869 /* The GNU C library defines this for functions which it implements
15870 to always fail with ENOSYS. Some functions are actually named
15871 something starting with __ and the normal name is an alias. */
15872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15873 choke me
15874 #else
15875 char (*f) () = $ac_func;
15876 #endif
15877 #ifdef __cplusplus
15879 #endif
15882 main ()
15884 return f != $ac_func;
15886 return 0;
15888 _ACEOF
15889 rm -f conftest.$ac_objext conftest$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag"
15899 || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest$ac_exeext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 eval "$as_ac_var=yes"
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15916 eval "$as_ac_var=no"
15918 rm -f conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15923 if test `eval echo '${'$as_ac_var'}'` = yes; then
15924 cat >>confdefs.h <<_ACEOF
15925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15926 _ACEOF
15929 done
15931 else
15933 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15934 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15935 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15936 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 else
15942 ac_ext=cc
15943 ac_cpp='$CXXCPP $CPPFLAGS'
15944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <math.h>
15956 main ()
15958 _modff(0, 0);
15960 return 0;
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_cxx_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 glibcxx_cv_func__modff_use=yes
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15990 glibcxx_cv_func__modff_use=no
15992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16004 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16006 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16008 for ac_func in _modff
16010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16011 echo "$as_me:$LINENO: checking for $ac_func" >&5
16012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16013 if eval "test \"\${$as_ac_var+set}\" = set"; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 if test x$gcc_no_link = xyes; then
16017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16019 { (exit 1); exit 1; }; }
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16029 #define $ac_func innocuous_$ac_func
16031 /* System header to define __stub macros and hopefully few prototypes,
16032 which can conflict with char $ac_func (); below.
16033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16034 <limits.h> exists even on freestanding compilers. */
16036 #ifdef __STDC__
16037 # include <limits.h>
16038 #else
16039 # include <assert.h>
16040 #endif
16042 #undef $ac_func
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 #ifdef __cplusplus
16046 extern "C"
16048 #endif
16049 /* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16051 char $ac_func ();
16052 /* The GNU C library defines this for functions which it implements
16053 to always fail with ENOSYS. Some functions are actually named
16054 something starting with __ and the normal name is an alias. */
16055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 choke me
16057 #else
16058 char (*f) () = $ac_func;
16059 #endif
16060 #ifdef __cplusplus
16062 #endif
16065 main ()
16067 return f != $ac_func;
16069 return 0;
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16074 (eval $ac_link) 2>conftest.er1
16075 ac_status=$?
16076 grep -v '^ *+' conftest.er1 >conftest.err
16077 rm -f conftest.er1
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag"
16082 || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest$ac_exeext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 eval "$as_ac_var=yes"
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 eval "$as_ac_var=no"
16101 rm -f conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16106 if test `eval echo '${'$as_ac_var'}'` = yes; then
16107 cat >>confdefs.h <<_ACEOF
16108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16109 _ACEOF
16112 done
16119 echo "$as_me:$LINENO: checking for powf declaration" >&5
16120 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16122 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16128 ac_ext=cc
16129 ac_cpp='$CXXCPP $CPPFLAGS'
16130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 #include <math.h>
16142 main ()
16144 powf(0, 0);
16146 return 0;
16148 _ACEOF
16149 rm -f conftest.$ac_objext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16151 (eval $ac_compile) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_cxx_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 glibcxx_cv_func_powf_use=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 glibcxx_cv_func_powf_use=no
16178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16179 ac_ext=c
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16190 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16192 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16194 for ac_func in powf
16196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16197 echo "$as_me:$LINENO: checking for $ac_func" >&5
16198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16199 if eval "test \"\${$as_ac_var+set}\" = set"; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test x$gcc_no_link = xyes; then
16203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16205 { (exit 1); exit 1; }; }
16207 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */
16209 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16215 #define $ac_func innocuous_$ac_func
16217 /* System header to define __stub macros and hopefully few prototypes,
16218 which can conflict with char $ac_func (); below.
16219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 <limits.h> exists even on freestanding compilers. */
16222 #ifdef __STDC__
16223 # include <limits.h>
16224 #else
16225 # include <assert.h>
16226 #endif
16228 #undef $ac_func
16230 /* Override any gcc2 internal prototype to avoid an error. */
16231 #ifdef __cplusplus
16232 extern "C"
16234 #endif
16235 /* We use char because int might match the return type of a gcc2
16236 builtin and then its argument prototype would still apply. */
16237 char $ac_func ();
16238 /* The GNU C library defines this for functions which it implements
16239 to always fail with ENOSYS. Some functions are actually named
16240 something starting with __ and the normal name is an alias. */
16241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16242 choke me
16243 #else
16244 char (*f) () = $ac_func;
16245 #endif
16246 #ifdef __cplusplus
16248 #endif
16251 main ()
16253 return f != $ac_func;
16255 return 0;
16257 _ACEOF
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16260 (eval $ac_link) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest$ac_exeext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 eval "$as_ac_var=yes"
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 eval "$as_ac_var=no"
16287 rm -f conftest.err conftest.$ac_objext \
16288 conftest$ac_exeext conftest.$ac_ext
16290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16292 if test `eval echo '${'$as_ac_var'}'` = yes; then
16293 cat >>confdefs.h <<_ACEOF
16294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16295 _ACEOF
16298 done
16300 else
16302 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16303 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16304 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16305 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 else
16311 ac_ext=cc
16312 ac_cpp='$CXXCPP $CPPFLAGS'
16313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 #include <math.h>
16325 main ()
16327 _powf(0, 0);
16329 return 0;
16331 _ACEOF
16332 rm -f conftest.$ac_objext
16333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16334 (eval $ac_compile) 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -z "$ac_cxx_werror_flag"
16342 || test ! -s conftest.err'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } &&
16348 { ac_try='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 glibcxx_cv_func__powf_use=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 glibcxx_cv_func__powf_use=no
16361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16362 ac_ext=c
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16373 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16377 for ac_func in _powf
16379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16380 echo "$as_me:$LINENO: checking for $ac_func" >&5
16381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16382 if eval "test \"\${$as_ac_var+set}\" = set"; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 if test x$gcc_no_link = xyes; then
16386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16388 { (exit 1); exit 1; }; }
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16398 #define $ac_func innocuous_$ac_func
16400 /* System header to define __stub macros and hopefully few prototypes,
16401 which can conflict with char $ac_func (); below.
16402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16403 <limits.h> exists even on freestanding compilers. */
16405 #ifdef __STDC__
16406 # include <limits.h>
16407 #else
16408 # include <assert.h>
16409 #endif
16411 #undef $ac_func
16413 /* Override any gcc2 internal prototype to avoid an error. */
16414 #ifdef __cplusplus
16415 extern "C"
16417 #endif
16418 /* We use char because int might match the return type of a gcc2
16419 builtin and then its argument prototype would still apply. */
16420 char $ac_func ();
16421 /* The GNU C library defines this for functions which it implements
16422 to always fail with ENOSYS. Some functions are actually named
16423 something starting with __ and the normal name is an alias. */
16424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16425 choke me
16426 #else
16427 char (*f) () = $ac_func;
16428 #endif
16429 #ifdef __cplusplus
16431 #endif
16434 main ()
16436 return f != $ac_func;
16438 return 0;
16440 _ACEOF
16441 rm -f conftest.$ac_objext conftest$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>conftest.er1
16444 ac_status=$?
16445 grep -v '^ *+' conftest.er1 >conftest.err
16446 rm -f conftest.er1
16447 cat conftest.err >&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try='test -z "$ac_c_werror_flag"
16451 || test ! -s conftest.err'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; } &&
16457 { ac_try='test -s conftest$ac_exeext'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; }; then
16463 eval "$as_ac_var=yes"
16464 else
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16468 eval "$as_ac_var=no"
16470 rm -f conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16475 if test `eval echo '${'$as_ac_var'}'` = yes; then
16476 cat >>confdefs.h <<_ACEOF
16477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16478 _ACEOF
16481 done
16488 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16489 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16490 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16491 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16497 ac_ext=cc
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <math.h>
16510 #ifdef HAVE_IEEEFP_H
16511 #include <ieeefp.h>
16512 #endif
16515 main ()
16517 sqrtf(0);
16519 return 0;
16521 _ACEOF
16522 rm -f conftest.$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 glibcxx_cv_func_sqrtf_use=yes
16545 else
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.$ac_ext >&5
16549 glibcxx_cv_func_sqrtf_use=no
16551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16552 ac_ext=c
16553 ac_cpp='$CPP $CPPFLAGS'
16554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16563 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16565 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16567 for ac_func in sqrtf
16569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16570 echo "$as_me:$LINENO: checking for $ac_func" >&5
16571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_var+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 if test x$gcc_no_link = xyes; then
16576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16578 { (exit 1); exit 1; }; }
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16588 #define $ac_func innocuous_$ac_func
16590 /* System header to define __stub macros and hopefully few prototypes,
16591 which can conflict with char $ac_func (); below.
16592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16593 <limits.h> exists even on freestanding compilers. */
16595 #ifdef __STDC__
16596 # include <limits.h>
16597 #else
16598 # include <assert.h>
16599 #endif
16601 #undef $ac_func
16603 /* Override any gcc2 internal prototype to avoid an error. */
16604 #ifdef __cplusplus
16605 extern "C"
16607 #endif
16608 /* We use char because int might match the return type of a gcc2
16609 builtin and then its argument prototype would still apply. */
16610 char $ac_func ();
16611 /* The GNU C library defines this for functions which it implements
16612 to always fail with ENOSYS. Some functions are actually named
16613 something starting with __ and the normal name is an alias. */
16614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16615 choke me
16616 #else
16617 char (*f) () = $ac_func;
16618 #endif
16619 #ifdef __cplusplus
16621 #endif
16624 main ()
16626 return f != $ac_func;
16628 return 0;
16630 _ACEOF
16631 rm -f conftest.$ac_objext conftest$ac_exeext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16633 (eval $ac_link) 2>conftest.er1
16634 ac_status=$?
16635 grep -v '^ *+' conftest.er1 >conftest.err
16636 rm -f conftest.er1
16637 cat conftest.err >&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try='test -z "$ac_c_werror_flag"
16641 || test ! -s conftest.err'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; } &&
16647 { ac_try='test -s conftest$ac_exeext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 eval "$as_ac_var=yes"
16654 else
16655 echo "$as_me: failed program was:" >&5
16656 sed 's/^/| /' conftest.$ac_ext >&5
16658 eval "$as_ac_var=no"
16660 rm -f conftest.err conftest.$ac_objext \
16661 conftest$ac_exeext conftest.$ac_ext
16663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16665 if test `eval echo '${'$as_ac_var'}'` = yes; then
16666 cat >>confdefs.h <<_ACEOF
16667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16668 _ACEOF
16671 done
16673 else
16675 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16676 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16684 ac_ext=cc
16685 ac_cpp='$CXXCPP $CPPFLAGS'
16686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 #ifdef HAVE_IEEEFP_H
16698 #include <ieeefp.h>
16699 #endif
16702 main ()
16704 _sqrtf(0);
16706 return 0;
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try='test -z "$ac_cxx_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 glibcxx_cv_func__sqrtf_use=yes
16732 else
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16736 glibcxx_cv_func__sqrtf_use=no
16738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16739 ac_ext=c
16740 ac_cpp='$CPP $CPPFLAGS'
16741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16750 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16752 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16754 for ac_func in _sqrtf
16756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16757 echo "$as_me:$LINENO: checking for $ac_func" >&5
16758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16759 if eval "test \"\${$as_ac_var+set}\" = set"; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16761 else
16762 if test x$gcc_no_link = xyes; then
16763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16765 { (exit 1); exit 1; }; }
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16775 #define $ac_func innocuous_$ac_func
16777 /* System header to define __stub macros and hopefully few prototypes,
16778 which can conflict with char $ac_func (); below.
16779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16780 <limits.h> exists even on freestanding compilers. */
16782 #ifdef __STDC__
16783 # include <limits.h>
16784 #else
16785 # include <assert.h>
16786 #endif
16788 #undef $ac_func
16790 /* Override any gcc2 internal prototype to avoid an error. */
16791 #ifdef __cplusplus
16792 extern "C"
16794 #endif
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16797 char $ac_func ();
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16802 choke me
16803 #else
16804 char (*f) () = $ac_func;
16805 #endif
16806 #ifdef __cplusplus
16808 #endif
16811 main ()
16813 return f != $ac_func;
16815 return 0;
16817 _ACEOF
16818 rm -f conftest.$ac_objext conftest$ac_exeext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16820 (eval $ac_link) 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag"
16828 || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try='test -s conftest$ac_exeext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 eval "$as_ac_var=yes"
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 eval "$as_ac_var=no"
16847 rm -f conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16852 if test `eval echo '${'$as_ac_var'}'` = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16855 _ACEOF
16858 done
16865 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16866 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16868 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 else
16874 ac_ext=cc
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 #include <math.h>
16888 main ()
16890 sincosf(0, 0, 0);
16892 return 0;
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_func_sincosf_use=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 glibcxx_cv_func_sincosf_use=no
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16936 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16940 for ac_func in sincosf
16942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16943 echo "$as_me:$LINENO: checking for $ac_func" >&5
16944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16945 if eval "test \"\${$as_ac_var+set}\" = set"; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 if test x$gcc_no_link = xyes; then
16949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16951 { (exit 1); exit 1; }; }
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16961 #define $ac_func innocuous_$ac_func
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func (); below.
16965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966 <limits.h> exists even on freestanding compilers. */
16968 #ifdef __STDC__
16969 # include <limits.h>
16970 #else
16971 # include <assert.h>
16972 #endif
16974 #undef $ac_func
16976 /* Override any gcc2 internal prototype to avoid an error. */
16977 #ifdef __cplusplus
16978 extern "C"
16980 #endif
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16983 char $ac_func ();
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16988 choke me
16989 #else
16990 char (*f) () = $ac_func;
16991 #endif
16992 #ifdef __cplusplus
16994 #endif
16997 main ()
16999 return f != $ac_func;
17001 return 0;
17003 _ACEOF
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 eval "$as_ac_var=yes"
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17031 eval "$as_ac_var=no"
17033 rm -f conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17038 if test `eval echo '${'$as_ac_var'}'` = yes; then
17039 cat >>confdefs.h <<_ACEOF
17040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17041 _ACEOF
17044 done
17046 else
17048 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17049 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17050 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17051 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17057 ac_ext=cc
17058 ac_cpp='$CXXCPP $CPPFLAGS'
17059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 #include <math.h>
17071 main ()
17073 _sincosf(0, 0, 0);
17075 return 0;
17077 _ACEOF
17078 rm -f conftest.$ac_objext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080 (eval $ac_compile) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try='test -z "$ac_cxx_werror_flag"
17088 || test ! -s conftest.err'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; } &&
17094 { ac_try='test -s conftest.$ac_objext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 glibcxx_cv_func__sincosf_use=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 glibcxx_cv_func__sincosf_use=no
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 ac_ext=c
17109 ac_cpp='$CPP $CPPFLAGS'
17110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17119 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17121 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17123 for ac_func in _sincosf
17125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17126 echo "$as_me:$LINENO: checking for $ac_func" >&5
17127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17128 if eval "test \"\${$as_ac_var+set}\" = set"; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 if test x$gcc_no_link = xyes; then
17132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17134 { (exit 1); exit 1; }; }
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17144 #define $ac_func innocuous_$ac_func
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func (); below.
17148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17149 <limits.h> exists even on freestanding compilers. */
17151 #ifdef __STDC__
17152 # include <limits.h>
17153 #else
17154 # include <assert.h>
17155 #endif
17157 #undef $ac_func
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 #ifdef __cplusplus
17161 extern "C"
17163 #endif
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17166 char $ac_func ();
17167 /* The GNU C library defines this for functions which it implements
17168 to always fail with ENOSYS. Some functions are actually named
17169 something starting with __ and the normal name is an alias. */
17170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 choke me
17172 #else
17173 char (*f) () = $ac_func;
17174 #endif
17175 #ifdef __cplusplus
17177 #endif
17180 main ()
17182 return f != $ac_func;
17184 return 0;
17186 _ACEOF
17187 rm -f conftest.$ac_objext conftest$ac_exeext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17189 (eval $ac_link) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try='test -s conftest$ac_exeext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 eval "$as_ac_var=yes"
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 eval "$as_ac_var=no"
17216 rm -f conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17221 if test `eval echo '${'$as_ac_var'}'` = yes; then
17222 cat >>confdefs.h <<_ACEOF
17223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 _ACEOF
17227 done
17234 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17235 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17236 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17237 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17243 ac_ext=cc
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 #include <math.h>
17256 #ifdef HAVE_IEEEFP_H
17257 #include <ieeefp.h>
17258 #endif
17261 main ()
17263 finitef(0);
17265 return 0;
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17270 (eval $ac_compile) 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try='test -z "$ac_cxx_werror_flag"
17278 || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try='test -s conftest.$ac_objext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17287 ac_status=$?
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 glibcxx_cv_func_finitef_use=yes
17291 else
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17295 glibcxx_cv_func_finitef_use=no
17297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ac_ext=c
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17309 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17311 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17313 for ac_func in finitef
17315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 echo "$as_me:$LINENO: checking for $ac_func" >&5
17317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17318 if eval "test \"\${$as_ac_var+set}\" = set"; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 if test x$gcc_no_link = xyes; then
17322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17324 { (exit 1); exit 1; }; }
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17334 #define $ac_func innocuous_$ac_func
17336 /* System header to define __stub macros and hopefully few prototypes,
17337 which can conflict with char $ac_func (); below.
17338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17339 <limits.h> exists even on freestanding compilers. */
17341 #ifdef __STDC__
17342 # include <limits.h>
17343 #else
17344 # include <assert.h>
17345 #endif
17347 #undef $ac_func
17349 /* Override any gcc2 internal prototype to avoid an error. */
17350 #ifdef __cplusplus
17351 extern "C"
17353 #endif
17354 /* We use char because int might match the return type of a gcc2
17355 builtin and then its argument prototype would still apply. */
17356 char $ac_func ();
17357 /* The GNU C library defines this for functions which it implements
17358 to always fail with ENOSYS. Some functions are actually named
17359 something starting with __ and the normal name is an alias. */
17360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17361 choke me
17362 #else
17363 char (*f) () = $ac_func;
17364 #endif
17365 #ifdef __cplusplus
17367 #endif
17370 main ()
17372 return f != $ac_func;
17374 return 0;
17376 _ACEOF
17377 rm -f conftest.$ac_objext conftest$ac_exeext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17379 (eval $ac_link) 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try='test -z "$ac_c_werror_flag"
17387 || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest$ac_exeext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 eval "$as_ac_var=yes"
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 eval "$as_ac_var=no"
17406 rm -f conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17411 if test `eval echo '${'$as_ac_var'}'` = yes; then
17412 cat >>confdefs.h <<_ACEOF
17413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17414 _ACEOF
17417 done
17419 else
17421 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17422 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17423 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17424 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17430 ac_ext=cc
17431 ac_cpp='$CXXCPP $CPPFLAGS'
17432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <math.h>
17443 #ifdef HAVE_IEEEFP_H
17444 #include <ieeefp.h>
17445 #endif
17448 main ()
17450 _finitef(0);
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_cxx_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 glibcxx_cv_func__finitef_use=yes
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 glibcxx_cv_func__finitef_use=no
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17496 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17498 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17500 for ac_func in _finitef
17502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17503 echo "$as_me:$LINENO: checking for $ac_func" >&5
17504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17505 if eval "test \"\${$as_ac_var+set}\" = set"; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 if test x$gcc_no_link = xyes; then
17509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17511 { (exit 1); exit 1; }; }
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17521 #define $ac_func innocuous_$ac_func
17523 /* System header to define __stub macros and hopefully few prototypes,
17524 which can conflict with char $ac_func (); below.
17525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17526 <limits.h> exists even on freestanding compilers. */
17528 #ifdef __STDC__
17529 # include <limits.h>
17530 #else
17531 # include <assert.h>
17532 #endif
17534 #undef $ac_func
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 #ifdef __cplusplus
17538 extern "C"
17540 #endif
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17543 char $ac_func ();
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17548 choke me
17549 #else
17550 char (*f) () = $ac_func;
17551 #endif
17552 #ifdef __cplusplus
17554 #endif
17557 main ()
17559 return f != $ac_func;
17561 return 0;
17563 _ACEOF
17564 rm -f conftest.$ac_objext conftest$ac_exeext
17565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17566 (eval $ac_link) 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try='test -z "$ac_c_werror_flag"
17574 || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 eval "$as_ac_var=yes"
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 eval "$as_ac_var=no"
17593 rm -f conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17598 if test `eval echo '${'$as_ac_var'}'` = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17601 _ACEOF
17604 done
17611 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17612 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17613 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17619 ac_ext=cc
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <math.h>
17633 main ()
17635 `for x in acosl asinl atanl \
17636 cosl sinl tanl \
17637 coshl sinhl tanhl; do echo "$x (0);"; done`
17639 return 0;
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_cxx_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 glibcxx_cv_func_long_double_trig_use=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 glibcxx_cv_func_long_double_trig_use=no
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 ac_ext=c
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17681 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17682 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17692 for ac_func in acosl asinl atanl \
17693 cosl sinl tanl \
17694 coshl sinhl tanhl
17696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17697 echo "$as_me:$LINENO: checking for $ac_func" >&5
17698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_var+set}\" = set"; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702 if test x$gcc_no_link = xyes; then
17703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17705 { (exit 1); exit 1; }; }
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17715 #define $ac_func innocuous_$ac_func
17717 /* System header to define __stub macros and hopefully few prototypes,
17718 which can conflict with char $ac_func (); below.
17719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17720 <limits.h> exists even on freestanding compilers. */
17722 #ifdef __STDC__
17723 # include <limits.h>
17724 #else
17725 # include <assert.h>
17726 #endif
17728 #undef $ac_func
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 #ifdef __cplusplus
17732 extern "C"
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17737 char $ac_func ();
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 choke me
17743 #else
17744 char (*f) () = $ac_func;
17745 #endif
17746 #ifdef __cplusplus
17748 #endif
17751 main ()
17753 return f != $ac_func;
17755 return 0;
17757 _ACEOF
17758 rm -f conftest.$ac_objext conftest$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag"
17768 || test ! -s conftest.err'
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); }; } &&
17774 { ac_try='test -s conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 eval "$as_ac_var=yes"
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17785 eval "$as_ac_var=no"
17787 rm -f conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17792 if test `eval echo '${'$as_ac_var'}'` = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17798 done
17803 echo "$as_me:$LINENO: checking for long double round functions" >&5
17804 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17805 if test "${glibcxx_cv_func_long_double_round_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 `for x in ceill floorl; do echo "$x (0);"; done`
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_long_double_round_use=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 glibcxx_cv_func_long_double_round_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
17870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17871 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17872 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17875 for ac_func in ceill floorl
17877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 echo "$as_me:$LINENO: checking for $ac_func" >&5
17879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17880 if eval "test \"\${$as_ac_var+set}\" = set"; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 if test x$gcc_no_link = xyes; then
17884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17886 { (exit 1); exit 1; }; }
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17896 #define $ac_func innocuous_$ac_func
17898 /* System header to define __stub macros and hopefully few prototypes,
17899 which can conflict with char $ac_func (); below.
17900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901 <limits.h> exists even on freestanding compilers. */
17903 #ifdef __STDC__
17904 # include <limits.h>
17905 #else
17906 # include <assert.h>
17907 #endif
17909 #undef $ac_func
17911 /* Override any gcc2 internal prototype to avoid an error. */
17912 #ifdef __cplusplus
17913 extern "C"
17915 #endif
17916 /* We use char because int might match the return type of a gcc2
17917 builtin and then its argument prototype would still apply. */
17918 char $ac_func ();
17919 /* The GNU C library defines this for functions which it implements
17920 to always fail with ENOSYS. Some functions are actually named
17921 something starting with __ and the normal name is an alias. */
17922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 choke me
17924 #else
17925 char (*f) () = $ac_func;
17926 #endif
17927 #ifdef __cplusplus
17929 #endif
17932 main ()
17934 return f != $ac_func;
17936 return 0;
17938 _ACEOF
17939 rm -f conftest.$ac_objext conftest$ac_exeext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17941 (eval $ac_link) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest$ac_exeext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 eval "$as_ac_var=yes"
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17966 eval "$as_ac_var=no"
17968 rm -f conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17973 if test `eval echo '${'$as_ac_var'}'` = yes; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17976 _ACEOF
17979 done
17985 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
17986 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
17987 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
17988 if test "${glibcxx_cv_func_isnanl_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>
18007 #ifdef HAVE_IEEEFP_H
18008 #include <ieeefp.h>
18009 #endif
18012 main ()
18014 isnanl(0);
18016 return 0;
18018 _ACEOF
18019 rm -f conftest.$ac_objext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18021 (eval $ac_compile) 2>conftest.er1
18022 ac_status=$?
18023 grep -v '^ *+' conftest.er1 >conftest.err
18024 rm -f conftest.er1
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } &&
18028 { ac_try='test -z "$ac_cxx_werror_flag"
18029 || test ! -s conftest.err'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; } &&
18035 { ac_try='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 glibcxx_cv_func_isnanl_use=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 glibcxx_cv_func_isnanl_use=no
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 ac_ext=c
18050 ac_cpp='$CPP $CPPFLAGS'
18051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18060 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18062 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18064 for ac_func in isnanl
18066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18067 echo "$as_me:$LINENO: checking for $ac_func" >&5
18068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18069 if eval "test \"\${$as_ac_var+set}\" = set"; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072 if test x$gcc_no_link = xyes; then
18073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18075 { (exit 1); exit 1; }; }
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18085 #define $ac_func innocuous_$ac_func
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func (); below.
18089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18090 <limits.h> exists even on freestanding compilers. */
18092 #ifdef __STDC__
18093 # include <limits.h>
18094 #else
18095 # include <assert.h>
18096 #endif
18098 #undef $ac_func
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 #ifdef __cplusplus
18102 extern "C"
18104 #endif
18105 /* We use char because int might match the return type of a gcc2
18106 builtin and then its argument prototype would still apply. */
18107 char $ac_func ();
18108 /* The GNU C library defines this for functions which it implements
18109 to always fail with ENOSYS. Some functions are actually named
18110 something starting with __ and the normal name is an alias. */
18111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18112 choke me
18113 #else
18114 char (*f) () = $ac_func;
18115 #endif
18116 #ifdef __cplusplus
18118 #endif
18121 main ()
18123 return f != $ac_func;
18125 return 0;
18127 _ACEOF
18128 rm -f conftest.$ac_objext conftest$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } &&
18137 { ac_try='test -z "$ac_c_werror_flag"
18138 || test ! -s conftest.err'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } &&
18144 { ac_try='test -s conftest$ac_exeext'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; }; then
18150 eval "$as_ac_var=yes"
18151 else
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.$ac_ext >&5
18155 eval "$as_ac_var=no"
18157 rm -f conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18162 if test `eval echo '${'$as_ac_var'}'` = yes; then
18163 cat >>confdefs.h <<_ACEOF
18164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18165 _ACEOF
18168 done
18170 else
18172 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18173 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18176 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 else
18181 ac_ext=cc
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 #include <math.h>
18194 #ifdef HAVE_IEEEFP_H
18195 #include <ieeefp.h>
18196 #endif
18199 main ()
18201 _isnanl(0);
18203 return 0;
18205 _ACEOF
18206 rm -f conftest.$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_cxx_werror_flag"
18216 || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 glibcxx_cv_func__isnanl_use=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 glibcxx_cv_func__isnanl_use=no
18235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 ac_ext=c
18237 ac_cpp='$CPP $CPPFLAGS'
18238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18247 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18249 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18251 for ac_func in _isnanl
18253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18254 echo "$as_me:$LINENO: checking for $ac_func" >&5
18255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18256 if eval "test \"\${$as_ac_var+set}\" = set"; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259 if test x$gcc_no_link = xyes; then
18260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18262 { (exit 1); exit 1; }; }
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18272 #define $ac_func innocuous_$ac_func
18274 /* System header to define __stub macros and hopefully few prototypes,
18275 which can conflict with char $ac_func (); below.
18276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18277 <limits.h> exists even on freestanding compilers. */
18279 #ifdef __STDC__
18280 # include <limits.h>
18281 #else
18282 # include <assert.h>
18283 #endif
18285 #undef $ac_func
18287 /* Override any gcc2 internal prototype to avoid an error. */
18288 #ifdef __cplusplus
18289 extern "C"
18291 #endif
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18294 char $ac_func ();
18295 /* The GNU C library defines this for functions which it implements
18296 to always fail with ENOSYS. Some functions are actually named
18297 something starting with __ and the normal name is an alias. */
18298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18299 choke me
18300 #else
18301 char (*f) () = $ac_func;
18302 #endif
18303 #ifdef __cplusplus
18305 #endif
18308 main ()
18310 return f != $ac_func;
18312 return 0;
18314 _ACEOF
18315 rm -f conftest.$ac_objext conftest$ac_exeext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18317 (eval $ac_link) 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest$ac_exeext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 eval "$as_ac_var=yes"
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18342 eval "$as_ac_var=no"
18344 rm -f conftest.err conftest.$ac_objext \
18345 conftest$ac_exeext conftest.$ac_ext
18347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18349 if test `eval echo '${'$as_ac_var'}'` = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18352 _ACEOF
18355 done
18362 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18363 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18364 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18365 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18371 ac_ext=cc
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <math.h>
18384 #ifdef HAVE_IEEEFP_H
18385 #include <ieeefp.h>
18386 #endif
18389 main ()
18391 isinfl(0);
18393 return 0;
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try='test -z "$ac_cxx_werror_flag"
18406 || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 glibcxx_cv_func_isinfl_use=yes
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18423 glibcxx_cv_func_isinfl_use=no
18425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18426 ac_ext=c
18427 ac_cpp='$CPP $CPPFLAGS'
18428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18437 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18439 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18441 for ac_func in isinfl
18443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18444 echo "$as_me:$LINENO: checking for $ac_func" >&5
18445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18446 if eval "test \"\${$as_ac_var+set}\" = set"; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 if test x$gcc_no_link = xyes; then
18450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18452 { (exit 1); exit 1; }; }
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18462 #define $ac_func innocuous_$ac_func
18464 /* System header to define __stub macros and hopefully few prototypes,
18465 which can conflict with char $ac_func (); below.
18466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18467 <limits.h> exists even on freestanding compilers. */
18469 #ifdef __STDC__
18470 # include <limits.h>
18471 #else
18472 # include <assert.h>
18473 #endif
18475 #undef $ac_func
18477 /* Override any gcc2 internal prototype to avoid an error. */
18478 #ifdef __cplusplus
18479 extern "C"
18481 #endif
18482 /* We use char because int might match the return type of a gcc2
18483 builtin and then its argument prototype would still apply. */
18484 char $ac_func ();
18485 /* The GNU C library defines this for functions which it implements
18486 to always fail with ENOSYS. Some functions are actually named
18487 something starting with __ and the normal name is an alias. */
18488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18489 choke me
18490 #else
18491 char (*f) () = $ac_func;
18492 #endif
18493 #ifdef __cplusplus
18495 #endif
18498 main ()
18500 return f != $ac_func;
18502 return 0;
18504 _ACEOF
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18507 (eval $ac_link) 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_c_werror_flag"
18515 || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18518 ac_status=$?
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try='test -s conftest$ac_exeext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 eval "$as_ac_var=yes"
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 eval "$as_ac_var=no"
18534 rm -f conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18539 if test `eval echo '${'$as_ac_var'}'` = yes; then
18540 cat >>confdefs.h <<_ACEOF
18541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18542 _ACEOF
18545 done
18547 else
18549 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18550 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18551 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18552 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18558 ac_ext=cc
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <math.h>
18571 #ifdef HAVE_IEEEFP_H
18572 #include <ieeefp.h>
18573 #endif
18576 main ()
18578 _isinfl(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__isinfl_use=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 glibcxx_cv_func__isinfl_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
18623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18624 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18626 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18628 for ac_func in _isinfl
18630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18631 echo "$as_me:$LINENO: checking for $ac_func" >&5
18632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18633 if eval "test \"\${$as_ac_var+set}\" = set"; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636 if test x$gcc_no_link = xyes; then
18637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18639 { (exit 1); exit 1; }; }
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18649 #define $ac_func innocuous_$ac_func
18651 /* System header to define __stub macros and hopefully few prototypes,
18652 which can conflict with char $ac_func (); below.
18653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18654 <limits.h> exists even on freestanding compilers. */
18656 #ifdef __STDC__
18657 # include <limits.h>
18658 #else
18659 # include <assert.h>
18660 #endif
18662 #undef $ac_func
18664 /* Override any gcc2 internal prototype to avoid an error. */
18665 #ifdef __cplusplus
18666 extern "C"
18668 #endif
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18671 char $ac_func ();
18672 /* The GNU C library defines this for functions which it implements
18673 to always fail with ENOSYS. Some functions are actually named
18674 something starting with __ and the normal name is an alias. */
18675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 choke me
18677 #else
18678 char (*f) () = $ac_func;
18679 #endif
18680 #ifdef __cplusplus
18682 #endif
18685 main ()
18687 return f != $ac_func;
18689 return 0;
18691 _ACEOF
18692 rm -f conftest.$ac_objext conftest$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694 (eval $ac_link) 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -z "$ac_c_werror_flag"
18702 || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest$ac_exeext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18711 ac_status=$?
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 eval "$as_ac_var=yes"
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18719 eval "$as_ac_var=no"
18721 rm -f conftest.err conftest.$ac_objext \
18722 conftest$ac_exeext conftest.$ac_ext
18724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18726 if test `eval echo '${'$as_ac_var'}'` = yes; then
18727 cat >>confdefs.h <<_ACEOF
18728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18729 _ACEOF
18732 done
18739 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18740 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18741 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18742 if test "${glibcxx_cv_func_copysignl_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 copysignl(0, 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_copysignl_use=yes
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 glibcxx_cv_func_copysignl_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
18809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18810 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18812 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18814 for ac_func in copysignl
18816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18817 echo "$as_me:$LINENO: checking for $ac_func" >&5
18818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18819 if eval "test \"\${$as_ac_var+set}\" = set"; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822 if test x$gcc_no_link = xyes; then
18823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18825 { (exit 1); exit 1; }; }
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18835 #define $ac_func innocuous_$ac_func
18837 /* System header to define __stub macros and hopefully few prototypes,
18838 which can conflict with char $ac_func (); below.
18839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18840 <limits.h> exists even on freestanding compilers. */
18842 #ifdef __STDC__
18843 # include <limits.h>
18844 #else
18845 # include <assert.h>
18846 #endif
18848 #undef $ac_func
18850 /* Override any gcc2 internal prototype to avoid an error. */
18851 #ifdef __cplusplus
18852 extern "C"
18854 #endif
18855 /* We use char because int might match the return type of a gcc2
18856 builtin and then its argument prototype would still apply. */
18857 char $ac_func ();
18858 /* The GNU C library defines this for functions which it implements
18859 to always fail with ENOSYS. Some functions are actually named
18860 something starting with __ and the normal name is an alias. */
18861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18862 choke me
18863 #else
18864 char (*f) () = $ac_func;
18865 #endif
18866 #ifdef __cplusplus
18868 #endif
18871 main ()
18873 return f != $ac_func;
18875 return 0;
18877 _ACEOF
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18880 (eval $ac_link) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest$ac_exeext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 eval "$as_ac_var=yes"
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18905 eval "$as_ac_var=no"
18907 rm -f conftest.err conftest.$ac_objext \
18908 conftest$ac_exeext conftest.$ac_ext
18910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18912 if test `eval echo '${'$as_ac_var'}'` = yes; then
18913 cat >>confdefs.h <<_ACEOF
18914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18915 _ACEOF
18918 done
18920 else
18922 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18923 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18924 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18925 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18931 ac_ext=cc
18932 ac_cpp='$CXXCPP $CPPFLAGS'
18933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937 cat >conftest.$ac_ext <<_ACEOF
18938 /* confdefs.h. */
18939 _ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 #include <math.h>
18945 main ()
18947 _copysignl(0, 0);
18949 return 0;
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 glibcxx_cv_func__copysignl_use=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 glibcxx_cv_func__copysignl_use=no
18981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18982 ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
18993 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
18995 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
18997 for ac_func in _copysignl
18999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 echo "$as_me:$LINENO: checking for $ac_func" >&5
19001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19002 if eval "test \"\${$as_ac_var+set}\" = set"; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else
19005 if test x$gcc_no_link = xyes; then
19006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19008 { (exit 1); exit 1; }; }
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19018 #define $ac_func innocuous_$ac_func
19020 /* System header to define __stub macros and hopefully few prototypes,
19021 which can conflict with char $ac_func (); below.
19022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19023 <limits.h> exists even on freestanding compilers. */
19025 #ifdef __STDC__
19026 # include <limits.h>
19027 #else
19028 # include <assert.h>
19029 #endif
19031 #undef $ac_func
19033 /* Override any gcc2 internal prototype to avoid an error. */
19034 #ifdef __cplusplus
19035 extern "C"
19037 #endif
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19040 char $ac_func ();
19041 /* The GNU C library defines this for functions which it implements
19042 to always fail with ENOSYS. Some functions are actually named
19043 something starting with __ and the normal name is an alias. */
19044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19045 choke me
19046 #else
19047 char (*f) () = $ac_func;
19048 #endif
19049 #ifdef __cplusplus
19051 #endif
19054 main ()
19056 return f != $ac_func;
19058 return 0;
19060 _ACEOF
19061 rm -f conftest.$ac_objext conftest$ac_exeext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19063 (eval $ac_link) 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try='test -z "$ac_c_werror_flag"
19071 || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 eval "$as_ac_var=yes"
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 eval "$as_ac_var=no"
19090 rm -f conftest.err conftest.$ac_objext \
19091 conftest$ac_exeext conftest.$ac_ext
19093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19095 if test `eval echo '${'$as_ac_var'}'` = yes; then
19096 cat >>confdefs.h <<_ACEOF
19097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19098 _ACEOF
19101 done
19108 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19109 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19111 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19117 ac_ext=cc
19118 ac_cpp='$CXXCPP $CPPFLAGS'
19119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <math.h>
19131 main ()
19133 atan2l(0, 0);
19135 return 0;
19137 _ACEOF
19138 rm -f conftest.$ac_objext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19140 (eval $ac_compile) 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } &&
19147 { ac_try='test -z "$ac_cxx_werror_flag"
19148 || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19151 ac_status=$?
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19157 ac_status=$?
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160 glibcxx_cv_func_atan2l_use=yes
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19165 glibcxx_cv_func_atan2l_use=no
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 ac_ext=c
19169 ac_cpp='$CPP $CPPFLAGS'
19170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19179 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19183 for ac_func in atan2l
19185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19186 echo "$as_me:$LINENO: checking for $ac_func" >&5
19187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19188 if eval "test \"\${$as_ac_var+set}\" = set"; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191 if test x$gcc_no_link = xyes; then
19192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19194 { (exit 1); exit 1; }; }
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19204 #define $ac_func innocuous_$ac_func
19206 /* System header to define __stub macros and hopefully few prototypes,
19207 which can conflict with char $ac_func (); below.
19208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19209 <limits.h> exists even on freestanding compilers. */
19211 #ifdef __STDC__
19212 # include <limits.h>
19213 #else
19214 # include <assert.h>
19215 #endif
19217 #undef $ac_func
19219 /* Override any gcc2 internal prototype to avoid an error. */
19220 #ifdef __cplusplus
19221 extern "C"
19223 #endif
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19226 char $ac_func ();
19227 /* The GNU C library defines this for functions which it implements
19228 to always fail with ENOSYS. Some functions are actually named
19229 something starting with __ and the normal name is an alias. */
19230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19231 choke me
19232 #else
19233 char (*f) () = $ac_func;
19234 #endif
19235 #ifdef __cplusplus
19237 #endif
19240 main ()
19242 return f != $ac_func;
19244 return 0;
19246 _ACEOF
19247 rm -f conftest.$ac_objext conftest$ac_exeext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249 (eval $ac_link) 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest$ac_exeext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 eval "$as_ac_var=yes"
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 eval "$as_ac_var=no"
19276 rm -f conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19281 if test `eval echo '${'$as_ac_var'}'` = yes; then
19282 cat >>confdefs.h <<_ACEOF
19283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19284 _ACEOF
19287 done
19289 else
19291 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19292 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19300 ac_ext=cc
19301 ac_cpp='$CXXCPP $CPPFLAGS'
19302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <math.h>
19314 main ()
19316 _atan2l(0, 0);
19318 return 0;
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_cxx_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 glibcxx_cv_func__atan2l_use=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19348 glibcxx_cv_func__atan2l_use=no
19350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19351 ac_ext=c
19352 ac_cpp='$CPP $CPPFLAGS'
19353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19364 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19366 for ac_func in _atan2l
19368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19369 echo "$as_me:$LINENO: checking for $ac_func" >&5
19370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19371 if eval "test \"\${$as_ac_var+set}\" = set"; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 else
19374 if test x$gcc_no_link = xyes; then
19375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19377 { (exit 1); exit 1; }; }
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19387 #define $ac_func innocuous_$ac_func
19389 /* System header to define __stub macros and hopefully few prototypes,
19390 which can conflict with char $ac_func (); below.
19391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19392 <limits.h> exists even on freestanding compilers. */
19394 #ifdef __STDC__
19395 # include <limits.h>
19396 #else
19397 # include <assert.h>
19398 #endif
19400 #undef $ac_func
19402 /* Override any gcc2 internal prototype to avoid an error. */
19403 #ifdef __cplusplus
19404 extern "C"
19406 #endif
19407 /* We use char because int might match the return type of a gcc2
19408 builtin and then its argument prototype would still apply. */
19409 char $ac_func ();
19410 /* The GNU C library defines this for functions which it implements
19411 to always fail with ENOSYS. Some functions are actually named
19412 something starting with __ and the normal name is an alias. */
19413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19414 choke me
19415 #else
19416 char (*f) () = $ac_func;
19417 #endif
19418 #ifdef __cplusplus
19420 #endif
19423 main ()
19425 return f != $ac_func;
19427 return 0;
19429 _ACEOF
19430 rm -f conftest.$ac_objext conftest$ac_exeext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432 (eval $ac_link) 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -z "$ac_c_werror_flag"
19440 || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest$ac_exeext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 eval "$as_ac_var=yes"
19453 else
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19457 eval "$as_ac_var=no"
19459 rm -f conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19464 if test `eval echo '${'$as_ac_var'}'` = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19467 _ACEOF
19470 done
19477 echo "$as_me:$LINENO: checking for expl declaration" >&5
19478 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19479 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19480 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 else
19486 ac_ext=cc
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19492 cat >conftest.$ac_ext <<_ACEOF
19493 /* confdefs.h. */
19494 _ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #include <math.h>
19499 #ifdef HAVE_IEEEFP_H
19500 #include <ieeefp.h>
19501 #endif
19504 main ()
19506 expl(0);
19508 return 0;
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19514 ac_status=$?
19515 grep -v '^ *+' conftest.er1 >conftest.err
19516 rm -f conftest.er1
19517 cat conftest.err >&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try='test -z "$ac_cxx_werror_flag"
19521 || test ! -s conftest.err'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 glibcxx_cv_func_expl_use=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 glibcxx_cv_func_expl_use=no
19540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19541 ac_ext=c
19542 ac_cpp='$CPP $CPPFLAGS'
19543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19552 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19554 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19556 for ac_func in expl
19558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19559 echo "$as_me:$LINENO: checking for $ac_func" >&5
19560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19561 if eval "test \"\${$as_ac_var+set}\" = set"; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19567 { (exit 1); exit 1; }; }
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19577 #define $ac_func innocuous_$ac_func
19579 /* System header to define __stub macros and hopefully few prototypes,
19580 which can conflict with char $ac_func (); below.
19581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19582 <limits.h> exists even on freestanding compilers. */
19584 #ifdef __STDC__
19585 # include <limits.h>
19586 #else
19587 # include <assert.h>
19588 #endif
19590 #undef $ac_func
19592 /* Override any gcc2 internal prototype to avoid an error. */
19593 #ifdef __cplusplus
19594 extern "C"
19596 #endif
19597 /* We use char because int might match the return type of a gcc2
19598 builtin and then its argument prototype would still apply. */
19599 char $ac_func ();
19600 /* The GNU C library defines this for functions which it implements
19601 to always fail with ENOSYS. Some functions are actually named
19602 something starting with __ and the normal name is an alias. */
19603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19604 choke me
19605 #else
19606 char (*f) () = $ac_func;
19607 #endif
19608 #ifdef __cplusplus
19610 #endif
19613 main ()
19615 return f != $ac_func;
19617 return 0;
19619 _ACEOF
19620 rm -f conftest.$ac_objext conftest$ac_exeext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19622 (eval $ac_link) 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try='test -z "$ac_c_werror_flag"
19630 || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try='test -s conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 eval "$as_ac_var=yes"
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 eval "$as_ac_var=no"
19649 rm -f conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19654 if test `eval echo '${'$as_ac_var'}'` = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19657 _ACEOF
19660 done
19662 else
19664 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19665 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19666 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19667 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19673 ac_ext=cc
19674 ac_cpp='$CXXCPP $CPPFLAGS'
19675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 #include <math.h>
19686 #ifdef HAVE_IEEEFP_H
19687 #include <ieeefp.h>
19688 #endif
19691 main ()
19693 _expl(0);
19695 return 0;
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_cxx_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 glibcxx_cv_func__expl_use=yes
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19725 glibcxx_cv_func__expl_use=no
19727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19728 ac_ext=c
19729 ac_cpp='$CPP $CPPFLAGS'
19730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19739 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19741 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19743 for ac_func in _expl
19745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19746 echo "$as_me:$LINENO: checking for $ac_func" >&5
19747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19748 if eval "test \"\${$as_ac_var+set}\" = set"; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19751 if test x$gcc_no_link = xyes; then
19752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19754 { (exit 1); exit 1; }; }
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19764 #define $ac_func innocuous_$ac_func
19766 /* System header to define __stub macros and hopefully few prototypes,
19767 which can conflict with char $ac_func (); below.
19768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19769 <limits.h> exists even on freestanding compilers. */
19771 #ifdef __STDC__
19772 # include <limits.h>
19773 #else
19774 # include <assert.h>
19775 #endif
19777 #undef $ac_func
19779 /* Override any gcc2 internal prototype to avoid an error. */
19780 #ifdef __cplusplus
19781 extern "C"
19783 #endif
19784 /* We use char because int might match the return type of a gcc2
19785 builtin and then its argument prototype would still apply. */
19786 char $ac_func ();
19787 /* The GNU C library defines this for functions which it implements
19788 to always fail with ENOSYS. Some functions are actually named
19789 something starting with __ and the normal name is an alias. */
19790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19791 choke me
19792 #else
19793 char (*f) () = $ac_func;
19794 #endif
19795 #ifdef __cplusplus
19797 #endif
19800 main ()
19802 return f != $ac_func;
19804 return 0;
19806 _ACEOF
19807 rm -f conftest.$ac_objext conftest$ac_exeext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19809 (eval $ac_link) 2>conftest.er1
19810 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try='test -z "$ac_c_werror_flag"
19817 || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest$ac_exeext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 eval "$as_ac_var=yes"
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 eval "$as_ac_var=no"
19836 rm -f conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext conftest.$ac_ext
19839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19841 if test `eval echo '${'$as_ac_var'}'` = yes; then
19842 cat >>confdefs.h <<_ACEOF
19843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19844 _ACEOF
19847 done
19854 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19855 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19856 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19857 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else
19863 ac_ext=cc
19864 ac_cpp='$CXXCPP $CPPFLAGS'
19865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <math.h>
19876 #ifdef HAVE_IEEEFP_H
19877 #include <ieeefp.h>
19878 #endif
19881 main ()
19883 fabsl(0);
19885 return 0;
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_cxx_werror_flag"
19898 || test ! -s conftest.err'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; } &&
19904 { ac_try='test -s conftest.$ac_objext'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19907 ac_status=$?
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 glibcxx_cv_func_fabsl_use=yes
19911 else
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.$ac_ext >&5
19915 glibcxx_cv_func_fabsl_use=no
19917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19918 ac_ext=c
19919 ac_cpp='$CPP $CPPFLAGS'
19920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19929 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19931 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19933 for ac_func in fabsl
19935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19936 echo "$as_me:$LINENO: checking for $ac_func" >&5
19937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19938 if eval "test \"\${$as_ac_var+set}\" = set"; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19954 #define $ac_func innocuous_$ac_func
19956 /* System header to define __stub macros and hopefully few prototypes,
19957 which can conflict with char $ac_func (); below.
19958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19959 <limits.h> exists even on freestanding compilers. */
19961 #ifdef __STDC__
19962 # include <limits.h>
19963 #else
19964 # include <assert.h>
19965 #endif
19967 #undef $ac_func
19969 /* Override any gcc2 internal prototype to avoid an error. */
19970 #ifdef __cplusplus
19971 extern "C"
19973 #endif
19974 /* We use char because int might match the return type of a gcc2
19975 builtin and then its argument prototype would still apply. */
19976 char $ac_func ();
19977 /* The GNU C library defines this for functions which it implements
19978 to always fail with ENOSYS. Some functions are actually named
19979 something starting with __ and the normal name is an alias. */
19980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19981 choke me
19982 #else
19983 char (*f) () = $ac_func;
19984 #endif
19985 #ifdef __cplusplus
19987 #endif
19990 main ()
19992 return f != $ac_func;
19994 return 0;
19996 _ACEOF
19997 rm -f conftest.$ac_objext conftest$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>conftest.er1
20000 ac_status=$?
20001 grep -v '^ *+' conftest.er1 >conftest.err
20002 rm -f conftest.er1
20003 cat conftest.err >&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest$ac_exeext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 eval "$as_ac_var=yes"
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20024 eval "$as_ac_var=no"
20026 rm -f conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20031 if test `eval echo '${'$as_ac_var'}'` = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20034 _ACEOF
20037 done
20039 else
20041 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20042 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20043 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20044 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 else
20050 ac_ext=cc
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 #include <math.h>
20063 #ifdef HAVE_IEEEFP_H
20064 #include <ieeefp.h>
20065 #endif
20068 main ()
20070 _fabsl(0);
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest.$ac_objext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 glibcxx_cv_func__fabsl_use=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 glibcxx_cv_func__fabsl_use=no
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 ac_ext=c
20106 ac_cpp='$CPP $CPPFLAGS'
20107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20116 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20118 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20120 for ac_func in _fabsl
20122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20123 echo "$as_me:$LINENO: checking for $ac_func" >&5
20124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20125 if eval "test \"\${$as_ac_var+set}\" = set"; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20141 #define $ac_func innocuous_$ac_func
20143 /* System header to define __stub macros and hopefully few prototypes,
20144 which can conflict with char $ac_func (); below.
20145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20146 <limits.h> exists even on freestanding compilers. */
20148 #ifdef __STDC__
20149 # include <limits.h>
20150 #else
20151 # include <assert.h>
20152 #endif
20154 #undef $ac_func
20156 /* Override any gcc2 internal prototype to avoid an error. */
20157 #ifdef __cplusplus
20158 extern "C"
20160 #endif
20161 /* We use char because int might match the return type of a gcc2
20162 builtin and then its argument prototype would still apply. */
20163 char $ac_func ();
20164 /* The GNU C library defines this for functions which it implements
20165 to always fail with ENOSYS. Some functions are actually named
20166 something starting with __ and the normal name is an alias. */
20167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 choke me
20169 #else
20170 char (*f) () = $ac_func;
20171 #endif
20172 #ifdef __cplusplus
20174 #endif
20177 main ()
20179 return f != $ac_func;
20181 return 0;
20183 _ACEOF
20184 rm -f conftest.$ac_objext conftest$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 (eval $ac_link) 2>conftest.er1
20187 ac_status=$?
20188 grep -v '^ *+' conftest.er1 >conftest.err
20189 rm -f conftest.er1
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try='test -z "$ac_c_werror_flag"
20194 || test ! -s conftest.err'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; } &&
20200 { ac_try='test -s conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 eval "$as_ac_var=yes"
20207 else
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.$ac_ext >&5
20211 eval "$as_ac_var=no"
20213 rm -f conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20218 if test `eval echo '${'$as_ac_var'}'` = yes; then
20219 cat >>confdefs.h <<_ACEOF
20220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20221 _ACEOF
20224 done
20231 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20232 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 else
20240 ac_ext=cc
20241 ac_cpp='$CXXCPP $CPPFLAGS'
20242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 #include <math.h>
20254 main ()
20256 fmodl(0, 0);
20258 return 0;
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20263 (eval $ac_compile) 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try='test -z "$ac_cxx_werror_flag"
20271 || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20274 ac_status=$?
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try='test -s conftest.$ac_objext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 glibcxx_cv_func_fmodl_use=yes
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20288 glibcxx_cv_func_fmodl_use=no
20290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20291 ac_ext=c
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20302 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20304 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20306 for ac_func in fmodl
20308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20309 echo "$as_me:$LINENO: checking for $ac_func" >&5
20310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20311 if eval "test \"\${$as_ac_var+set}\" = set"; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314 if test x$gcc_no_link = xyes; then
20315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20317 { (exit 1); exit 1; }; }
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20327 #define $ac_func innocuous_$ac_func
20329 /* System header to define __stub macros and hopefully few prototypes,
20330 which can conflict with char $ac_func (); below.
20331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20332 <limits.h> exists even on freestanding compilers. */
20334 #ifdef __STDC__
20335 # include <limits.h>
20336 #else
20337 # include <assert.h>
20338 #endif
20340 #undef $ac_func
20342 /* Override any gcc2 internal prototype to avoid an error. */
20343 #ifdef __cplusplus
20344 extern "C"
20346 #endif
20347 /* We use char because int might match the return type of a gcc2
20348 builtin and then its argument prototype would still apply. */
20349 char $ac_func ();
20350 /* The GNU C library defines this for functions which it implements
20351 to always fail with ENOSYS. Some functions are actually named
20352 something starting with __ and the normal name is an alias. */
20353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20354 choke me
20355 #else
20356 char (*f) () = $ac_func;
20357 #endif
20358 #ifdef __cplusplus
20360 #endif
20363 main ()
20365 return f != $ac_func;
20367 return 0;
20369 _ACEOF
20370 rm -f conftest.$ac_objext conftest$ac_exeext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -z "$ac_c_werror_flag"
20380 || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20383 ac_status=$?
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 eval "$as_ac_var=yes"
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 eval "$as_ac_var=no"
20399 rm -f conftest.err conftest.$ac_objext \
20400 conftest$ac_exeext conftest.$ac_ext
20402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20404 if test `eval echo '${'$as_ac_var'}'` = yes; then
20405 cat >>confdefs.h <<_ACEOF
20406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20407 _ACEOF
20410 done
20412 else
20414 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20415 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20416 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20417 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20423 ac_ext=cc
20424 ac_cpp='$CXXCPP $CPPFLAGS'
20425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 #include <math.h>
20437 main ()
20439 _fmodl(0, 0);
20441 return 0;
20443 _ACEOF
20444 rm -f conftest.$ac_objext
20445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20446 (eval $ac_compile) 2>conftest.er1
20447 ac_status=$?
20448 grep -v '^ *+' conftest.er1 >conftest.err
20449 rm -f conftest.er1
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } &&
20453 { ac_try='test -z "$ac_cxx_werror_flag"
20454 || test ! -s conftest.err'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20457 ac_status=$?
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; } &&
20460 { ac_try='test -s conftest.$ac_objext'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 glibcxx_cv_func__fmodl_use=yes
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 glibcxx_cv_func__fmodl_use=no
20473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20474 ac_ext=c
20475 ac_cpp='$CPP $CPPFLAGS'
20476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20485 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20487 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20489 for ac_func in _fmodl
20491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20492 echo "$as_me:$LINENO: checking for $ac_func" >&5
20493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20494 if eval "test \"\${$as_ac_var+set}\" = set"; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 else
20497 if test x$gcc_no_link = xyes; then
20498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20500 { (exit 1); exit 1; }; }
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20510 #define $ac_func innocuous_$ac_func
20512 /* System header to define __stub macros and hopefully few prototypes,
20513 which can conflict with char $ac_func (); below.
20514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20515 <limits.h> exists even on freestanding compilers. */
20517 #ifdef __STDC__
20518 # include <limits.h>
20519 #else
20520 # include <assert.h>
20521 #endif
20523 #undef $ac_func
20525 /* Override any gcc2 internal prototype to avoid an error. */
20526 #ifdef __cplusplus
20527 extern "C"
20529 #endif
20530 /* We use char because int might match the return type of a gcc2
20531 builtin and then its argument prototype would still apply. */
20532 char $ac_func ();
20533 /* The GNU C library defines this for functions which it implements
20534 to always fail with ENOSYS. Some functions are actually named
20535 something starting with __ and the normal name is an alias. */
20536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20537 choke me
20538 #else
20539 char (*f) () = $ac_func;
20540 #endif
20541 #ifdef __cplusplus
20543 #endif
20546 main ()
20548 return f != $ac_func;
20550 return 0;
20552 _ACEOF
20553 rm -f conftest.$ac_objext conftest$ac_exeext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20555 (eval $ac_link) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag"
20563 || test ! -s conftest.err'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; } &&
20569 { ac_try='test -s conftest$ac_exeext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 eval "$as_ac_var=yes"
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20580 eval "$as_ac_var=no"
20582 rm -f conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20587 if test `eval echo '${'$as_ac_var'}'` = yes; then
20588 cat >>confdefs.h <<_ACEOF
20589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20590 _ACEOF
20593 done
20600 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20601 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20602 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20603 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20609 ac_ext=cc
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 #include <math.h>
20623 main ()
20625 frexpl(0, 0);
20627 return 0;
20629 _ACEOF
20630 rm -f conftest.$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632 (eval $ac_compile) 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try='test -z "$ac_cxx_werror_flag"
20640 || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 glibcxx_cv_func_frexpl_use=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 glibcxx_cv_func_frexpl_use=no
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20673 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20675 for ac_func in frexpl
20677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20678 echo "$as_me:$LINENO: checking for $ac_func" >&5
20679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_var+set}\" = set"; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 if test x$gcc_no_link = xyes; then
20684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20686 { (exit 1); exit 1; }; }
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h. */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20696 #define $ac_func innocuous_$ac_func
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func (); below.
20700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701 <limits.h> exists even on freestanding compilers. */
20703 #ifdef __STDC__
20704 # include <limits.h>
20705 #else
20706 # include <assert.h>
20707 #endif
20709 #undef $ac_func
20711 /* Override any gcc2 internal prototype to avoid an error. */
20712 #ifdef __cplusplus
20713 extern "C"
20715 #endif
20716 /* We use char because int might match the return type of a gcc2
20717 builtin and then its argument prototype would still apply. */
20718 char $ac_func ();
20719 /* The GNU C library defines this for functions which it implements
20720 to always fail with ENOSYS. Some functions are actually named
20721 something starting with __ and the normal name is an alias. */
20722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20723 choke me
20724 #else
20725 char (*f) () = $ac_func;
20726 #endif
20727 #ifdef __cplusplus
20729 #endif
20732 main ()
20734 return f != $ac_func;
20736 return 0;
20738 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest$ac_exeext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 eval "$as_ac_var=yes"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 eval "$as_ac_var=no"
20768 rm -f conftest.err conftest.$ac_objext \
20769 conftest$ac_exeext conftest.$ac_ext
20771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20773 if test `eval echo '${'$as_ac_var'}'` = yes; then
20774 cat >>confdefs.h <<_ACEOF
20775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20779 done
20781 else
20783 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20784 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20785 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20786 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20787 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 else
20792 ac_ext=cc
20793 ac_cpp='$CXXCPP $CPPFLAGS'
20794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 #include <math.h>
20806 main ()
20808 _frexpl(0, 0);
20810 return 0;
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag"
20823 || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 glibcxx_cv_func__frexpl_use=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 glibcxx_cv_func__frexpl_use=no
20842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20843 ac_ext=c
20844 ac_cpp='$CPP $CPPFLAGS'
20845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20854 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20856 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20858 for ac_func in _frexpl
20860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20861 echo "$as_me:$LINENO: checking for $ac_func" >&5
20862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20863 if eval "test \"\${$as_ac_var+set}\" = set"; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 if test x$gcc_no_link = xyes; then
20867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20869 { (exit 1); exit 1; }; }
20871 cat >conftest.$ac_ext <<_ACEOF
20872 /* confdefs.h. */
20873 _ACEOF
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20879 #define $ac_func innocuous_$ac_func
20881 /* System header to define __stub macros and hopefully few prototypes,
20882 which can conflict with char $ac_func (); below.
20883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20884 <limits.h> exists even on freestanding compilers. */
20886 #ifdef __STDC__
20887 # include <limits.h>
20888 #else
20889 # include <assert.h>
20890 #endif
20892 #undef $ac_func
20894 /* Override any gcc2 internal prototype to avoid an error. */
20895 #ifdef __cplusplus
20896 extern "C"
20898 #endif
20899 /* We use char because int might match the return type of a gcc2
20900 builtin and then its argument prototype would still apply. */
20901 char $ac_func ();
20902 /* The GNU C library defines this for functions which it implements
20903 to always fail with ENOSYS. Some functions are actually named
20904 something starting with __ and the normal name is an alias. */
20905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20906 choke me
20907 #else
20908 char (*f) () = $ac_func;
20909 #endif
20910 #ifdef __cplusplus
20912 #endif
20915 main ()
20917 return f != $ac_func;
20919 return 0;
20921 _ACEOF
20922 rm -f conftest.$ac_objext conftest$ac_exeext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20924 (eval $ac_link) 2>conftest.er1
20925 ac_status=$?
20926 grep -v '^ *+' conftest.er1 >conftest.err
20927 rm -f conftest.er1
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try='test -z "$ac_c_werror_flag"
20932 || test ! -s conftest.err'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20935 ac_status=$?
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; } &&
20938 { ac_try='test -s conftest$ac_exeext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 eval "$as_ac_var=yes"
20945 else
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20949 eval "$as_ac_var=no"
20951 rm -f conftest.err conftest.$ac_objext \
20952 conftest$ac_exeext conftest.$ac_ext
20954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20956 if test `eval echo '${'$as_ac_var'}'` = yes; then
20957 cat >>confdefs.h <<_ACEOF
20958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 _ACEOF
20962 done
20969 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
20970 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20971 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20972 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 else
20978 ac_ext=cc
20979 ac_cpp='$CXXCPP $CPPFLAGS'
20980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #include <math.h>
20992 main ()
20994 hypotl(0, 0);
20996 return 0;
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -z "$ac_cxx_werror_flag"
21009 || test ! -s conftest.err'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21012 ac_status=$?
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; } &&
21015 { ac_try='test -s conftest.$ac_objext'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21018 ac_status=$?
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 glibcxx_cv_func_hypotl_use=yes
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21026 glibcxx_cv_func_hypotl_use=no
21028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21029 ac_ext=c
21030 ac_cpp='$CPP $CPPFLAGS'
21031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21040 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21042 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21044 for ac_func in hypotl
21046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21047 echo "$as_me:$LINENO: checking for $ac_func" >&5
21048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21049 if eval "test \"\${$as_ac_var+set}\" = set"; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test x$gcc_no_link = xyes; then
21053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21055 { (exit 1); exit 1; }; }
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21065 #define $ac_func innocuous_$ac_func
21067 /* System header to define __stub macros and hopefully few prototypes,
21068 which can conflict with char $ac_func (); below.
21069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21070 <limits.h> exists even on freestanding compilers. */
21072 #ifdef __STDC__
21073 # include <limits.h>
21074 #else
21075 # include <assert.h>
21076 #endif
21078 #undef $ac_func
21080 /* Override any gcc2 internal prototype to avoid an error. */
21081 #ifdef __cplusplus
21082 extern "C"
21084 #endif
21085 /* We use char because int might match the return type of a gcc2
21086 builtin and then its argument prototype would still apply. */
21087 char $ac_func ();
21088 /* The GNU C library defines this for functions which it implements
21089 to always fail with ENOSYS. Some functions are actually named
21090 something starting with __ and the normal name is an alias. */
21091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21092 choke me
21093 #else
21094 char (*f) () = $ac_func;
21095 #endif
21096 #ifdef __cplusplus
21098 #endif
21101 main ()
21103 return f != $ac_func;
21105 return 0;
21107 _ACEOF
21108 rm -f conftest.$ac_objext conftest$ac_exeext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21110 (eval $ac_link) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag"
21118 || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try='test -s conftest$ac_exeext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 eval "$as_ac_var=yes"
21131 else
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21135 eval "$as_ac_var=no"
21137 rm -f conftest.err conftest.$ac_objext \
21138 conftest$ac_exeext conftest.$ac_ext
21140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21142 if test `eval echo '${'$as_ac_var'}'` = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21145 _ACEOF
21148 done
21150 else
21152 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21153 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21154 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21155 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21161 ac_ext=cc
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <math.h>
21175 main ()
21177 _hypotl(0, 0);
21179 return 0;
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 glibcxx_cv_func__hypotl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21209 glibcxx_cv_func__hypotl_use=no
21211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21212 ac_ext=c
21213 ac_cpp='$CPP $CPPFLAGS'
21214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21225 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21227 for ac_func in _hypotl
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21238 { (exit 1); exit 1; }; }
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21248 #define $ac_func innocuous_$ac_func
21250 /* System header to define __stub macros and hopefully few prototypes,
21251 which can conflict with char $ac_func (); below.
21252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21253 <limits.h> exists even on freestanding compilers. */
21255 #ifdef __STDC__
21256 # include <limits.h>
21257 #else
21258 # include <assert.h>
21259 #endif
21261 #undef $ac_func
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char $ac_func ();
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21275 choke me
21276 #else
21277 char (*f) () = $ac_func;
21278 #endif
21279 #ifdef __cplusplus
21281 #endif
21284 main ()
21286 return f != $ac_func;
21288 return 0;
21290 _ACEOF
21291 rm -f conftest.$ac_objext conftest$ac_exeext
21292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21293 (eval $ac_link) 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -z "$ac_c_werror_flag"
21301 || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 eval "$as_ac_var=yes"
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21318 eval "$as_ac_var=no"
21320 rm -f conftest.err conftest.$ac_objext \
21321 conftest$ac_exeext conftest.$ac_ext
21323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21325 if test `eval echo '${'$as_ac_var'}'` = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21328 _ACEOF
21331 done
21338 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21339 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21340 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21341 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21347 ac_ext=cc
21348 ac_cpp='$CXXCPP $CPPFLAGS'
21349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 #include <math.h>
21361 main ()
21363 ldexpl(0, 0);
21365 return 0;
21367 _ACEOF
21368 rm -f conftest.$ac_objext
21369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21370 (eval $ac_compile) 2>conftest.er1
21371 ac_status=$?
21372 grep -v '^ *+' conftest.er1 >conftest.err
21373 rm -f conftest.er1
21374 cat conftest.err >&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } &&
21377 { ac_try='test -z "$ac_cxx_werror_flag"
21378 || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21381 ac_status=$?
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 glibcxx_cv_func_ldexpl_use=yes
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 glibcxx_cv_func_ldexpl_use=no
21397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ac_ext=c
21399 ac_cpp='$CPP $CPPFLAGS'
21400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21409 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21411 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21413 for ac_func in ldexpl
21415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21416 echo "$as_me:$LINENO: checking for $ac_func" >&5
21417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21418 if eval "test \"\${$as_ac_var+set}\" = set"; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 else
21421 if test x$gcc_no_link = xyes; then
21422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21424 { (exit 1); exit 1; }; }
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21434 #define $ac_func innocuous_$ac_func
21436 /* System header to define __stub macros and hopefully few prototypes,
21437 which can conflict with char $ac_func (); below.
21438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21439 <limits.h> exists even on freestanding compilers. */
21441 #ifdef __STDC__
21442 # include <limits.h>
21443 #else
21444 # include <assert.h>
21445 #endif
21447 #undef $ac_func
21449 /* Override any gcc2 internal prototype to avoid an error. */
21450 #ifdef __cplusplus
21451 extern "C"
21453 #endif
21454 /* We use char because int might match the return type of a gcc2
21455 builtin and then its argument prototype would still apply. */
21456 char $ac_func ();
21457 /* The GNU C library defines this for functions which it implements
21458 to always fail with ENOSYS. Some functions are actually named
21459 something starting with __ and the normal name is an alias. */
21460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21461 choke me
21462 #else
21463 char (*f) () = $ac_func;
21464 #endif
21465 #ifdef __cplusplus
21467 #endif
21470 main ()
21472 return f != $ac_func;
21474 return 0;
21476 _ACEOF
21477 rm -f conftest.$ac_objext conftest$ac_exeext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21479 (eval $ac_link) 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try='test -z "$ac_c_werror_flag"
21487 || test ! -s conftest.err'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 eval "$as_ac_var=yes"
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21504 eval "$as_ac_var=no"
21506 rm -f conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21511 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512 cat >>confdefs.h <<_ACEOF
21513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21514 _ACEOF
21517 done
21519 else
21521 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21522 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21523 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21524 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21530 ac_ext=cc
21531 ac_cpp='$CXXCPP $CPPFLAGS'
21532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #include <math.h>
21544 main ()
21546 _ldexpl(0, 0);
21548 return 0;
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21553 (eval $ac_compile) 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -z "$ac_cxx_werror_flag"
21561 || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 glibcxx_cv_func__ldexpl_use=yes
21574 else
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21578 glibcxx_cv_func__ldexpl_use=no
21580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_ext=c
21582 ac_cpp='$CPP $CPPFLAGS'
21583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21592 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21594 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21596 for ac_func in _ldexpl
21598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21599 echo "$as_me:$LINENO: checking for $ac_func" >&5
21600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21601 if eval "test \"\${$as_ac_var+set}\" = set"; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 else
21604 if test x$gcc_no_link = xyes; then
21605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21607 { (exit 1); exit 1; }; }
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21617 #define $ac_func innocuous_$ac_func
21619 /* System header to define __stub macros and hopefully few prototypes,
21620 which can conflict with char $ac_func (); below.
21621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21622 <limits.h> exists even on freestanding compilers. */
21624 #ifdef __STDC__
21625 # include <limits.h>
21626 #else
21627 # include <assert.h>
21628 #endif
21630 #undef $ac_func
21632 /* Override any gcc2 internal prototype to avoid an error. */
21633 #ifdef __cplusplus
21634 extern "C"
21636 #endif
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21639 char $ac_func ();
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21644 choke me
21645 #else
21646 char (*f) () = $ac_func;
21647 #endif
21648 #ifdef __cplusplus
21650 #endif
21653 main ()
21655 return f != $ac_func;
21657 return 0;
21659 _ACEOF
21660 rm -f conftest.$ac_objext conftest$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>conftest.er1
21663 ac_status=$?
21664 grep -v '^ *+' conftest.er1 >conftest.err
21665 rm -f conftest.er1
21666 cat conftest.err >&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try='test -z "$ac_c_werror_flag"
21670 || test ! -s conftest.err'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21673 ac_status=$?
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; } &&
21676 { ac_try='test -s conftest$ac_exeext'
21677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21678 (eval $ac_try) 2>&5
21679 ac_status=$?
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; }; then
21682 eval "$as_ac_var=yes"
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21687 eval "$as_ac_var=no"
21689 rm -f conftest.err conftest.$ac_objext \
21690 conftest$ac_exeext conftest.$ac_ext
21692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21694 if test `eval echo '${'$as_ac_var'}'` = yes; then
21695 cat >>confdefs.h <<_ACEOF
21696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21697 _ACEOF
21700 done
21707 echo "$as_me:$LINENO: checking for logl declaration" >&5
21708 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21710 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21716 ac_ext=cc
21717 ac_cpp='$CXXCPP $CPPFLAGS'
21718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21734 main ()
21736 logl(0);
21738 return 0;
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 glibcxx_cv_func_logl_use=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 glibcxx_cv_func_logl_use=no
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21782 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21784 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21786 for ac_func in logl
21788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21789 echo "$as_me:$LINENO: checking for $ac_func" >&5
21790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21791 if eval "test \"\${$as_ac_var+set}\" = set"; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 if test x$gcc_no_link = xyes; then
21795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21797 { (exit 1); exit 1; }; }
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21820 #undef $ac_func
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21826 #endif
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char $ac_func ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21834 choke me
21835 #else
21836 char (*f) () = $ac_func;
21837 #endif
21838 #ifdef __cplusplus
21840 #endif
21843 main ()
21845 return f != $ac_func;
21847 return 0;
21849 _ACEOF
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 eval "$as_ac_var=no"
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21887 _ACEOF
21890 done
21892 else
21894 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21895 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21896 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21897 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 else
21903 ac_ext=cc
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <math.h>
21916 #ifdef HAVE_IEEEFP_H
21917 #include <ieeefp.h>
21918 #endif
21921 main ()
21923 _logl(0);
21925 return 0;
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 glibcxx_cv_func__logl_use=yes
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21955 glibcxx_cv_func__logl_use=no
21957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21969 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21971 if test x$glibcxx_cv_func__logl_use = x"yes"; then
21973 for ac_func in _logl
21975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21976 echo "$as_me:$LINENO: checking for $ac_func" >&5
21977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21978 if eval "test \"\${$as_ac_var+set}\" = set"; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 if test x$gcc_no_link = xyes; then
21982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21984 { (exit 1); exit 1; }; }
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21994 #define $ac_func innocuous_$ac_func
21996 /* System header to define __stub macros and hopefully few prototypes,
21997 which can conflict with char $ac_func (); below.
21998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21999 <limits.h> exists even on freestanding compilers. */
22001 #ifdef __STDC__
22002 # include <limits.h>
22003 #else
22004 # include <assert.h>
22005 #endif
22007 #undef $ac_func
22009 /* Override any gcc2 internal prototype to avoid an error. */
22010 #ifdef __cplusplus
22011 extern "C"
22013 #endif
22014 /* We use char because int might match the return type of a gcc2
22015 builtin and then its argument prototype would still apply. */
22016 char $ac_func ();
22017 /* The GNU C library defines this for functions which it implements
22018 to always fail with ENOSYS. Some functions are actually named
22019 something starting with __ and the normal name is an alias. */
22020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22021 choke me
22022 #else
22023 char (*f) () = $ac_func;
22024 #endif
22025 #ifdef __cplusplus
22027 #endif
22030 main ()
22032 return f != $ac_func;
22034 return 0;
22036 _ACEOF
22037 rm -f conftest.$ac_objext conftest$ac_exeext
22038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22039 (eval $ac_link) 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try='test -z "$ac_c_werror_flag"
22047 || test ! -s conftest.err'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22050 ac_status=$?
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; } &&
22053 { ac_try='test -s conftest$ac_exeext'
22054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055 (eval $ac_try) 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; }; then
22059 eval "$as_ac_var=yes"
22060 else
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22064 eval "$as_ac_var=no"
22066 rm -f conftest.err conftest.$ac_objext \
22067 conftest$ac_exeext conftest.$ac_ext
22069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22071 if test `eval echo '${'$as_ac_var'}'` = yes; then
22072 cat >>confdefs.h <<_ACEOF
22073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22074 _ACEOF
22077 done
22084 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22085 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22086 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22087 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22093 ac_ext=cc
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <math.h>
22106 #ifdef HAVE_IEEEFP_H
22107 #include <ieeefp.h>
22108 #endif
22111 main ()
22113 log10l(0);
22115 return 0;
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_cxx_werror_flag"
22128 || test ! -s conftest.err'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 glibcxx_cv_func_log10l_use=yes
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 glibcxx_cv_func_log10l_use=no
22147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22148 ac_ext=c
22149 ac_cpp='$CPP $CPPFLAGS'
22150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22159 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22161 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22163 for ac_func in log10l
22165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22166 echo "$as_me:$LINENO: checking for $ac_func" >&5
22167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22168 if eval "test \"\${$as_ac_var+set}\" = set"; then
22169 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 else
22171 if test x$gcc_no_link = xyes; then
22172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22174 { (exit 1); exit 1; }; }
22176 cat >conftest.$ac_ext <<_ACEOF
22177 /* confdefs.h. */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22184 #define $ac_func innocuous_$ac_func
22186 /* System header to define __stub macros and hopefully few prototypes,
22187 which can conflict with char $ac_func (); below.
22188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22189 <limits.h> exists even on freestanding compilers. */
22191 #ifdef __STDC__
22192 # include <limits.h>
22193 #else
22194 # include <assert.h>
22195 #endif
22197 #undef $ac_func
22199 /* Override any gcc2 internal prototype to avoid an error. */
22200 #ifdef __cplusplus
22201 extern "C"
22203 #endif
22204 /* We use char because int might match the return type of a gcc2
22205 builtin and then its argument prototype would still apply. */
22206 char $ac_func ();
22207 /* The GNU C library defines this for functions which it implements
22208 to always fail with ENOSYS. Some functions are actually named
22209 something starting with __ and the normal name is an alias. */
22210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22211 choke me
22212 #else
22213 char (*f) () = $ac_func;
22214 #endif
22215 #ifdef __cplusplus
22217 #endif
22220 main ()
22222 return f != $ac_func;
22224 return 0;
22226 _ACEOF
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>conftest.er1
22230 ac_status=$?
22231 grep -v '^ *+' conftest.er1 >conftest.err
22232 rm -f conftest.er1
22233 cat conftest.err >&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try='test -z "$ac_c_werror_flag"
22237 || test ! -s conftest.err'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 eval "$as_ac_var=yes"
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 eval "$as_ac_var=no"
22256 rm -f conftest.err conftest.$ac_objext \
22257 conftest$ac_exeext conftest.$ac_ext
22259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22261 if test `eval echo '${'$as_ac_var'}'` = yes; then
22262 cat >>confdefs.h <<_ACEOF
22263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22264 _ACEOF
22267 done
22269 else
22271 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22272 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22273 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22274 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22280 ac_ext=cc
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat >conftest.$ac_ext <<_ACEOF
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 #include <math.h>
22293 #ifdef HAVE_IEEEFP_H
22294 #include <ieeefp.h>
22295 #endif
22298 main ()
22300 _log10l(0);
22302 return 0;
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22307 (eval $ac_compile) 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -z "$ac_cxx_werror_flag"
22315 || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 glibcxx_cv_func__log10l_use=yes
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22332 glibcxx_cv_func__log10l_use=no
22334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22346 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22348 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22350 for ac_func in _log10l
22352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22353 echo "$as_me:$LINENO: checking for $ac_func" >&5
22354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22355 if eval "test \"\${$as_ac_var+set}\" = set"; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22358 if test x$gcc_no_link = xyes; then
22359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22361 { (exit 1); exit 1; }; }
22363 cat >conftest.$ac_ext <<_ACEOF
22364 /* confdefs.h. */
22365 _ACEOF
22366 cat confdefs.h >>conftest.$ac_ext
22367 cat >>conftest.$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22371 #define $ac_func innocuous_$ac_func
22373 /* System header to define __stub macros and hopefully few prototypes,
22374 which can conflict with char $ac_func (); below.
22375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22376 <limits.h> exists even on freestanding compilers. */
22378 #ifdef __STDC__
22379 # include <limits.h>
22380 #else
22381 # include <assert.h>
22382 #endif
22384 #undef $ac_func
22386 /* Override any gcc2 internal prototype to avoid an error. */
22387 #ifdef __cplusplus
22388 extern "C"
22390 #endif
22391 /* We use char because int might match the return type of a gcc2
22392 builtin and then its argument prototype would still apply. */
22393 char $ac_func ();
22394 /* The GNU C library defines this for functions which it implements
22395 to always fail with ENOSYS. Some functions are actually named
22396 something starting with __ and the normal name is an alias. */
22397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22398 choke me
22399 #else
22400 char (*f) () = $ac_func;
22401 #endif
22402 #ifdef __cplusplus
22404 #endif
22407 main ()
22409 return f != $ac_func;
22411 return 0;
22413 _ACEOF
22414 rm -f conftest.$ac_objext conftest$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -z "$ac_c_werror_flag"
22424 || test ! -s conftest.err'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; } &&
22430 { ac_try='test -s conftest$ac_exeext'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22436 eval "$as_ac_var=yes"
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22441 eval "$as_ac_var=no"
22443 rm -f conftest.err conftest.$ac_objext \
22444 conftest$ac_exeext conftest.$ac_ext
22446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22448 if test `eval echo '${'$as_ac_var'}'` = yes; then
22449 cat >>confdefs.h <<_ACEOF
22450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22451 _ACEOF
22454 done
22461 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22462 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22463 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22464 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22470 ac_ext=cc
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22476 cat >conftest.$ac_ext <<_ACEOF
22477 /* confdefs.h. */
22478 _ACEOF
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 #include <math.h>
22484 main ()
22486 modfl(0, 0);
22488 return 0;
22490 _ACEOF
22491 rm -f conftest.$ac_objext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22493 (eval $ac_compile) 2>conftest.er1
22494 ac_status=$?
22495 grep -v '^ *+' conftest.er1 >conftest.err
22496 rm -f conftest.er1
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try='test -z "$ac_cxx_werror_flag"
22501 || test ! -s conftest.err'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; } &&
22507 { ac_try='test -s conftest.$ac_objext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 glibcxx_cv_func_modfl_use=yes
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22518 glibcxx_cv_func_modfl_use=no
22520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22532 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22534 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22536 for ac_func in modfl
22538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22539 echo "$as_me:$LINENO: checking for $ac_func" >&5
22540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22541 if eval "test \"\${$as_ac_var+set}\" = set"; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 if test x$gcc_no_link = xyes; then
22545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22547 { (exit 1); exit 1; }; }
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22564 #ifdef __STDC__
22565 # include <limits.h>
22566 #else
22567 # include <assert.h>
22568 #endif
22570 #undef $ac_func
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char $ac_func ();
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22584 choke me
22585 #else
22586 char (*f) () = $ac_func;
22587 #endif
22588 #ifdef __cplusplus
22590 #endif
22593 main ()
22595 return f != $ac_func;
22597 return 0;
22599 _ACEOF
22600 rm -f conftest.$ac_objext conftest$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try='test -z "$ac_c_werror_flag"
22610 || test ! -s conftest.err'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try='test -s conftest$ac_exeext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 eval "$as_ac_var=yes"
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 eval "$as_ac_var=no"
22629 rm -f conftest.err conftest.$ac_objext \
22630 conftest$ac_exeext conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22634 if test `eval echo '${'$as_ac_var'}'` = yes; then
22635 cat >>confdefs.h <<_ACEOF
22636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22637 _ACEOF
22640 done
22642 else
22644 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22645 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22647 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22667 main ()
22669 _modfl(0, 0);
22671 return 0;
22673 _ACEOF
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 glibcxx_cv_func__modfl_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 glibcxx_cv_func__modfl_use=no
22703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22717 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22719 for ac_func in _modfl
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22730 { (exit 1); exit 1; }; }
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22740 #define $ac_func innocuous_$ac_func
22742 /* System header to define __stub macros and hopefully few prototypes,
22743 which can conflict with char $ac_func (); below.
22744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22745 <limits.h> exists even on freestanding compilers. */
22747 #ifdef __STDC__
22748 # include <limits.h>
22749 #else
22750 # include <assert.h>
22751 #endif
22753 #undef $ac_func
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char $ac_func ();
22763 /* The GNU C library defines this for functions which it implements
22764 to always fail with ENOSYS. Some functions are actually named
22765 something starting with __ and the normal name is an alias. */
22766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22767 choke me
22768 #else
22769 char (*f) () = $ac_func;
22770 #endif
22771 #ifdef __cplusplus
22773 #endif
22776 main ()
22778 return f != $ac_func;
22780 return 0;
22782 _ACEOF
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_c_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 eval "$as_ac_var=yes"
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 eval "$as_ac_var=no"
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22817 if test `eval echo '${'$as_ac_var'}'` = yes; then
22818 cat >>confdefs.h <<_ACEOF
22819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22820 _ACEOF
22823 done
22830 echo "$as_me:$LINENO: checking for powl declaration" >&5
22831 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22832 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22833 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22839 ac_ext=cc
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845 cat >conftest.$ac_ext <<_ACEOF
22846 /* confdefs.h. */
22847 _ACEOF
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 #include <math.h>
22853 main ()
22855 powl(0, 0);
22857 return 0;
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_cxx_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try='test -s conftest.$ac_objext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 glibcxx_cv_func_powl_use=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22887 glibcxx_cv_func_powl_use=no
22889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22890 ac_ext=c
22891 ac_cpp='$CPP $CPPFLAGS'
22892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22901 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22905 for ac_func in powl
22907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22908 echo "$as_me:$LINENO: checking for $ac_func" >&5
22909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22910 if eval "test \"\${$as_ac_var+set}\" = set"; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 if test x$gcc_no_link = xyes; then
22914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22916 { (exit 1); exit 1; }; }
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22926 #define $ac_func innocuous_$ac_func
22928 /* System header to define __stub macros and hopefully few prototypes,
22929 which can conflict with char $ac_func (); below.
22930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22931 <limits.h> exists even on freestanding compilers. */
22933 #ifdef __STDC__
22934 # include <limits.h>
22935 #else
22936 # include <assert.h>
22937 #endif
22939 #undef $ac_func
22941 /* Override any gcc2 internal prototype to avoid an error. */
22942 #ifdef __cplusplus
22943 extern "C"
22945 #endif
22946 /* We use char because int might match the return type of a gcc2
22947 builtin and then its argument prototype would still apply. */
22948 char $ac_func ();
22949 /* The GNU C library defines this for functions which it implements
22950 to always fail with ENOSYS. Some functions are actually named
22951 something starting with __ and the normal name is an alias. */
22952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22953 choke me
22954 #else
22955 char (*f) () = $ac_func;
22956 #endif
22957 #ifdef __cplusplus
22959 #endif
22962 main ()
22964 return f != $ac_func;
22966 return 0;
22968 _ACEOF
22969 rm -f conftest.$ac_objext conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -z "$ac_c_werror_flag"
22979 || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22982 ac_status=$?
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 eval "$as_ac_var=yes"
22992 else
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22996 eval "$as_ac_var=no"
22998 rm -f conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23003 if test `eval echo '${'$as_ac_var'}'` = yes; then
23004 cat >>confdefs.h <<_ACEOF
23005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23006 _ACEOF
23009 done
23011 else
23013 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23014 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23015 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23016 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 else
23022 ac_ext=cc
23023 ac_cpp='$CXXCPP $CPPFLAGS'
23024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23028 cat >conftest.$ac_ext <<_ACEOF
23029 /* confdefs.h. */
23030 _ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 #include <math.h>
23036 main ()
23038 _powl(0, 0);
23040 return 0;
23042 _ACEOF
23043 rm -f conftest.$ac_objext
23044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23045 (eval $ac_compile) 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try='test -z "$ac_cxx_werror_flag"
23053 || test ! -s conftest.err'
23054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23055 (eval $ac_try) 2>&5
23056 ac_status=$?
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; } &&
23059 { ac_try='test -s conftest.$ac_objext'
23060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061 (eval $ac_try) 2>&5
23062 ac_status=$?
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); }; }; then
23065 glibcxx_cv_func__powl_use=yes
23066 else
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23070 glibcxx_cv_func__powl_use=no
23072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23073 ac_ext=c
23074 ac_cpp='$CPP $CPPFLAGS'
23075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23084 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23088 for ac_func in _powl
23090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23091 echo "$as_me:$LINENO: checking for $ac_func" >&5
23092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23093 if eval "test \"\${$as_ac_var+set}\" = set"; then
23094 echo $ECHO_N "(cached) $ECHO_C" >&6
23095 else
23096 if test x$gcc_no_link = xyes; then
23097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23099 { (exit 1); exit 1; }; }
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23109 #define $ac_func innocuous_$ac_func
23111 /* System header to define __stub macros and hopefully few prototypes,
23112 which can conflict with char $ac_func (); below.
23113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23114 <limits.h> exists even on freestanding compilers. */
23116 #ifdef __STDC__
23117 # include <limits.h>
23118 #else
23119 # include <assert.h>
23120 #endif
23122 #undef $ac_func
23124 /* Override any gcc2 internal prototype to avoid an error. */
23125 #ifdef __cplusplus
23126 extern "C"
23128 #endif
23129 /* We use char because int might match the return type of a gcc2
23130 builtin and then its argument prototype would still apply. */
23131 char $ac_func ();
23132 /* The GNU C library defines this for functions which it implements
23133 to always fail with ENOSYS. Some functions are actually named
23134 something starting with __ and the normal name is an alias. */
23135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23136 choke me
23137 #else
23138 char (*f) () = $ac_func;
23139 #endif
23140 #ifdef __cplusplus
23142 #endif
23145 main ()
23147 return f != $ac_func;
23149 return 0;
23151 _ACEOF
23152 rm -f conftest.$ac_objext conftest$ac_exeext
23153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23154 (eval $ac_link) 2>conftest.er1
23155 ac_status=$?
23156 grep -v '^ *+' conftest.er1 >conftest.err
23157 rm -f conftest.er1
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } &&
23161 { ac_try='test -z "$ac_c_werror_flag"
23162 || test ! -s conftest.err'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; } &&
23168 { ac_try='test -s conftest$ac_exeext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 eval "$as_ac_var=yes"
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23179 eval "$as_ac_var=no"
23181 rm -f conftest.err conftest.$ac_objext \
23182 conftest$ac_exeext conftest.$ac_ext
23184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23186 if test `eval echo '${'$as_ac_var'}'` = yes; then
23187 cat >>confdefs.h <<_ACEOF
23188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23189 _ACEOF
23192 done
23199 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23200 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23202 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23208 ac_ext=cc
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat >conftest.$ac_ext <<_ACEOF
23215 /* confdefs.h. */
23216 _ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23226 main ()
23228 sqrtl(0);
23230 return 0;
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_cxx_werror_flag"
23243 || test ! -s conftest.err'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest.$ac_objext'
23250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251 (eval $ac_try) 2>&5
23252 ac_status=$?
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); }; }; then
23255 glibcxx_cv_func_sqrtl_use=yes
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23260 glibcxx_cv_func_sqrtl_use=no
23262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23263 ac_ext=c
23264 ac_cpp='$CPP $CPPFLAGS'
23265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23274 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23276 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23278 for ac_func in sqrtl
23280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23281 echo "$as_me:$LINENO: checking for $ac_func" >&5
23282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23283 if eval "test \"\${$as_ac_var+set}\" = set"; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 else
23286 if test x$gcc_no_link = xyes; then
23287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23289 { (exit 1); exit 1; }; }
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23299 #define $ac_func innocuous_$ac_func
23301 /* System header to define __stub macros and hopefully few prototypes,
23302 which can conflict with char $ac_func (); below.
23303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23304 <limits.h> exists even on freestanding compilers. */
23306 #ifdef __STDC__
23307 # include <limits.h>
23308 #else
23309 # include <assert.h>
23310 #endif
23312 #undef $ac_func
23314 /* Override any gcc2 internal prototype to avoid an error. */
23315 #ifdef __cplusplus
23316 extern "C"
23318 #endif
23319 /* We use char because int might match the return type of a gcc2
23320 builtin and then its argument prototype would still apply. */
23321 char $ac_func ();
23322 /* The GNU C library defines this for functions which it implements
23323 to always fail with ENOSYS. Some functions are actually named
23324 something starting with __ and the normal name is an alias. */
23325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23326 choke me
23327 #else
23328 char (*f) () = $ac_func;
23329 #endif
23330 #ifdef __cplusplus
23332 #endif
23335 main ()
23337 return f != $ac_func;
23339 return 0;
23341 _ACEOF
23342 rm -f conftest.$ac_objext conftest$ac_exeext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23344 (eval $ac_link) 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try='test -z "$ac_c_werror_flag"
23352 || test ! -s conftest.err'
23353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23354 (eval $ac_try) 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; } &&
23358 { ac_try='test -s conftest$ac_exeext'
23359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360 (eval $ac_try) 2>&5
23361 ac_status=$?
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); }; }; then
23364 eval "$as_ac_var=yes"
23365 else
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23369 eval "$as_ac_var=no"
23371 rm -f conftest.err conftest.$ac_objext \
23372 conftest$ac_exeext conftest.$ac_ext
23374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23376 if test `eval echo '${'$as_ac_var'}'` = yes; then
23377 cat >>confdefs.h <<_ACEOF
23378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23379 _ACEOF
23382 done
23384 else
23386 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23387 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23388 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23389 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 else
23395 ac_ext=cc
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <math.h>
23408 #ifdef HAVE_IEEEFP_H
23409 #include <ieeefp.h>
23410 #endif
23413 main ()
23415 _sqrtl(0);
23417 return 0;
23419 _ACEOF
23420 rm -f conftest.$ac_objext
23421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23422 (eval $ac_compile) 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try='test -z "$ac_cxx_werror_flag"
23430 || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 glibcxx_cv_func__sqrtl_use=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23447 glibcxx_cv_func__sqrtl_use=no
23449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23450 ac_ext=c
23451 ac_cpp='$CPP $CPPFLAGS'
23452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23461 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23463 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23465 for ac_func in _sqrtl
23467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23468 echo "$as_me:$LINENO: checking for $ac_func" >&5
23469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23470 if eval "test \"\${$as_ac_var+set}\" = set"; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473 if test x$gcc_no_link = xyes; then
23474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23476 { (exit 1); exit 1; }; }
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23486 #define $ac_func innocuous_$ac_func
23488 /* System header to define __stub macros and hopefully few prototypes,
23489 which can conflict with char $ac_func (); below.
23490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23491 <limits.h> exists even on freestanding compilers. */
23493 #ifdef __STDC__
23494 # include <limits.h>
23495 #else
23496 # include <assert.h>
23497 #endif
23499 #undef $ac_func
23501 /* Override any gcc2 internal prototype to avoid an error. */
23502 #ifdef __cplusplus
23503 extern "C"
23505 #endif
23506 /* We use char because int might match the return type of a gcc2
23507 builtin and then its argument prototype would still apply. */
23508 char $ac_func ();
23509 /* The GNU C library defines this for functions which it implements
23510 to always fail with ENOSYS. Some functions are actually named
23511 something starting with __ and the normal name is an alias. */
23512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23513 choke me
23514 #else
23515 char (*f) () = $ac_func;
23516 #endif
23517 #ifdef __cplusplus
23519 #endif
23522 main ()
23524 return f != $ac_func;
23526 return 0;
23528 _ACEOF
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531 (eval $ac_link) 2>conftest.er1
23532 ac_status=$?
23533 grep -v '^ *+' conftest.er1 >conftest.err
23534 rm -f conftest.er1
23535 cat conftest.err >&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); } &&
23538 { ac_try='test -z "$ac_c_werror_flag"
23539 || test ! -s conftest.err'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; } &&
23545 { ac_try='test -s conftest$ac_exeext'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23548 ac_status=$?
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; }; then
23551 eval "$as_ac_var=yes"
23552 else
23553 echo "$as_me: failed program was:" >&5
23554 sed 's/^/| /' conftest.$ac_ext >&5
23556 eval "$as_ac_var=no"
23558 rm -f conftest.err conftest.$ac_objext \
23559 conftest$ac_exeext conftest.$ac_ext
23561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23563 if test `eval echo '${'$as_ac_var'}'` = yes; then
23564 cat >>confdefs.h <<_ACEOF
23565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23566 _ACEOF
23569 done
23576 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23577 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23578 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23579 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 else
23585 ac_ext=cc
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23591 cat >conftest.$ac_ext <<_ACEOF
23592 /* confdefs.h. */
23593 _ACEOF
23594 cat confdefs.h >>conftest.$ac_ext
23595 cat >>conftest.$ac_ext <<_ACEOF
23596 /* end confdefs.h. */
23597 #include <math.h>
23599 main ()
23601 sincosl(0, 0, 0);
23603 return 0;
23605 _ACEOF
23606 rm -f conftest.$ac_objext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23608 (eval $ac_compile) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try='test -z "$ac_cxx_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try='test -s conftest.$ac_objext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23625 ac_status=$?
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 glibcxx_cv_func_sincosl_use=yes
23629 else
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23633 glibcxx_cv_func_sincosl_use=no
23635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23647 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23649 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23651 for ac_func in sincosl
23653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23654 echo "$as_me:$LINENO: checking for $ac_func" >&5
23655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23656 if eval "test \"\${$as_ac_var+set}\" = set"; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659 if test x$gcc_no_link = xyes; then
23660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23662 { (exit 1); exit 1; }; }
23664 cat >conftest.$ac_ext <<_ACEOF
23665 /* confdefs.h. */
23666 _ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23672 #define $ac_func innocuous_$ac_func
23674 /* System header to define __stub macros and hopefully few prototypes,
23675 which can conflict with char $ac_func (); below.
23676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23677 <limits.h> exists even on freestanding compilers. */
23679 #ifdef __STDC__
23680 # include <limits.h>
23681 #else
23682 # include <assert.h>
23683 #endif
23685 #undef $ac_func
23687 /* Override any gcc2 internal prototype to avoid an error. */
23688 #ifdef __cplusplus
23689 extern "C"
23691 #endif
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23694 char $ac_func ();
23695 /* The GNU C library defines this for functions which it implements
23696 to always fail with ENOSYS. Some functions are actually named
23697 something starting with __ and the normal name is an alias. */
23698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23699 choke me
23700 #else
23701 char (*f) () = $ac_func;
23702 #endif
23703 #ifdef __cplusplus
23705 #endif
23708 main ()
23710 return f != $ac_func;
23712 return 0;
23714 _ACEOF
23715 rm -f conftest.$ac_objext conftest$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>conftest.er1
23718 ac_status=$?
23719 grep -v '^ *+' conftest.er1 >conftest.err
23720 rm -f conftest.er1
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -z "$ac_c_werror_flag"
23725 || test ! -s conftest.err'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23728 ac_status=$?
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; } &&
23731 { ac_try='test -s conftest$ac_exeext'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23734 ac_status=$?
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; }; then
23737 eval "$as_ac_var=yes"
23738 else
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.$ac_ext >&5
23742 eval "$as_ac_var=no"
23744 rm -f conftest.err conftest.$ac_objext \
23745 conftest$ac_exeext conftest.$ac_ext
23747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23749 if test `eval echo '${'$as_ac_var'}'` = yes; then
23750 cat >>confdefs.h <<_ACEOF
23751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23752 _ACEOF
23755 done
23757 else
23759 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23760 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23768 ac_ext=cc
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 #include <math.h>
23782 main ()
23784 _sincosl(0, 0, 0);
23786 return 0;
23788 _ACEOF
23789 rm -f conftest.$ac_objext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23791 (eval $ac_compile) 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try='test -z "$ac_cxx_werror_flag"
23799 || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest.$ac_objext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 glibcxx_cv_func__sincosl_use=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 glibcxx_cv_func__sincosl_use=no
23818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23830 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23832 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23834 for ac_func in _sincosl
23836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23837 echo "$as_me:$LINENO: checking for $ac_func" >&5
23838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23839 if eval "test \"\${$as_ac_var+set}\" = set"; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23842 if test x$gcc_no_link = xyes; then
23843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23845 { (exit 1); exit 1; }; }
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23855 #define $ac_func innocuous_$ac_func
23857 /* System header to define __stub macros and hopefully few prototypes,
23858 which can conflict with char $ac_func (); below.
23859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23860 <limits.h> exists even on freestanding compilers. */
23862 #ifdef __STDC__
23863 # include <limits.h>
23864 #else
23865 # include <assert.h>
23866 #endif
23868 #undef $ac_func
23870 /* Override any gcc2 internal prototype to avoid an error. */
23871 #ifdef __cplusplus
23872 extern "C"
23874 #endif
23875 /* We use char because int might match the return type of a gcc2
23876 builtin and then its argument prototype would still apply. */
23877 char $ac_func ();
23878 /* The GNU C library defines this for functions which it implements
23879 to always fail with ENOSYS. Some functions are actually named
23880 something starting with __ and the normal name is an alias. */
23881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23882 choke me
23883 #else
23884 char (*f) () = $ac_func;
23885 #endif
23886 #ifdef __cplusplus
23888 #endif
23891 main ()
23893 return f != $ac_func;
23895 return 0;
23897 _ACEOF
23898 rm -f conftest.$ac_objext conftest$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>conftest.er1
23901 ac_status=$?
23902 grep -v '^ *+' conftest.er1 >conftest.err
23903 rm -f conftest.er1
23904 cat conftest.err >&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } &&
23907 { ac_try='test -z "$ac_c_werror_flag"
23908 || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try='test -s conftest$ac_exeext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 eval "$as_ac_var=yes"
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23925 eval "$as_ac_var=no"
23927 rm -f conftest.err conftest.$ac_objext \
23928 conftest$ac_exeext conftest.$ac_ext
23930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23932 if test `eval echo '${'$as_ac_var'}'` = yes; then
23933 cat >>confdefs.h <<_ACEOF
23934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23935 _ACEOF
23938 done
23945 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23946 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23948 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23949 echo $ECHO_N "(cached) $ECHO_C" >&6
23950 else
23954 ac_ext=cc
23955 ac_cpp='$CXXCPP $CPPFLAGS'
23956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <math.h>
23967 #ifdef HAVE_IEEEFP_H
23968 #include <ieeefp.h>
23969 #endif
23972 main ()
23974 finitel(0);
23976 return 0;
23978 _ACEOF
23979 rm -f conftest.$ac_objext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23981 (eval $ac_compile) 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try='test -z "$ac_cxx_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try='test -s conftest.$ac_objext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 glibcxx_cv_func_finitel_use=yes
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24006 glibcxx_cv_func_finitel_use=no
24008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24020 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24022 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24024 for ac_func in finitel
24026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24027 echo "$as_me:$LINENO: checking for $ac_func" >&5
24028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24029 if eval "test \"\${$as_ac_var+set}\" = set"; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 else
24032 if test x$gcc_no_link = xyes; then
24033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24035 { (exit 1); exit 1; }; }
24037 cat >conftest.$ac_ext <<_ACEOF
24038 /* confdefs.h. */
24039 _ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24045 #define $ac_func innocuous_$ac_func
24047 /* System header to define __stub macros and hopefully few prototypes,
24048 which can conflict with char $ac_func (); below.
24049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24050 <limits.h> exists even on freestanding compilers. */
24052 #ifdef __STDC__
24053 # include <limits.h>
24054 #else
24055 # include <assert.h>
24056 #endif
24058 #undef $ac_func
24060 /* Override any gcc2 internal prototype to avoid an error. */
24061 #ifdef __cplusplus
24062 extern "C"
24064 #endif
24065 /* We use char because int might match the return type of a gcc2
24066 builtin and then its argument prototype would still apply. */
24067 char $ac_func ();
24068 /* The GNU C library defines this for functions which it implements
24069 to always fail with ENOSYS. Some functions are actually named
24070 something starting with __ and the normal name is an alias. */
24071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24072 choke me
24073 #else
24074 char (*f) () = $ac_func;
24075 #endif
24076 #ifdef __cplusplus
24078 #endif
24081 main ()
24083 return f != $ac_func;
24085 return 0;
24087 _ACEOF
24088 rm -f conftest.$ac_objext conftest$ac_exeext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 (eval $ac_link) 2>conftest.er1
24091 ac_status=$?
24092 grep -v '^ *+' conftest.er1 >conftest.err
24093 rm -f conftest.er1
24094 cat conftest.err >&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } &&
24097 { ac_try='test -z "$ac_c_werror_flag"
24098 || test ! -s conftest.err'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; } &&
24104 { ac_try='test -s conftest$ac_exeext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 eval "$as_ac_var=yes"
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24115 eval "$as_ac_var=no"
24117 rm -f conftest.err conftest.$ac_objext \
24118 conftest$ac_exeext conftest.$ac_ext
24120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24122 if test `eval echo '${'$as_ac_var'}'` = yes; then
24123 cat >>confdefs.h <<_ACEOF
24124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24125 _ACEOF
24128 done
24130 else
24132 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24133 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24134 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24135 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24141 ac_ext=cc
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <math.h>
24154 #ifdef HAVE_IEEEFP_H
24155 #include <ieeefp.h>
24156 #endif
24159 main ()
24161 _finitel(0);
24163 return 0;
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24168 (eval $ac_compile) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_cxx_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest.$ac_objext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 glibcxx_cv_func__finitel_use=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24193 glibcxx_cv_func__finitel_use=no
24195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24196 ac_ext=c
24197 ac_cpp='$CPP $CPPFLAGS'
24198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24207 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24211 for ac_func in _finitel
24213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24214 echo "$as_me:$LINENO: checking for $ac_func" >&5
24215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24216 if eval "test \"\${$as_ac_var+set}\" = set"; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219 if test x$gcc_no_link = xyes; then
24220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24222 { (exit 1); exit 1; }; }
24224 cat >conftest.$ac_ext <<_ACEOF
24225 /* confdefs.h. */
24226 _ACEOF
24227 cat confdefs.h >>conftest.$ac_ext
24228 cat >>conftest.$ac_ext <<_ACEOF
24229 /* end confdefs.h. */
24230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24232 #define $ac_func innocuous_$ac_func
24234 /* System header to define __stub macros and hopefully few prototypes,
24235 which can conflict with char $ac_func (); below.
24236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24237 <limits.h> exists even on freestanding compilers. */
24239 #ifdef __STDC__
24240 # include <limits.h>
24241 #else
24242 # include <assert.h>
24243 #endif
24245 #undef $ac_func
24247 /* Override any gcc2 internal prototype to avoid an error. */
24248 #ifdef __cplusplus
24249 extern "C"
24251 #endif
24252 /* We use char because int might match the return type of a gcc2
24253 builtin and then its argument prototype would still apply. */
24254 char $ac_func ();
24255 /* The GNU C library defines this for functions which it implements
24256 to always fail with ENOSYS. Some functions are actually named
24257 something starting with __ and the normal name is an alias. */
24258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24259 choke me
24260 #else
24261 char (*f) () = $ac_func;
24262 #endif
24263 #ifdef __cplusplus
24265 #endif
24268 main ()
24270 return f != $ac_func;
24272 return 0;
24274 _ACEOF
24275 rm -f conftest.$ac_objext conftest$ac_exeext
24276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24277 (eval $ac_link) 2>conftest.er1
24278 ac_status=$?
24279 grep -v '^ *+' conftest.er1 >conftest.err
24280 rm -f conftest.er1
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -z "$ac_c_werror_flag"
24285 || test ! -s conftest.err'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; } &&
24291 { ac_try='test -s conftest$ac_exeext'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; }; then
24297 eval "$as_ac_var=yes"
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24302 eval "$as_ac_var=no"
24304 rm -f conftest.err conftest.$ac_objext \
24305 conftest$ac_exeext conftest.$ac_ext
24307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24309 if test `eval echo '${'$as_ac_var'}'` = yes; then
24310 cat >>confdefs.h <<_ACEOF
24311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24312 _ACEOF
24315 done
24323 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24324 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24325 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24331 ac_ext=cc
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337 cat >conftest.$ac_ext <<_ACEOF
24338 /* confdefs.h. */
24339 _ACEOF
24340 cat confdefs.h >>conftest.$ac_ext
24341 cat >>conftest.$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24343 #include <math.h>
24345 main ()
24347 `for x in _acosf _asinf _atanf \
24348 _cosf _sinf _tanf \
24349 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24351 return 0;
24353 _ACEOF
24354 rm -f conftest.$ac_objext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24356 (eval $ac_compile) 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try='test -z "$ac_cxx_werror_flag"
24364 || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try='test -s conftest.$ac_objext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 glibcxx_cv_func__float_trig_use=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24381 glibcxx_cv_func__float_trig_use=no
24383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24393 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24394 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24404 for ac_func in _acosf _asinf _atanf \
24405 _cosf _sinf _tanf \
24406 _coshf _sinhf _tanhf
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24411 if eval "test \"\${$as_ac_var+set}\" = set"; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24417 { (exit 1); exit 1; }; }
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24427 #define $ac_func innocuous_$ac_func
24429 /* System header to define __stub macros and hopefully few prototypes,
24430 which can conflict with char $ac_func (); below.
24431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24432 <limits.h> exists even on freestanding compilers. */
24434 #ifdef __STDC__
24435 # include <limits.h>
24436 #else
24437 # include <assert.h>
24438 #endif
24440 #undef $ac_func
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24446 #endif
24447 /* We use char because int might match the return type of a gcc2
24448 builtin and then its argument prototype would still apply. */
24449 char $ac_func ();
24450 /* The GNU C library defines this for functions which it implements
24451 to always fail with ENOSYS. Some functions are actually named
24452 something starting with __ and the normal name is an alias. */
24453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24454 choke me
24455 #else
24456 char (*f) () = $ac_func;
24457 #endif
24458 #ifdef __cplusplus
24460 #endif
24463 main ()
24465 return f != $ac_func;
24467 return 0;
24469 _ACEOF
24470 rm -f conftest.$ac_objext conftest$ac_exeext
24471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24472 (eval $ac_link) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } &&
24479 { ac_try='test -z "$ac_c_werror_flag"
24480 || test ! -s conftest.err'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; } &&
24486 { ac_try='test -s conftest$ac_exeext'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; }; then
24492 eval "$as_ac_var=yes"
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24497 eval "$as_ac_var=no"
24499 rm -f conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24504 if test `eval echo '${'$as_ac_var'}'` = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24510 done
24515 echo "$as_me:$LINENO: checking for _float round functions" >&5
24516 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24517 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 else
24523 ac_ext=cc
24524 ac_cpp='$CXXCPP $CPPFLAGS'
24525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24529 cat >conftest.$ac_ext <<_ACEOF
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 #include <math.h>
24537 main ()
24539 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24541 return 0;
24543 _ACEOF
24544 rm -f conftest.$ac_objext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24546 (eval $ac_compile) 2>conftest.er1
24547 ac_status=$?
24548 grep -v '^ *+' conftest.er1 >conftest.err
24549 rm -f conftest.er1
24550 cat conftest.err >&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try='test -z "$ac_cxx_werror_flag"
24554 || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24557 ac_status=$?
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try='test -s conftest.$ac_objext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 glibcxx_cv_func__float_round_use=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24571 glibcxx_cv_func__float_round_use=no
24573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24574 ac_ext=c
24575 ac_cpp='$CPP $CPPFLAGS'
24576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24583 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24584 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24587 for ac_func in _ceilf _floorf
24589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24590 echo "$as_me:$LINENO: checking for $ac_func" >&5
24591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24592 if eval "test \"\${$as_ac_var+set}\" = set"; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 else
24595 if test x$gcc_no_link = xyes; then
24596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24598 { (exit 1); exit 1; }; }
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24608 #define $ac_func innocuous_$ac_func
24610 /* System header to define __stub macros and hopefully few prototypes,
24611 which can conflict with char $ac_func (); below.
24612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24613 <limits.h> exists even on freestanding compilers. */
24615 #ifdef __STDC__
24616 # include <limits.h>
24617 #else
24618 # include <assert.h>
24619 #endif
24621 #undef $ac_func
24623 /* Override any gcc2 internal prototype to avoid an error. */
24624 #ifdef __cplusplus
24625 extern "C"
24627 #endif
24628 /* We use char because int might match the return type of a gcc2
24629 builtin and then its argument prototype would still apply. */
24630 char $ac_func ();
24631 /* The GNU C library defines this for functions which it implements
24632 to always fail with ENOSYS. Some functions are actually named
24633 something starting with __ and the normal name is an alias. */
24634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24635 choke me
24636 #else
24637 char (*f) () = $ac_func;
24638 #endif
24639 #ifdef __cplusplus
24641 #endif
24644 main ()
24646 return f != $ac_func;
24648 return 0;
24650 _ACEOF
24651 rm -f conftest.$ac_objext conftest$ac_exeext
24652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24653 (eval $ac_link) 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } &&
24660 { ac_try='test -z "$ac_c_werror_flag"
24661 || test ! -s conftest.err'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24664 ac_status=$?
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; } &&
24667 { ac_try='test -s conftest$ac_exeext'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24670 ac_status=$?
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; }; then
24673 eval "$as_ac_var=yes"
24674 else
24675 echo "$as_me: failed program was:" >&5
24676 sed 's/^/| /' conftest.$ac_ext >&5
24678 eval "$as_ac_var=no"
24680 rm -f conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24685 if test `eval echo '${'$as_ac_var'}'` = yes; then
24686 cat >>confdefs.h <<_ACEOF
24687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24688 _ACEOF
24691 done
24697 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24698 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24699 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24705 ac_ext=cc
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h. */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 `for x in _acosl _asinl _atanl \
24722 _cosl _sinl _tanl \
24723 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24725 return 0;
24727 _ACEOF
24728 rm -f conftest.$ac_objext
24729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24730 (eval $ac_compile) 2>conftest.er1
24731 ac_status=$?
24732 grep -v '^ *+' conftest.er1 >conftest.err
24733 rm -f conftest.er1
24734 cat conftest.err >&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } &&
24737 { ac_try='test -z "$ac_cxx_werror_flag"
24738 || test ! -s conftest.err'
24739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740 (eval $ac_try) 2>&5
24741 ac_status=$?
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); }; } &&
24744 { ac_try='test -s conftest.$ac_objext'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24747 ac_status=$?
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; }; then
24750 glibcxx_cv_func__long_double_trig_use=yes
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24755 glibcxx_cv_func__long_double_trig_use=no
24757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24758 ac_ext=c
24759 ac_cpp='$CPP $CPPFLAGS'
24760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24767 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24768 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24778 for ac_func in _acosl _asinl _atanl \
24779 _cosl _sinl _tanl \
24780 _coshl _sinhl _tanhl
24782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24783 echo "$as_me:$LINENO: checking for $ac_func" >&5
24784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24785 if eval "test \"\${$as_ac_var+set}\" = set"; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 if test x$gcc_no_link = xyes; then
24789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24791 { (exit 1); exit 1; }; }
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24801 #define $ac_func innocuous_$ac_func
24803 /* System header to define __stub macros and hopefully few prototypes,
24804 which can conflict with char $ac_func (); below.
24805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24806 <limits.h> exists even on freestanding compilers. */
24808 #ifdef __STDC__
24809 # include <limits.h>
24810 #else
24811 # include <assert.h>
24812 #endif
24814 #undef $ac_func
24816 /* Override any gcc2 internal prototype to avoid an error. */
24817 #ifdef __cplusplus
24818 extern "C"
24820 #endif
24821 /* We use char because int might match the return type of a gcc2
24822 builtin and then its argument prototype would still apply. */
24823 char $ac_func ();
24824 /* The GNU C library defines this for functions which it implements
24825 to always fail with ENOSYS. Some functions are actually named
24826 something starting with __ and the normal name is an alias. */
24827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24828 choke me
24829 #else
24830 char (*f) () = $ac_func;
24831 #endif
24832 #ifdef __cplusplus
24834 #endif
24837 main ()
24839 return f != $ac_func;
24841 return 0;
24843 _ACEOF
24844 rm -f conftest.$ac_objext conftest$ac_exeext
24845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24846 (eval $ac_link) 2>conftest.er1
24847 ac_status=$?
24848 grep -v '^ *+' conftest.er1 >conftest.err
24849 rm -f conftest.er1
24850 cat conftest.err >&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); } &&
24853 { ac_try='test -z "$ac_c_werror_flag"
24854 || test ! -s conftest.err'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; } &&
24860 { ac_try='test -s conftest$ac_exeext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 eval "$as_ac_var=yes"
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24871 eval "$as_ac_var=no"
24873 rm -f conftest.err conftest.$ac_objext \
24874 conftest$ac_exeext conftest.$ac_ext
24876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24878 if test `eval echo '${'$as_ac_var'}'` = yes; then
24879 cat >>confdefs.h <<_ACEOF
24880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24881 _ACEOF
24884 done
24889 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24890 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24892 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 else
24897 ac_ext=cc
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909 #include <math.h>
24911 main ()
24913 `for x in _ceill _floorl; do echo "$x (0);"; done`
24915 return 0;
24917 _ACEOF
24918 rm -f conftest.$ac_objext
24919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24920 (eval $ac_compile) 2>conftest.er1
24921 ac_status=$?
24922 grep -v '^ *+' conftest.er1 >conftest.err
24923 rm -f conftest.er1
24924 cat conftest.err >&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } &&
24927 { ac_try='test -z "$ac_cxx_werror_flag"
24928 || test ! -s conftest.err'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; } &&
24934 { ac_try='test -s conftest.$ac_objext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 glibcxx_cv_func__long_double_round_use=yes
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24945 glibcxx_cv_func__long_double_round_use=no
24947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24957 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24958 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24961 for ac_func in _ceill _floorl
24963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24964 echo "$as_me:$LINENO: checking for $ac_func" >&5
24965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24966 if eval "test \"\${$as_ac_var+set}\" = set"; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24968 else
24969 if test x$gcc_no_link = xyes; then
24970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24972 { (exit 1); exit 1; }; }
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24982 #define $ac_func innocuous_$ac_func
24984 /* System header to define __stub macros and hopefully few prototypes,
24985 which can conflict with char $ac_func (); below.
24986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24987 <limits.h> exists even on freestanding compilers. */
24989 #ifdef __STDC__
24990 # include <limits.h>
24991 #else
24992 # include <assert.h>
24993 #endif
24995 #undef $ac_func
24997 /* Override any gcc2 internal prototype to avoid an error. */
24998 #ifdef __cplusplus
24999 extern "C"
25001 #endif
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004 char $ac_func ();
25005 /* The GNU C library defines this for functions which it implements
25006 to always fail with ENOSYS. Some functions are actually named
25007 something starting with __ and the normal name is an alias. */
25008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25009 choke me
25010 #else
25011 char (*f) () = $ac_func;
25012 #endif
25013 #ifdef __cplusplus
25015 #endif
25018 main ()
25020 return f != $ac_func;
25022 return 0;
25024 _ACEOF
25025 rm -f conftest.$ac_objext conftest$ac_exeext
25026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25027 (eval $ac_link) 2>conftest.er1
25028 ac_status=$?
25029 grep -v '^ *+' conftest.er1 >conftest.err
25030 rm -f conftest.er1
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } &&
25034 { ac_try='test -z "$ac_c_werror_flag"
25035 || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 eval "$as_ac_var=yes"
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25052 eval "$as_ac_var=no"
25054 rm -f conftest.err conftest.$ac_objext \
25055 conftest$ac_exeext conftest.$ac_ext
25057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25059 if test `eval echo '${'$as_ac_var'}'` = yes; then
25060 cat >>confdefs.h <<_ACEOF
25061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25062 _ACEOF
25065 done
25070 LIBS="$ac_save_LIBS"
25071 CXXFLAGS="$ac_save_CXXFLAGS"
25075 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25076 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25077 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25078 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25084 ac_ext=cc
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090 cat >conftest.$ac_ext <<_ACEOF
25091 /* confdefs.h. */
25092 _ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25096 #include <math.h>
25098 main ()
25100 __builtin_abs(0);
25102 return 0;
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25107 (eval $ac_compile) 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } &&
25114 { ac_try='test -z "$ac_cxx_werror_flag"
25115 || test ! -s conftest.err'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; } &&
25121 { ac_try='test -s conftest.$ac_objext'
25122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25123 (eval $ac_try) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); }; }; then
25127 glibcxx_cv_func___builtin_abs_use=yes
25128 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25132 glibcxx_cv_func___builtin_abs_use=no
25134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25135 ac_ext=c
25136 ac_cpp='$CPP $CPPFLAGS'
25137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25146 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25147 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25148 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25149 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25150 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25151 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 else
25155 if test x$gcc_no_link = xyes; then
25156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25158 { (exit 1); exit 1; }; }
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 #include <math.h>
25168 main ()
25170 __builtin_abs(0);
25172 return 0;
25174 _ACEOF
25175 rm -f conftest.$ac_objext conftest$ac_exeext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>conftest.er1
25178 ac_status=$?
25179 grep -v '^ *+' conftest.er1 >conftest.err
25180 rm -f conftest.er1
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_c_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest$ac_exeext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 glibcxx_cv_func___builtin_abs_link=yes
25198 else
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25202 glibcxx_cv_func___builtin_abs_link=no
25204 rm -f conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25211 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25212 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25213 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25215 cat >>confdefs.h <<_ACEOF
25216 #define ${ac_tr_func} 1
25217 _ACEOF
25223 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25224 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25225 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25226 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25232 ac_ext=cc
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244 #include <math.h>
25246 main ()
25248 __builtin_fabsf(0);
25250 return 0;
25252 _ACEOF
25253 rm -f conftest.$ac_objext
25254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25255 (eval $ac_compile) 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } &&
25262 { ac_try='test -z "$ac_cxx_werror_flag"
25263 || test ! -s conftest.err'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; } &&
25269 { ac_try='test -s conftest.$ac_objext'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25272 ac_status=$?
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; }; then
25275 glibcxx_cv_func___builtin_fabsf_use=yes
25276 else
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25280 glibcxx_cv_func___builtin_fabsf_use=no
25282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25283 ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25294 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25295 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25296 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25297 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25298 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25299 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 else
25303 if test x$gcc_no_link = xyes; then
25304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25306 { (exit 1); exit 1; }; }
25308 cat >conftest.$ac_ext <<_ACEOF
25309 /* confdefs.h. */
25310 _ACEOF
25311 cat confdefs.h >>conftest.$ac_ext
25312 cat >>conftest.$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25314 #include <math.h>
25316 main ()
25318 __builtin_fabsf(0);
25320 return 0;
25322 _ACEOF
25323 rm -f conftest.$ac_objext conftest$ac_exeext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25325 (eval $ac_link) 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try='test -z "$ac_c_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try='test -s conftest$ac_exeext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 glibcxx_cv_func___builtin_fabsf_link=yes
25346 else
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25350 glibcxx_cv_func___builtin_fabsf_link=no
25352 rm -f conftest.err conftest.$ac_objext \
25353 conftest$ac_exeext conftest.$ac_ext
25358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25359 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25360 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25361 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25363 cat >>confdefs.h <<_ACEOF
25364 #define ${ac_tr_func} 1
25365 _ACEOF
25371 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25372 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25373 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25374 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25376 else
25380 ac_ext=cc
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25386 cat >conftest.$ac_ext <<_ACEOF
25387 /* confdefs.h. */
25388 _ACEOF
25389 cat confdefs.h >>conftest.$ac_ext
25390 cat >>conftest.$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25392 #include <math.h>
25394 main ()
25396 __builtin_fabs(0);
25398 return 0;
25400 _ACEOF
25401 rm -f conftest.$ac_objext
25402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25403 (eval $ac_compile) 2>conftest.er1
25404 ac_status=$?
25405 grep -v '^ *+' conftest.er1 >conftest.err
25406 rm -f conftest.er1
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } &&
25410 { ac_try='test -z "$ac_cxx_werror_flag"
25411 || test ! -s conftest.err'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25414 ac_status=$?
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; } &&
25417 { ac_try='test -s conftest.$ac_objext'
25418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25419 (eval $ac_try) 2>&5
25420 ac_status=$?
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); }; }; then
25423 glibcxx_cv_func___builtin_fabs_use=yes
25424 else
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25428 glibcxx_cv_func___builtin_fabs_use=no
25430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25431 ac_ext=c
25432 ac_cpp='$CPP $CPPFLAGS'
25433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25442 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25443 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25444 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25445 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25446 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25447 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 else
25451 if test x$gcc_no_link = xyes; then
25452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25454 { (exit 1); exit 1; }; }
25456 cat >conftest.$ac_ext <<_ACEOF
25457 /* confdefs.h. */
25458 _ACEOF
25459 cat confdefs.h >>conftest.$ac_ext
25460 cat >>conftest.$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25462 #include <math.h>
25464 main ()
25466 __builtin_fabs(0);
25468 return 0;
25470 _ACEOF
25471 rm -f conftest.$ac_objext conftest$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 glibcxx_cv_func___builtin_fabs_link=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25498 glibcxx_cv_func___builtin_fabs_link=no
25500 rm -f conftest.err conftest.$ac_objext \
25501 conftest$ac_exeext conftest.$ac_ext
25506 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25507 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25508 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25509 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25511 cat >>confdefs.h <<_ACEOF
25512 #define ${ac_tr_func} 1
25513 _ACEOF
25519 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25520 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25521 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25522 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25528 ac_ext=cc
25529 ac_cpp='$CXXCPP $CPPFLAGS'
25530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <math.h>
25542 main ()
25544 __builtin_fabsl(0);
25546 return 0;
25548 _ACEOF
25549 rm -f conftest.$ac_objext
25550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25551 (eval $ac_compile) 2>conftest.er1
25552 ac_status=$?
25553 grep -v '^ *+' conftest.er1 >conftest.err
25554 rm -f conftest.er1
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } &&
25558 { ac_try='test -z "$ac_cxx_werror_flag"
25559 || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 glibcxx_cv_func___builtin_fabsl_use=yes
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25576 glibcxx_cv_func___builtin_fabsl_use=no
25578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_ext=c
25580 ac_cpp='$CPP $CPPFLAGS'
25581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25591 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25592 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25593 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25594 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25595 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25599 if test x$gcc_no_link = xyes; then
25600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25602 { (exit 1); exit 1; }; }
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 #include <math.h>
25612 main ()
25614 __builtin_fabsl(0);
25616 return 0;
25618 _ACEOF
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25621 (eval $ac_link) 2>conftest.er1
25622 ac_status=$?
25623 grep -v '^ *+' conftest.er1 >conftest.err
25624 rm -f conftest.er1
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } &&
25628 { ac_try='test -z "$ac_c_werror_flag"
25629 || test ! -s conftest.err'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25632 ac_status=$?
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; } &&
25635 { ac_try='test -s conftest$ac_exeext'
25636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637 (eval $ac_try) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); }; }; then
25641 glibcxx_cv_func___builtin_fabsl_link=yes
25642 else
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25646 glibcxx_cv_func___builtin_fabsl_link=no
25648 rm -f conftest.err conftest.$ac_objext \
25649 conftest$ac_exeext conftest.$ac_ext
25654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25655 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25656 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25657 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25659 cat >>confdefs.h <<_ACEOF
25660 #define ${ac_tr_func} 1
25661 _ACEOF
25667 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25668 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25669 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25670 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25676 ac_ext=cc
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <math.h>
25690 main ()
25692 __builtin_labs(0);
25694 return 0;
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try='test -z "$ac_cxx_werror_flag"
25707 || test ! -s conftest.err'
25708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25709 (eval $ac_try) 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; } &&
25713 { ac_try='test -s conftest.$ac_objext'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25716 ac_status=$?
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; }; then
25719 glibcxx_cv_func___builtin_labs_use=yes
25720 else
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25724 glibcxx_cv_func___builtin_labs_use=no
25726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25727 ac_ext=c
25728 ac_cpp='$CPP $CPPFLAGS'
25729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25737 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25738 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25739 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25740 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25741 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25742 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25743 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25747 if test x$gcc_no_link = xyes; then
25748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25750 { (exit 1); exit 1; }; }
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <math.h>
25760 main ()
25762 __builtin_labs(0);
25764 return 0;
25766 _ACEOF
25767 rm -f conftest.$ac_objext conftest$ac_exeext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25769 (eval $ac_link) 2>conftest.er1
25770 ac_status=$?
25771 grep -v '^ *+' conftest.er1 >conftest.err
25772 rm -f conftest.er1
25773 cat conftest.err >&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -z "$ac_c_werror_flag"
25777 || test ! -s conftest.err'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; } &&
25783 { ac_try='test -s conftest$ac_exeext'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25786 ac_status=$?
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; }; then
25789 glibcxx_cv_func___builtin_labs_link=yes
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25794 glibcxx_cv_func___builtin_labs_link=no
25796 rm -f conftest.err conftest.$ac_objext \
25797 conftest$ac_exeext conftest.$ac_ext
25802 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25803 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25804 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25805 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25807 cat >>confdefs.h <<_ACEOF
25808 #define ${ac_tr_func} 1
25809 _ACEOF
25816 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25817 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25818 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25819 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25820 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 else
25825 ac_ext=cc
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837 #include <math.h>
25839 main ()
25841 __builtin_sqrtf(0);
25843 return 0;
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try='test -z "$ac_cxx_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 glibcxx_cv_func___builtin_sqrtf_use=yes
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25873 glibcxx_cv_func___builtin_sqrtf_use=no
25875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25888 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25889 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25890 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25891 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25892 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 else
25896 if test x$gcc_no_link = xyes; then
25897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25899 { (exit 1); exit 1; }; }
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <math.h>
25909 main ()
25911 __builtin_sqrtf(0);
25913 return 0;
25915 _ACEOF
25916 rm -f conftest.$ac_objext conftest$ac_exeext
25917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25918 (eval $ac_link) 2>conftest.er1
25919 ac_status=$?
25920 grep -v '^ *+' conftest.er1 >conftest.err
25921 rm -f conftest.er1
25922 cat conftest.err >&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try='test -z "$ac_c_werror_flag"
25926 || test ! -s conftest.err'
25927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928 (eval $ac_try) 2>&5
25929 ac_status=$?
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); }; } &&
25932 { ac_try='test -s conftest$ac_exeext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 glibcxx_cv_func___builtin_sqrtf_link=yes
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25943 glibcxx_cv_func___builtin_sqrtf_link=no
25945 rm -f conftest.err conftest.$ac_objext \
25946 conftest$ac_exeext conftest.$ac_ext
25951 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25953 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25954 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25956 cat >>confdefs.h <<_ACEOF
25957 #define ${ac_tr_func} 1
25958 _ACEOF
25964 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25965 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25966 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25967 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25973 ac_ext=cc
25974 ac_cpp='$CXXCPP $CPPFLAGS'
25975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <math.h>
25987 main ()
25989 __builtin_sqrt(0);
25991 return 0;
25993 _ACEOF
25994 rm -f conftest.$ac_objext
25995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25996 (eval $ac_compile) 2>conftest.er1
25997 ac_status=$?
25998 grep -v '^ *+' conftest.er1 >conftest.err
25999 rm -f conftest.er1
26000 cat conftest.err >&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); } &&
26003 { ac_try='test -z "$ac_cxx_werror_flag"
26004 || test ! -s conftest.err'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26007 ac_status=$?
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; } &&
26010 { ac_try='test -s conftest.$ac_objext'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; }; then
26016 glibcxx_cv_func___builtin_sqrt_use=yes
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26021 glibcxx_cv_func___builtin_sqrt_use=no
26023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26024 ac_ext=c
26025 ac_cpp='$CPP $CPPFLAGS'
26026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26035 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26036 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26037 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26038 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26039 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26040 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042 else
26044 if test x$gcc_no_link = xyes; then
26045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26047 { (exit 1); exit 1; }; }
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <math.h>
26057 main ()
26059 __builtin_sqrt(0);
26061 return 0;
26063 _ACEOF
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066 (eval $ac_link) 2>conftest.er1
26067 ac_status=$?
26068 grep -v '^ *+' conftest.er1 >conftest.err
26069 rm -f conftest.er1
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_c_werror_flag"
26074 || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 glibcxx_cv_func___builtin_sqrt_link=yes
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26091 glibcxx_cv_func___builtin_sqrt_link=no
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26101 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26102 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26104 cat >>confdefs.h <<_ACEOF
26105 #define ${ac_tr_func} 1
26106 _ACEOF
26112 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26113 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26114 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26115 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26117 else
26121 ac_ext=cc
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26135 main ()
26137 __builtin_sqrtl(0);
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144 (eval $ac_compile) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_cxx_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func___builtin_sqrtl_use=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 glibcxx_cv_func___builtin_sqrtl_use=no
26171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26183 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26184 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26185 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26186 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26187 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26188 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26192 if test x$gcc_no_link = xyes; then
26193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26195 { (exit 1); exit 1; }; }
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h. */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203 #include <math.h>
26205 main ()
26207 __builtin_sqrtl(0);
26209 return 0;
26211 _ACEOF
26212 rm -f conftest.$ac_objext conftest$ac_exeext
26213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26214 (eval $ac_link) 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } &&
26221 { ac_try='test -z "$ac_c_werror_flag"
26222 || test ! -s conftest.err'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; } &&
26228 { ac_try='test -s conftest$ac_exeext'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; }; then
26234 glibcxx_cv_func___builtin_sqrtl_link=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26239 glibcxx_cv_func___builtin_sqrtl_link=no
26241 rm -f conftest.err conftest.$ac_objext \
26242 conftest$ac_exeext conftest.$ac_ext
26247 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26248 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26249 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26250 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26252 cat >>confdefs.h <<_ACEOF
26253 #define ${ac_tr_func} 1
26254 _ACEOF
26261 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26262 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26263 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26264 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 else
26270 ac_ext=cc
26271 ac_cpp='$CXXCPP $CPPFLAGS'
26272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h. */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282 #include <math.h>
26284 main ()
26286 __builtin_sinf(0);
26288 return 0;
26290 _ACEOF
26291 rm -f conftest.$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_cxx_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest.$ac_objext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 glibcxx_cv_func___builtin_sinf_use=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26318 glibcxx_cv_func___builtin_sinf_use=no
26320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26332 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26333 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26334 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26335 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26336 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26337 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26338 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 else
26341 if test x$gcc_no_link = xyes; then
26342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26344 { (exit 1); exit 1; }; }
26346 cat >conftest.$ac_ext <<_ACEOF
26347 /* confdefs.h. */
26348 _ACEOF
26349 cat confdefs.h >>conftest.$ac_ext
26350 cat >>conftest.$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26352 #include <math.h>
26354 main ()
26356 __builtin_sinf(0);
26358 return 0;
26360 _ACEOF
26361 rm -f conftest.$ac_objext conftest$ac_exeext
26362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26363 (eval $ac_link) 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } &&
26370 { ac_try='test -z "$ac_c_werror_flag"
26371 || test ! -s conftest.err'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26374 ac_status=$?
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; } &&
26377 { ac_try='test -s conftest$ac_exeext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 glibcxx_cv_func___builtin_sinf_link=yes
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26388 glibcxx_cv_func___builtin_sinf_link=no
26390 rm -f conftest.err conftest.$ac_objext \
26391 conftest$ac_exeext conftest.$ac_ext
26396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26397 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26398 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26399 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26401 cat >>confdefs.h <<_ACEOF
26402 #define ${ac_tr_func} 1
26403 _ACEOF
26409 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26410 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26411 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26412 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26413 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 else
26418 ac_ext=cc
26419 ac_cpp='$CXXCPP $CPPFLAGS'
26420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430 #include <math.h>
26432 main ()
26434 __builtin_sin(0);
26436 return 0;
26438 _ACEOF
26439 rm -f conftest.$ac_objext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26441 (eval $ac_compile) 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try='test -z "$ac_cxx_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest.$ac_objext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 glibcxx_cv_func___builtin_sin_use=yes
26462 else
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26466 glibcxx_cv_func___builtin_sin_use=no
26468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_ext=c
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26480 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26481 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26482 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26483 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26484 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26485 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26486 echo $ECHO_N "(cached) $ECHO_C" >&6
26487 else
26489 if test x$gcc_no_link = xyes; then
26490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26492 { (exit 1); exit 1; }; }
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <math.h>
26502 main ()
26504 __builtin_sin(0);
26506 return 0;
26508 _ACEOF
26509 rm -f conftest.$ac_objext conftest$ac_exeext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26511 (eval $ac_link) 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_c_werror_flag"
26519 || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest$ac_exeext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 glibcxx_cv_func___builtin_sin_link=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26536 glibcxx_cv_func___builtin_sin_link=no
26538 rm -f conftest.err conftest.$ac_objext \
26539 conftest$ac_exeext conftest.$ac_ext
26544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26545 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26546 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26547 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26549 cat >>confdefs.h <<_ACEOF
26550 #define ${ac_tr_func} 1
26551 _ACEOF
26557 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26558 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26559 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26560 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26566 ac_ext=cc
26567 ac_cpp='$CXXCPP $CPPFLAGS'
26568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 #include <math.h>
26580 main ()
26582 __builtin_sinl(0);
26584 return 0;
26586 _ACEOF
26587 rm -f conftest.$ac_objext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26589 (eval $ac_compile) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest.$ac_objext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 glibcxx_cv_func___builtin_sinl_use=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26614 glibcxx_cv_func___builtin_sinl_use=no
26616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26617 ac_ext=c
26618 ac_cpp='$CPP $CPPFLAGS'
26619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26628 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26629 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26630 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26631 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26632 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26633 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26634 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 else
26637 if test x$gcc_no_link = xyes; then
26638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26640 { (exit 1); exit 1; }; }
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 #include <math.h>
26650 main ()
26652 __builtin_sinl(0);
26654 return 0;
26656 _ACEOF
26657 rm -f conftest.$ac_objext conftest$ac_exeext
26658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26659 (eval $ac_link) 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try='test -z "$ac_c_werror_flag"
26667 || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try='test -s conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 glibcxx_cv_func___builtin_sinl_link=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26684 glibcxx_cv_func___builtin_sinl_link=no
26686 rm -f conftest.err conftest.$ac_objext \
26687 conftest$ac_exeext conftest.$ac_ext
26692 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26693 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26694 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26695 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26697 cat >>confdefs.h <<_ACEOF
26698 #define ${ac_tr_func} 1
26699 _ACEOF
26706 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26707 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26708 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26709 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26715 ac_ext=cc
26716 ac_cpp='$CXXCPP $CPPFLAGS'
26717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26721 cat >conftest.$ac_ext <<_ACEOF
26722 /* confdefs.h. */
26723 _ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 #include <math.h>
26729 main ()
26731 __builtin_cosf(0);
26733 return 0;
26735 _ACEOF
26736 rm -f conftest.$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_cxx_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try='test -s conftest.$ac_objext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 glibcxx_cv_func___builtin_cosf_use=yes
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26763 glibcxx_cv_func___builtin_cosf_use=no
26765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26766 ac_ext=c
26767 ac_cpp='$CPP $CPPFLAGS'
26768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26777 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26778 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26779 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26780 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26781 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26782 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 else
26786 if test x$gcc_no_link = xyes; then
26787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26789 { (exit 1); exit 1; }; }
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h. */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26797 #include <math.h>
26799 main ()
26801 __builtin_cosf(0);
26803 return 0;
26805 _ACEOF
26806 rm -f conftest.$ac_objext conftest$ac_exeext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26808 (eval $ac_link) 2>conftest.er1
26809 ac_status=$?
26810 grep -v '^ *+' conftest.er1 >conftest.err
26811 rm -f conftest.er1
26812 cat conftest.err >&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } &&
26815 { ac_try='test -z "$ac_c_werror_flag"
26816 || test ! -s conftest.err'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; } &&
26822 { ac_try='test -s conftest$ac_exeext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26828 glibcxx_cv_func___builtin_cosf_link=yes
26829 else
26830 echo "$as_me: failed program was:" >&5
26831 sed 's/^/| /' conftest.$ac_ext >&5
26833 glibcxx_cv_func___builtin_cosf_link=no
26835 rm -f conftest.err conftest.$ac_objext \
26836 conftest$ac_exeext conftest.$ac_ext
26841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26842 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26843 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26844 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26846 cat >>confdefs.h <<_ACEOF
26847 #define ${ac_tr_func} 1
26848 _ACEOF
26854 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26855 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26856 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26857 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 else
26863 ac_ext=cc
26864 ac_cpp='$CXXCPP $CPPFLAGS'
26865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <math.h>
26877 main ()
26879 __builtin_cos(0);
26881 return 0;
26883 _ACEOF
26884 rm -f conftest.$ac_objext
26885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26886 (eval $ac_compile) 2>conftest.er1
26887 ac_status=$?
26888 grep -v '^ *+' conftest.er1 >conftest.err
26889 rm -f conftest.er1
26890 cat conftest.err >&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); } &&
26893 { ac_try='test -z "$ac_cxx_werror_flag"
26894 || test ! -s conftest.err'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; } &&
26900 { ac_try='test -s conftest.$ac_objext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26903 ac_status=$?
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 glibcxx_cv_func___builtin_cos_use=yes
26907 else
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26911 glibcxx_cv_func___builtin_cos_use=no
26913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26914 ac_ext=c
26915 ac_cpp='$CPP $CPPFLAGS'
26916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26925 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26926 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26927 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26928 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26929 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26930 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 else
26934 if test x$gcc_no_link = xyes; then
26935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26937 { (exit 1); exit 1; }; }
26939 cat >conftest.$ac_ext <<_ACEOF
26940 /* confdefs.h. */
26941 _ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <math.h>
26947 main ()
26949 __builtin_cos(0);
26951 return 0;
26953 _ACEOF
26954 rm -f conftest.$ac_objext conftest$ac_exeext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26956 (eval $ac_link) 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try='test -s conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 glibcxx_cv_func___builtin_cos_link=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26981 glibcxx_cv_func___builtin_cos_link=no
26983 rm -f conftest.err conftest.$ac_objext \
26984 conftest$ac_exeext conftest.$ac_ext
26989 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
26990 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
26991 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
26992 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26994 cat >>confdefs.h <<_ACEOF
26995 #define ${ac_tr_func} 1
26996 _ACEOF
27002 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27003 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27004 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27005 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 else
27011 ac_ext=cc
27012 ac_cpp='$CXXCPP $CPPFLAGS'
27013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27017 cat >conftest.$ac_ext <<_ACEOF
27018 /* confdefs.h. */
27019 _ACEOF
27020 cat confdefs.h >>conftest.$ac_ext
27021 cat >>conftest.$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023 #include <math.h>
27025 main ()
27027 __builtin_cosl(0);
27029 return 0;
27031 _ACEOF
27032 rm -f conftest.$ac_objext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27034 (eval $ac_compile) 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try='test -z "$ac_cxx_werror_flag"
27042 || test ! -s conftest.err'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try='test -s conftest.$ac_objext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27051 ac_status=$?
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27054 glibcxx_cv_func___builtin_cosl_use=yes
27055 else
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.$ac_ext >&5
27059 glibcxx_cv_func___builtin_cosl_use=no
27061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27073 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27074 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27075 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27076 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27077 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27078 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27082 if test x$gcc_no_link = xyes; then
27083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27085 { (exit 1); exit 1; }; }
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <math.h>
27095 main ()
27097 __builtin_cosl(0);
27099 return 0;
27101 _ACEOF
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27104 (eval $ac_link) 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try='test -z "$ac_c_werror_flag"
27112 || test ! -s conftest.err'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; } &&
27118 { ac_try='test -s conftest$ac_exeext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 glibcxx_cv_func___builtin_cosl_link=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27129 glibcxx_cv_func___builtin_cosl_link=no
27131 rm -f conftest.err conftest.$ac_objext \
27132 conftest$ac_exeext conftest.$ac_ext
27137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27138 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27139 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27140 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27142 cat >>confdefs.h <<_ACEOF
27143 #define ${ac_tr_func} 1
27144 _ACEOF
27152 echo "$as_me:$LINENO: checking for main in -lm" >&5
27153 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27154 if test "${ac_cv_lib_m_main+set}" = set; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 else
27157 ac_check_lib_save_LIBS=$LIBS
27158 LIBS="-lm $LIBS"
27159 if test x$gcc_no_link = xyes; then
27160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27162 { (exit 1); exit 1; }; }
27164 cat >conftest.$ac_ext <<_ACEOF
27165 /* confdefs.h. */
27166 _ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27173 main ()
27175 main ();
27177 return 0;
27179 _ACEOF
27180 rm -f conftest.$ac_objext conftest$ac_exeext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27182 (eval $ac_link) 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } &&
27189 { ac_try='test -z "$ac_c_werror_flag"
27190 || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest$ac_exeext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 ac_cv_lib_m_main=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27207 ac_cv_lib_m_main=no
27209 rm -f conftest.err conftest.$ac_objext \
27210 conftest$ac_exeext conftest.$ac_ext
27211 LIBS=$ac_check_lib_save_LIBS
27213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27214 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27215 if test $ac_cv_lib_m_main = yes; then
27216 cat >>confdefs.h <<_ACEOF
27217 #define HAVE_LIBM 1
27218 _ACEOF
27220 LIBS="-lm $LIBS"
27225 for ac_func in copysignf
27227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27228 echo "$as_me:$LINENO: checking for $ac_func" >&5
27229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27230 if eval "test \"\${$as_ac_var+set}\" = set"; then
27231 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 else
27233 if test x$gcc_no_link = xyes; then
27234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27236 { (exit 1); exit 1; }; }
27238 cat >conftest.$ac_ext <<_ACEOF
27239 /* confdefs.h. */
27240 _ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27246 #define $ac_func innocuous_$ac_func
27248 /* System header to define __stub macros and hopefully few prototypes,
27249 which can conflict with char $ac_func (); below.
27250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27251 <limits.h> exists even on freestanding compilers. */
27253 #ifdef __STDC__
27254 # include <limits.h>
27255 #else
27256 # include <assert.h>
27257 #endif
27259 #undef $ac_func
27261 /* Override any gcc2 internal prototype to avoid an error. */
27262 #ifdef __cplusplus
27263 extern "C"
27265 #endif
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27268 char $ac_func ();
27269 /* The GNU C library defines this for functions which it implements
27270 to always fail with ENOSYS. Some functions are actually named
27271 something starting with __ and the normal name is an alias. */
27272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27273 choke me
27274 #else
27275 char (*f) () = $ac_func;
27276 #endif
27277 #ifdef __cplusplus
27279 #endif
27282 main ()
27284 return f != $ac_func;
27286 return 0;
27288 _ACEOF
27289 rm -f conftest.$ac_objext conftest$ac_exeext
27290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27291 (eval $ac_link) 2>conftest.er1
27292 ac_status=$?
27293 grep -v '^ *+' conftest.er1 >conftest.err
27294 rm -f conftest.er1
27295 cat conftest.err >&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } &&
27298 { ac_try='test -z "$ac_c_werror_flag"
27299 || test ! -s conftest.err'
27300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27301 (eval $ac_try) 2>&5
27302 ac_status=$?
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); }; } &&
27305 { ac_try='test -s conftest$ac_exeext'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27308 ac_status=$?
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; }; then
27311 eval "$as_ac_var=yes"
27312 else
27313 echo "$as_me: failed program was:" >&5
27314 sed 's/^/| /' conftest.$ac_ext >&5
27316 eval "$as_ac_var=no"
27318 rm -f conftest.err conftest.$ac_objext \
27319 conftest$ac_exeext conftest.$ac_ext
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27323 if test `eval echo '${'$as_ac_var'}'` = yes; then
27324 cat >>confdefs.h <<_ACEOF
27325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27326 _ACEOF
27328 else
27329 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27331 done
27335 for ac_func in __signbit
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343 if test x$gcc_no_link = xyes; then
27344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27346 { (exit 1); exit 1; }; }
27348 cat >conftest.$ac_ext <<_ACEOF
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27356 #define $ac_func innocuous_$ac_func
27358 /* System header to define __stub macros and hopefully few prototypes,
27359 which can conflict with char $ac_func (); below.
27360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27361 <limits.h> exists even on freestanding compilers. */
27363 #ifdef __STDC__
27364 # include <limits.h>
27365 #else
27366 # include <assert.h>
27367 #endif
27369 #undef $ac_func
27371 /* Override any gcc2 internal prototype to avoid an error. */
27372 #ifdef __cplusplus
27373 extern "C"
27375 #endif
27376 /* We use char because int might match the return type of a gcc2
27377 builtin and then its argument prototype would still apply. */
27378 char $ac_func ();
27379 /* The GNU C library defines this for functions which it implements
27380 to always fail with ENOSYS. Some functions are actually named
27381 something starting with __ and the normal name is an alias. */
27382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27383 choke me
27384 #else
27385 char (*f) () = $ac_func;
27386 #endif
27387 #ifdef __cplusplus
27389 #endif
27392 main ()
27394 return f != $ac_func;
27396 return 0;
27398 _ACEOF
27399 rm -f conftest.$ac_objext conftest$ac_exeext
27400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27401 (eval $ac_link) 2>conftest.er1
27402 ac_status=$?
27403 grep -v '^ *+' conftest.er1 >conftest.err
27404 rm -f conftest.er1
27405 cat conftest.err >&5
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); } &&
27408 { ac_try='test -z "$ac_c_werror_flag"
27409 || test ! -s conftest.err'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; } &&
27415 { ac_try='test -s conftest$ac_exeext'
27416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27417 (eval $ac_try) 2>&5
27418 ac_status=$?
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); }; }; then
27421 eval "$as_ac_var=yes"
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27426 eval "$as_ac_var=no"
27428 rm -f conftest.err conftest.$ac_objext \
27429 conftest$ac_exeext conftest.$ac_ext
27431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27433 if test `eval echo '${'$as_ac_var'}'` = yes; then
27434 cat >>confdefs.h <<_ACEOF
27435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27436 _ACEOF
27438 else
27439 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27441 done
27445 for ac_func in __signbitf
27447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27448 echo "$as_me:$LINENO: checking for $ac_func" >&5
27449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27450 if eval "test \"\${$as_ac_var+set}\" = set"; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 if test x$gcc_no_link = xyes; then
27454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27456 { (exit 1); exit 1; }; }
27458 cat >conftest.$ac_ext <<_ACEOF
27459 /* confdefs.h. */
27460 _ACEOF
27461 cat confdefs.h >>conftest.$ac_ext
27462 cat >>conftest.$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27466 #define $ac_func innocuous_$ac_func
27468 /* System header to define __stub macros and hopefully few prototypes,
27469 which can conflict with char $ac_func (); below.
27470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27471 <limits.h> exists even on freestanding compilers. */
27473 #ifdef __STDC__
27474 # include <limits.h>
27475 #else
27476 # include <assert.h>
27477 #endif
27479 #undef $ac_func
27481 /* Override any gcc2 internal prototype to avoid an error. */
27482 #ifdef __cplusplus
27483 extern "C"
27485 #endif
27486 /* We use char because int might match the return type of a gcc2
27487 builtin and then its argument prototype would still apply. */
27488 char $ac_func ();
27489 /* The GNU C library defines this for functions which it implements
27490 to always fail with ENOSYS. Some functions are actually named
27491 something starting with __ and the normal name is an alias. */
27492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27493 choke me
27494 #else
27495 char (*f) () = $ac_func;
27496 #endif
27497 #ifdef __cplusplus
27499 #endif
27502 main ()
27504 return f != $ac_func;
27506 return 0;
27508 _ACEOF
27509 rm -f conftest.$ac_objext conftest$ac_exeext
27510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27511 (eval $ac_link) 2>conftest.er1
27512 ac_status=$?
27513 grep -v '^ *+' conftest.er1 >conftest.err
27514 rm -f conftest.er1
27515 cat conftest.err >&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); } &&
27518 { ac_try='test -z "$ac_c_werror_flag"
27519 || test ! -s conftest.err'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; } &&
27525 { ac_try='test -s conftest$ac_exeext'
27526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27527 (eval $ac_try) 2>&5
27528 ac_status=$?
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); }; }; then
27531 eval "$as_ac_var=yes"
27532 else
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.$ac_ext >&5
27536 eval "$as_ac_var=no"
27538 rm -f conftest.err conftest.$ac_objext \
27539 conftest$ac_exeext conftest.$ac_ext
27541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27543 if test `eval echo '${'$as_ac_var'}'` = yes; then
27544 cat >>confdefs.h <<_ACEOF
27545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27546 _ACEOF
27548 else
27549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27551 done
27554 if test x$ac_cv_func_copysignl = x"yes"; then
27556 for ac_func in __signbitl
27558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27559 echo "$as_me:$LINENO: checking for $ac_func" >&5
27560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27561 if eval "test \"\${$as_ac_var+set}\" = set"; then
27562 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 else
27564 if test x$gcc_no_link = xyes; then
27565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27567 { (exit 1); exit 1; }; }
27569 cat >conftest.$ac_ext <<_ACEOF
27570 /* confdefs.h. */
27571 _ACEOF
27572 cat confdefs.h >>conftest.$ac_ext
27573 cat >>conftest.$ac_ext <<_ACEOF
27574 /* end confdefs.h. */
27575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27577 #define $ac_func innocuous_$ac_func
27579 /* System header to define __stub macros and hopefully few prototypes,
27580 which can conflict with char $ac_func (); below.
27581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27582 <limits.h> exists even on freestanding compilers. */
27584 #ifdef __STDC__
27585 # include <limits.h>
27586 #else
27587 # include <assert.h>
27588 #endif
27590 #undef $ac_func
27592 /* Override any gcc2 internal prototype to avoid an error. */
27593 #ifdef __cplusplus
27594 extern "C"
27596 #endif
27597 /* We use char because int might match the return type of a gcc2
27598 builtin and then its argument prototype would still apply. */
27599 char $ac_func ();
27600 /* The GNU C library defines this for functions which it implements
27601 to always fail with ENOSYS. Some functions are actually named
27602 something starting with __ and the normal name is an alias. */
27603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27604 choke me
27605 #else
27606 char (*f) () = $ac_func;
27607 #endif
27608 #ifdef __cplusplus
27610 #endif
27613 main ()
27615 return f != $ac_func;
27617 return 0;
27619 _ACEOF
27620 rm -f conftest.$ac_objext conftest$ac_exeext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27622 (eval $ac_link) 2>conftest.er1
27623 ac_status=$?
27624 grep -v '^ *+' conftest.er1 >conftest.err
27625 rm -f conftest.er1
27626 cat conftest.err >&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); } &&
27629 { ac_try='test -z "$ac_c_werror_flag"
27630 || test ! -s conftest.err'
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27633 ac_status=$?
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; } &&
27636 { ac_try='test -s conftest$ac_exeext'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27639 ac_status=$?
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; }; then
27642 eval "$as_ac_var=yes"
27643 else
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27647 eval "$as_ac_var=no"
27649 rm -f conftest.err conftest.$ac_objext \
27650 conftest$ac_exeext conftest.$ac_ext
27652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27654 if test `eval echo '${'$as_ac_var'}'` = yes; then
27655 cat >>confdefs.h <<_ACEOF
27656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27657 _ACEOF
27659 else
27660 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27662 done
27666 # Used in libmath/Makefile.am.
27667 if test -n "$LIBMATHOBJS"; then
27668 need_libmath=yes
27674 enable_iconv=no
27675 # Only continue checking if the ISO C99 headers exist and support is on.
27676 if test x"$enable_wchar_t" = xyes; then
27678 # Use iconv for wchar_t to char conversions. As such, check for
27679 # X/Open Portability Guide, version 2 features (XPG2).
27680 if test "${ac_cv_header_iconv_h+set}" = set; then
27681 echo "$as_me:$LINENO: checking for iconv.h" >&5
27682 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27683 if test "${ac_cv_header_iconv_h+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27687 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27688 else
27689 # Is the header compilable?
27690 echo "$as_me:$LINENO: checking iconv.h usability" >&5
27691 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 $ac_includes_default
27699 #include <iconv.h>
27700 _ACEOF
27701 rm -f conftest.$ac_objext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27703 (eval $ac_compile) 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -z "$ac_c_werror_flag"
27711 || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest.$ac_objext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_header_compiler=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27728 ac_header_compiler=no
27730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27732 echo "${ECHO_T}$ac_header_compiler" >&6
27734 # Is the header present?
27735 echo "$as_me:$LINENO: checking iconv.h presence" >&5
27736 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
27737 cat >conftest.$ac_ext <<_ACEOF
27738 /* confdefs.h. */
27739 _ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27743 #include <iconv.h>
27744 _ACEOF
27745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27747 ac_status=$?
27748 grep -v '^ *+' conftest.er1 >conftest.err
27749 rm -f conftest.er1
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } >/dev/null; then
27753 if test -s conftest.err; then
27754 ac_cpp_err=$ac_c_preproc_warn_flag
27755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27756 else
27757 ac_cpp_err=
27759 else
27760 ac_cpp_err=yes
27762 if test -z "$ac_cpp_err"; then
27763 ac_header_preproc=yes
27764 else
27765 echo "$as_me: failed program was:" >&5
27766 sed 's/^/| /' conftest.$ac_ext >&5
27768 ac_header_preproc=no
27770 rm -f conftest.err conftest.$ac_ext
27771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27772 echo "${ECHO_T}$ac_header_preproc" >&6
27774 # So? What about this header?
27775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27776 yes:no: )
27777 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
27778 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27779 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
27780 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
27781 ac_header_preproc=yes
27783 no:yes:* )
27784 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
27785 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
27786 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
27787 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
27788 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
27789 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
27790 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
27791 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
27792 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
27793 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
27794 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
27795 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
27797 cat <<\_ASBOX
27798 ## ----------------------------------------- ##
27799 ## Report this to the package-unused lists. ##
27800 ## ----------------------------------------- ##
27801 _ASBOX
27803 sed "s/^/$as_me: WARNING: /" >&2
27805 esac
27806 echo "$as_me:$LINENO: checking for iconv.h" >&5
27807 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27808 if test "${ac_cv_header_iconv_h+set}" = set; then
27809 echo $ECHO_N "(cached) $ECHO_C" >&6
27810 else
27811 ac_cv_header_iconv_h=$ac_header_preproc
27813 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27814 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27817 if test $ac_cv_header_iconv_h = yes; then
27818 ac_has_iconv_h=yes
27819 else
27820 ac_has_iconv_h=no
27824 if test "${ac_cv_header_langinfo_h+set}" = set; then
27825 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27826 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27827 if test "${ac_cv_header_langinfo_h+set}" = set; then
27828 echo $ECHO_N "(cached) $ECHO_C" >&6
27830 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27831 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27832 else
27833 # Is the header compilable?
27834 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
27835 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
27836 cat >conftest.$ac_ext <<_ACEOF
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842 $ac_includes_default
27843 #include <langinfo.h>
27844 _ACEOF
27845 rm -f conftest.$ac_objext
27846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27847 (eval $ac_compile) 2>conftest.er1
27848 ac_status=$?
27849 grep -v '^ *+' conftest.er1 >conftest.err
27850 rm -f conftest.er1
27851 cat conftest.err >&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } &&
27854 { ac_try='test -z "$ac_c_werror_flag"
27855 || test ! -s conftest.err'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; } &&
27861 { ac_try='test -s conftest.$ac_objext'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27864 ac_status=$?
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; }; then
27867 ac_header_compiler=yes
27868 else
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.$ac_ext >&5
27872 ac_header_compiler=no
27874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27876 echo "${ECHO_T}$ac_header_compiler" >&6
27878 # Is the header present?
27879 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
27880 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
27881 cat >conftest.$ac_ext <<_ACEOF
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 #include <langinfo.h>
27888 _ACEOF
27889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } >/dev/null; then
27897 if test -s conftest.err; then
27898 ac_cpp_err=$ac_c_preproc_warn_flag
27899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27900 else
27901 ac_cpp_err=
27903 else
27904 ac_cpp_err=yes
27906 if test -z "$ac_cpp_err"; then
27907 ac_header_preproc=yes
27908 else
27909 echo "$as_me: failed program was:" >&5
27910 sed 's/^/| /' conftest.$ac_ext >&5
27912 ac_header_preproc=no
27914 rm -f conftest.err conftest.$ac_ext
27915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27916 echo "${ECHO_T}$ac_header_preproc" >&6
27918 # So? What about this header?
27919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27920 yes:no: )
27921 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
27922 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27923 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
27924 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
27925 ac_header_preproc=yes
27927 no:yes:* )
27928 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
27929 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
27931 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
27933 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
27934 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
27935 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
27936 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
27937 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
27938 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
27939 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
27941 cat <<\_ASBOX
27942 ## ----------------------------------------- ##
27943 ## Report this to the package-unused lists. ##
27944 ## ----------------------------------------- ##
27945 _ASBOX
27947 sed "s/^/$as_me: WARNING: /" >&2
27949 esac
27950 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27951 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27952 if test "${ac_cv_header_langinfo_h+set}" = set; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 ac_cv_header_langinfo_h=$ac_header_preproc
27957 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27958 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27961 if test $ac_cv_header_langinfo_h = yes; then
27962 ac_has_langinfo_h=yes
27963 else
27964 ac_has_langinfo_h=no
27969 # Check for existence of libiconv.a providing XPG2 wchar_t support.
27970 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
27971 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
27972 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27974 else
27975 ac_check_lib_save_LIBS=$LIBS
27976 LIBS="-liconv $LIBS"
27977 if test x$gcc_no_link = xyes; then
27978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27980 { (exit 1); exit 1; }; }
27982 cat >conftest.$ac_ext <<_ACEOF
27983 /* confdefs.h. */
27984 _ACEOF
27985 cat confdefs.h >>conftest.$ac_ext
27986 cat >>conftest.$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27989 /* Override any gcc2 internal prototype to avoid an error. */
27990 #ifdef __cplusplus
27991 extern "C"
27992 #endif
27993 /* We use char because int might match the return type of a gcc2
27994 builtin and then its argument prototype would still apply. */
27995 char iconv ();
27997 main ()
27999 iconv ();
28001 return 0;
28003 _ACEOF
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006 (eval $ac_link) 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } &&
28013 { ac_try='test -z "$ac_c_werror_flag"
28014 || test ! -s conftest.err'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; } &&
28020 { ac_try='test -s conftest$ac_exeext'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; }; then
28026 ac_cv_lib_iconv_iconv=yes
28027 else
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28031 ac_cv_lib_iconv_iconv=no
28033 rm -f conftest.err conftest.$ac_objext \
28034 conftest$ac_exeext conftest.$ac_ext
28035 LIBS=$ac_check_lib_save_LIBS
28037 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28038 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28039 if test $ac_cv_lib_iconv_iconv = yes; then
28040 LIBICONV="-liconv"
28043 ac_save_LIBS="$LIBS"
28044 LIBS="$LIBS $LIBICONV"
28051 for ac_func in iconv_open iconv_close iconv nl_langinfo
28053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28054 echo "$as_me:$LINENO: checking for $ac_func" >&5
28055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28056 if eval "test \"\${$as_ac_var+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059 if test x$gcc_no_link = xyes; then
28060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28062 { (exit 1); exit 1; }; }
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28079 #ifdef __STDC__
28080 # include <limits.h>
28081 #else
28082 # include <assert.h>
28083 #endif
28085 #undef $ac_func
28087 /* Override any gcc2 internal prototype to avoid an error. */
28088 #ifdef __cplusplus
28089 extern "C"
28091 #endif
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char $ac_func ();
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28099 choke me
28100 #else
28101 char (*f) () = $ac_func;
28102 #endif
28103 #ifdef __cplusplus
28105 #endif
28108 main ()
28110 return f != $ac_func;
28112 return 0;
28114 _ACEOF
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28117 (eval $ac_link) 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -z "$ac_c_werror_flag"
28125 || test ! -s conftest.err'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; } &&
28131 { ac_try='test -s conftest$ac_exeext'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; }; then
28137 eval "$as_ac_var=yes"
28138 else
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28142 eval "$as_ac_var=no"
28144 rm -f conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28152 _ACEOF
28153 ac_XPG2funcs=yes
28154 else
28155 ac_XPG2funcs=no
28157 done
28160 LIBS="$ac_save_LIBS"
28162 if test x"$ac_has_iconv_h" = xyes &&
28163 test x"$ac_has_langinfo_h" = xyes &&
28164 test x"$ac_XPG2funcs" = xyes;
28165 then
28167 cat >>confdefs.h <<\_ACEOF
28168 #define _GLIBCXX_USE_ICONV 1
28169 _ACEOF
28171 enable_iconv=yes
28174 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28175 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28176 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28177 echo "${ECHO_T}$enable_iconv" >&6
28180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28181 ac_save_CXXFLAGS="$CXXFLAGS"
28182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28185 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28186 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28188 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28190 else
28194 ac_ext=cc
28195 ac_cpp='$CXXCPP $CPPFLAGS'
28196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28200 cat >conftest.$ac_ext <<_ACEOF
28201 /* confdefs.h. */
28202 _ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28206 #include <stdlib.h>
28208 main ()
28210 strtold(0, 0);
28212 return 0;
28214 _ACEOF
28215 rm -f conftest.$ac_objext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28217 (eval $ac_compile) 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try='test -z "$ac_cxx_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try='test -s conftest.$ac_objext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 glibcxx_cv_func_strtold_use=yes
28238 else
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28242 glibcxx_cv_func_strtold_use=no
28244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28245 ac_ext=c
28246 ac_cpp='$CPP $CPPFLAGS'
28247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28256 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28257 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28259 for ac_func in strtold
28261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28264 if eval "test \"\${$as_ac_var+set}\" = set"; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 else
28267 if test x$gcc_no_link = xyes; then
28268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28270 { (exit 1); exit 1; }; }
28272 cat >conftest.$ac_ext <<_ACEOF
28273 /* confdefs.h. */
28274 _ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28280 #define $ac_func innocuous_$ac_func
28282 /* System header to define __stub macros and hopefully few prototypes,
28283 which can conflict with char $ac_func (); below.
28284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28285 <limits.h> exists even on freestanding compilers. */
28287 #ifdef __STDC__
28288 # include <limits.h>
28289 #else
28290 # include <assert.h>
28291 #endif
28293 #undef $ac_func
28295 /* Override any gcc2 internal prototype to avoid an error. */
28296 #ifdef __cplusplus
28297 extern "C"
28299 #endif
28300 /* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28302 char $ac_func ();
28303 /* The GNU C library defines this for functions which it implements
28304 to always fail with ENOSYS. Some functions are actually named
28305 something starting with __ and the normal name is an alias. */
28306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28307 choke me
28308 #else
28309 char (*f) () = $ac_func;
28310 #endif
28311 #ifdef __cplusplus
28313 #endif
28316 main ()
28318 return f != $ac_func;
28320 return 0;
28322 _ACEOF
28323 rm -f conftest.$ac_objext conftest$ac_exeext
28324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28325 (eval $ac_link) 2>conftest.er1
28326 ac_status=$?
28327 grep -v '^ *+' conftest.er1 >conftest.err
28328 rm -f conftest.er1
28329 cat conftest.err >&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try='test -z "$ac_c_werror_flag"
28333 || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try='test -s conftest$ac_exeext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 eval "$as_ac_var=yes"
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28350 eval "$as_ac_var=no"
28352 rm -f conftest.err conftest.$ac_objext \
28353 conftest$ac_exeext conftest.$ac_ext
28355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28357 if test `eval echo '${'$as_ac_var'}'` = yes; then
28358 cat >>confdefs.h <<_ACEOF
28359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28360 _ACEOF
28363 done
28368 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28369 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28370 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28371 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28377 ac_ext=cc
28378 ac_cpp='$CXXCPP $CPPFLAGS'
28379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28383 cat >conftest.$ac_ext <<_ACEOF
28384 /* confdefs.h. */
28385 _ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 cat >>conftest.$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389 #include <stdlib.h>
28391 main ()
28393 strtof(0, 0);
28395 return 0;
28397 _ACEOF
28398 rm -f conftest.$ac_objext
28399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28400 (eval $ac_compile) 2>conftest.er1
28401 ac_status=$?
28402 grep -v '^ *+' conftest.er1 >conftest.err
28403 rm -f conftest.er1
28404 cat conftest.err >&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try='test -z "$ac_cxx_werror_flag"
28408 || test ! -s conftest.err'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; } &&
28414 { ac_try='test -s conftest.$ac_objext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28417 ac_status=$?
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 glibcxx_cv_func_strtof_use=yes
28421 else
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.$ac_ext >&5
28425 glibcxx_cv_func_strtof_use=no
28427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28428 ac_ext=c
28429 ac_cpp='$CPP $CPPFLAGS'
28430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28439 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28440 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28442 for ac_func in strtof
28444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28445 echo "$as_me:$LINENO: checking for $ac_func" >&5
28446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28447 if eval "test \"\${$as_ac_var+set}\" = set"; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 else
28450 if test x$gcc_no_link = xyes; then
28451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28453 { (exit 1); exit 1; }; }
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28463 #define $ac_func innocuous_$ac_func
28465 /* System header to define __stub macros and hopefully few prototypes,
28466 which can conflict with char $ac_func (); below.
28467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28468 <limits.h> exists even on freestanding compilers. */
28470 #ifdef __STDC__
28471 # include <limits.h>
28472 #else
28473 # include <assert.h>
28474 #endif
28476 #undef $ac_func
28478 /* Override any gcc2 internal prototype to avoid an error. */
28479 #ifdef __cplusplus
28480 extern "C"
28482 #endif
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char $ac_func ();
28486 /* The GNU C library defines this for functions which it implements
28487 to always fail with ENOSYS. Some functions are actually named
28488 something starting with __ and the normal name is an alias. */
28489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28490 choke me
28491 #else
28492 char (*f) () = $ac_func;
28493 #endif
28494 #ifdef __cplusplus
28496 #endif
28499 main ()
28501 return f != $ac_func;
28503 return 0;
28505 _ACEOF
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28508 (eval $ac_link) 2>conftest.er1
28509 ac_status=$?
28510 grep -v '^ *+' conftest.er1 >conftest.err
28511 rm -f conftest.er1
28512 cat conftest.err >&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try='test -z "$ac_c_werror_flag"
28516 || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28519 ac_status=$?
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 eval "$as_ac_var=yes"
28529 else
28530 echo "$as_me: failed program was:" >&5
28531 sed 's/^/| /' conftest.$ac_ext >&5
28533 eval "$as_ac_var=no"
28535 rm -f conftest.err conftest.$ac_objext \
28536 conftest$ac_exeext conftest.$ac_ext
28538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28540 if test `eval echo '${'$as_ac_var'}'` = yes; then
28541 cat >>confdefs.h <<_ACEOF
28542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28543 _ACEOF
28546 done
28551 CXXFLAGS="$ac_save_CXXFLAGS"
28554 # For showmanyc_helper().
28557 for ac_header in sys/ioctl.h sys/filio.h
28559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28561 echo "$as_me:$LINENO: checking for $ac_header" >&5
28562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28564 echo $ECHO_N "(cached) $ECHO_C" >&6
28566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28568 else
28569 # Is the header compilable?
28570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 $ac_includes_default
28579 #include <$ac_header>
28580 _ACEOF
28581 rm -f conftest.$ac_objext
28582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28583 (eval $ac_compile) 2>conftest.er1
28584 ac_status=$?
28585 grep -v '^ *+' conftest.er1 >conftest.err
28586 rm -f conftest.er1
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } &&
28590 { ac_try='test -z "$ac_c_werror_flag"
28591 || test ! -s conftest.err'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28594 ac_status=$?
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; } &&
28597 { ac_try='test -s conftest.$ac_objext'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; }; then
28603 ac_header_compiler=yes
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28608 ac_header_compiler=no
28610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28612 echo "${ECHO_T}$ac_header_compiler" >&6
28614 # Is the header present?
28615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 #include <$ac_header>
28624 _ACEOF
28625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28627 ac_status=$?
28628 grep -v '^ *+' conftest.er1 >conftest.err
28629 rm -f conftest.er1
28630 cat conftest.err >&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); } >/dev/null; then
28633 if test -s conftest.err; then
28634 ac_cpp_err=$ac_c_preproc_warn_flag
28635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28636 else
28637 ac_cpp_err=
28639 else
28640 ac_cpp_err=yes
28642 if test -z "$ac_cpp_err"; then
28643 ac_header_preproc=yes
28644 else
28645 echo "$as_me: failed program was:" >&5
28646 sed 's/^/| /' conftest.$ac_ext >&5
28648 ac_header_preproc=no
28650 rm -f conftest.err conftest.$ac_ext
28651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28652 echo "${ECHO_T}$ac_header_preproc" >&6
28654 # So? What about this header?
28655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28656 yes:no: )
28657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28661 ac_header_preproc=yes
28663 no:yes:* )
28664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28677 cat <<\_ASBOX
28678 ## ----------------------------------------- ##
28679 ## Report this to the package-unused lists. ##
28680 ## ----------------------------------------- ##
28681 _ASBOX
28683 sed "s/^/$as_me: WARNING: /" >&2
28685 esac
28686 echo "$as_me:$LINENO: checking for $ac_header" >&5
28687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28690 else
28691 eval "$as_ac_Header=\$ac_header_preproc"
28693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28700 _ACEOF
28704 done
28707 if test "${glibcxx_cv_POLL+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 else
28711 if test x$gcc_no_link = xyes; then
28712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28714 { (exit 1); exit 1; }; }
28716 cat >conftest.$ac_ext <<_ACEOF
28717 /* confdefs.h. */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 #include <poll.h>
28724 main ()
28726 struct pollfd pfd[1];
28727 pfd[0].events = POLLIN;
28728 poll(pfd, 1, 0);
28730 return 0;
28732 _ACEOF
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28736 ac_status=$?
28737 grep -v '^ *+' conftest.er1 >conftest.err
28738 rm -f conftest.er1
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try='test -z "$ac_c_werror_flag"
28743 || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 glibcxx_cv_POLL=yes
28756 else
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.$ac_ext >&5
28760 glibcxx_cv_POLL=no
28762 rm -f conftest.err conftest.$ac_objext \
28763 conftest$ac_exeext conftest.$ac_ext
28767 if test $glibcxx_cv_POLL = yes; then
28768 cat >>confdefs.h <<\_ACEOF
28769 #define HAVE_POLL 1
28770 _ACEOF
28775 if test "${glibcxx_cv_S_ISREG+set}" = set; then
28776 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 else
28779 if test x$gcc_no_link = xyes; then
28780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28782 { (exit 1); exit 1; }; }
28784 cat >conftest.$ac_ext <<_ACEOF
28785 /* confdefs.h. */
28786 _ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790 #include <sys/stat.h>
28792 main ()
28794 struct stat buffer;
28795 fstat(0, &buffer);
28796 S_ISREG(buffer.st_mode);
28798 return 0;
28800 _ACEOF
28801 rm -f conftest.$ac_objext conftest$ac_exeext
28802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28803 (eval $ac_link) 2>conftest.er1
28804 ac_status=$?
28805 grep -v '^ *+' conftest.er1 >conftest.err
28806 rm -f conftest.er1
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } &&
28810 { ac_try='test -z "$ac_c_werror_flag"
28811 || test ! -s conftest.err'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28814 ac_status=$?
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; } &&
28817 { ac_try='test -s conftest$ac_exeext'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; }; then
28823 glibcxx_cv_S_ISREG=yes
28824 else
28825 echo "$as_me: failed program was:" >&5
28826 sed 's/^/| /' conftest.$ac_ext >&5
28828 glibcxx_cv_S_ISREG=no
28830 rm -f conftest.err conftest.$ac_objext \
28831 conftest$ac_exeext conftest.$ac_ext
28835 if test "${glibcxx_cv_S_IFREG+set}" = set; then
28836 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 else
28839 if test x$gcc_no_link = xyes; then
28840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28842 { (exit 1); exit 1; }; }
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 #include <sys/stat.h>
28852 main ()
28854 struct stat buffer;
28855 fstat(0, &buffer);
28856 S_IFREG & buffer.st_mode;
28858 return 0;
28860 _ACEOF
28861 rm -f conftest.$ac_objext conftest$ac_exeext
28862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28863 (eval $ac_link) 2>conftest.er1
28864 ac_status=$?
28865 grep -v '^ *+' conftest.er1 >conftest.err
28866 rm -f conftest.er1
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try='test -z "$ac_c_werror_flag"
28871 || test ! -s conftest.err'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; } &&
28877 { ac_try='test -s conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28880 ac_status=$?
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 glibcxx_cv_S_IFREG=yes
28884 else
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28888 glibcxx_cv_S_IFREG=no
28890 rm -f conftest.err conftest.$ac_objext \
28891 conftest$ac_exeext conftest.$ac_ext
28895 if test $glibcxx_cv_S_ISREG = yes; then
28896 cat >>confdefs.h <<\_ACEOF
28897 #define HAVE_S_ISREG 1
28898 _ACEOF
28900 elif test $glibcxx_cv_S_IFREG = yes; then
28901 cat >>confdefs.h <<\_ACEOF
28902 #define HAVE_S_IFREG 1
28903 _ACEOF
28908 # For xsputn_2().
28910 for ac_header in sys/uio.h
28912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28914 echo "$as_me:$LINENO: checking for $ac_header" >&5
28915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28921 else
28922 # Is the header compilable?
28923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28925 cat >conftest.$ac_ext <<_ACEOF
28926 /* confdefs.h. */
28927 _ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 $ac_includes_default
28932 #include <$ac_header>
28933 _ACEOF
28934 rm -f conftest.$ac_objext
28935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28936 (eval $ac_compile) 2>conftest.er1
28937 ac_status=$?
28938 grep -v '^ *+' conftest.er1 >conftest.err
28939 rm -f conftest.er1
28940 cat conftest.err >&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } &&
28943 { ac_try='test -z "$ac_c_werror_flag"
28944 || test ! -s conftest.err'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; } &&
28950 { ac_try='test -s conftest.$ac_objext'
28951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952 (eval $ac_try) 2>&5
28953 ac_status=$?
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; }; then
28956 ac_header_compiler=yes
28957 else
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.$ac_ext >&5
28961 ac_header_compiler=no
28963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28965 echo "${ECHO_T}$ac_header_compiler" >&6
28967 # Is the header present?
28968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28970 cat >conftest.$ac_ext <<_ACEOF
28971 /* confdefs.h. */
28972 _ACEOF
28973 cat confdefs.h >>conftest.$ac_ext
28974 cat >>conftest.$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28976 #include <$ac_header>
28977 _ACEOF
28978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28980 ac_status=$?
28981 grep -v '^ *+' conftest.er1 >conftest.err
28982 rm -f conftest.er1
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } >/dev/null; then
28986 if test -s conftest.err; then
28987 ac_cpp_err=$ac_c_preproc_warn_flag
28988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28989 else
28990 ac_cpp_err=
28992 else
28993 ac_cpp_err=yes
28995 if test -z "$ac_cpp_err"; then
28996 ac_header_preproc=yes
28997 else
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29001 ac_header_preproc=no
29003 rm -f conftest.err conftest.$ac_ext
29004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29005 echo "${ECHO_T}$ac_header_preproc" >&6
29007 # So? What about this header?
29008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29009 yes:no: )
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29014 ac_header_preproc=yes
29016 no:yes:* )
29017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29030 cat <<\_ASBOX
29031 ## ----------------------------------------- ##
29032 ## Report this to the package-unused lists. ##
29033 ## ----------------------------------------- ##
29034 _ASBOX
29036 sed "s/^/$as_me: WARNING: /" >&2
29038 esac
29039 echo "$as_me:$LINENO: checking for $ac_header" >&5
29040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29042 echo $ECHO_N "(cached) $ECHO_C" >&6
29043 else
29044 eval "$as_ac_Header=\$ac_header_preproc"
29046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29051 cat >>confdefs.h <<_ACEOF
29052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29053 _ACEOF
29057 done
29060 if test "${glibcxx_cv_WRITEV+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 else
29064 if test x$gcc_no_link = xyes; then
29065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29067 { (exit 1); exit 1; }; }
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 #include <sys/uio.h>
29077 main ()
29079 struct iovec iov[2];
29080 writev(0, iov, 0);
29082 return 0;
29084 _ACEOF
29085 rm -f conftest.$ac_objext conftest$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>conftest.er1
29088 ac_status=$?
29089 grep -v '^ *+' conftest.er1 >conftest.err
29090 rm -f conftest.er1
29091 cat conftest.err >&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try='test -z "$ac_c_werror_flag"
29095 || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest$ac_exeext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 glibcxx_cv_WRITEV=yes
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29112 glibcxx_cv_WRITEV=no
29114 rm -f conftest.err conftest.$ac_objext \
29115 conftest$ac_exeext conftest.$ac_ext
29119 if test $glibcxx_cv_WRITEV = yes; then
29120 cat >>confdefs.h <<\_ACEOF
29121 #define HAVE_WRITEV 1
29122 _ACEOF
29127 # For the __streamoff_base_type typedef.
29129 if test "${glibcxx_cv_INT64_T+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 else
29133 cat >conftest.$ac_ext <<_ACEOF
29134 /* confdefs.h. */
29135 _ACEOF
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29139 #include <stdint.h>
29141 main ()
29143 int64_t var;
29145 return 0;
29147 _ACEOF
29148 rm -f conftest.$ac_objext
29149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29150 (eval $ac_compile) 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_objext'
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 glibcxx_cv_INT64_T=yes
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29175 glibcxx_cv_INT64_T=no
29177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29181 if test $glibcxx_cv_INT64_T = yes; then
29182 cat >>confdefs.h <<\_ACEOF
29183 #define HAVE_INT64_T 1
29184 _ACEOF
29189 # For LFS support.
29193 ac_ext=cc
29194 ac_cpp='$CXXCPP $CPPFLAGS'
29195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29199 ac_save_CXXFLAGS="$CXXFLAGS"
29200 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29201 if test "${glibcxx_cv_LFS+set}" = set; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 else
29205 if test x$gcc_no_link = xyes; then
29206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29208 { (exit 1); exit 1; }; }
29210 cat >conftest.$ac_ext <<_ACEOF
29211 /* confdefs.h. */
29212 _ACEOF
29213 cat confdefs.h >>conftest.$ac_ext
29214 cat >>conftest.$ac_ext <<_ACEOF
29215 /* end confdefs.h. */
29216 #include <unistd.h>
29217 #include <stdio.h>
29218 #include <sys/stat.h>
29221 main ()
29223 FILE* fp;
29224 fopen64("t", "w");
29225 fseeko64(fp, 0, SEEK_CUR);
29226 ftello64(fp);
29227 lseek64(1, 0, SEEK_CUR);
29228 struct stat64 buf;
29229 fstat64(1, &buf);
29231 return 0;
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_cxx_werror_flag"
29244 || test ! -s conftest.err'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29247 ac_status=$?
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try='test -s conftest$ac_exeext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 glibcxx_cv_LFS=yes
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29261 glibcxx_cv_LFS=no
29263 rm -f conftest.err conftest.$ac_objext \
29264 conftest$ac_exeext conftest.$ac_ext
29268 if test $glibcxx_cv_LFS = yes; then
29269 cat >>confdefs.h <<\_ACEOF
29270 #define _GLIBCXX_USE_LFS 1
29271 _ACEOF
29274 CXXFLAGS="$ac_save_CXXFLAGS"
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284 if test "${ac_cv_header_locale_h+set}" = set; then
29285 echo "$as_me:$LINENO: checking for locale.h" >&5
29286 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29287 if test "${ac_cv_header_locale_h+set}" = set; then
29288 echo $ECHO_N "(cached) $ECHO_C" >&6
29290 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29291 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29292 else
29293 # Is the header compilable?
29294 echo "$as_me:$LINENO: checking locale.h usability" >&5
29295 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29296 cat >conftest.$ac_ext <<_ACEOF
29297 /* confdefs.h. */
29298 _ACEOF
29299 cat confdefs.h >>conftest.$ac_ext
29300 cat >>conftest.$ac_ext <<_ACEOF
29301 /* end confdefs.h. */
29302 $ac_includes_default
29303 #include <locale.h>
29304 _ACEOF
29305 rm -f conftest.$ac_objext
29306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29307 (eval $ac_compile) 2>conftest.er1
29308 ac_status=$?
29309 grep -v '^ *+' conftest.er1 >conftest.err
29310 rm -f conftest.er1
29311 cat conftest.err >&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); } &&
29314 { ac_try='test -z "$ac_c_werror_flag"
29315 || test ! -s conftest.err'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29318 ac_status=$?
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; } &&
29321 { ac_try='test -s conftest.$ac_objext'
29322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29323 (eval $ac_try) 2>&5
29324 ac_status=$?
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); }; }; then
29327 ac_header_compiler=yes
29328 else
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29332 ac_header_compiler=no
29334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29336 echo "${ECHO_T}$ac_header_compiler" >&6
29338 # Is the header present?
29339 echo "$as_me:$LINENO: checking locale.h presence" >&5
29340 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29341 cat >conftest.$ac_ext <<_ACEOF
29342 /* confdefs.h. */
29343 _ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347 #include <locale.h>
29348 _ACEOF
29349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } >/dev/null; then
29357 if test -s conftest.err; then
29358 ac_cpp_err=$ac_c_preproc_warn_flag
29359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29360 else
29361 ac_cpp_err=
29363 else
29364 ac_cpp_err=yes
29366 if test -z "$ac_cpp_err"; then
29367 ac_header_preproc=yes
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29372 ac_header_preproc=no
29374 rm -f conftest.err conftest.$ac_ext
29375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29376 echo "${ECHO_T}$ac_header_preproc" >&6
29378 # So? What about this header?
29379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29380 yes:no: )
29381 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29382 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29383 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29384 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29385 ac_header_preproc=yes
29387 no:yes:* )
29388 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29389 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29390 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29391 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29392 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
29393 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
29394 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
29395 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
29396 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
29397 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
29398 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
29399 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
29401 cat <<\_ASBOX
29402 ## ----------------------------------------- ##
29403 ## Report this to the package-unused lists. ##
29404 ## ----------------------------------------- ##
29405 _ASBOX
29407 sed "s/^/$as_me: WARNING: /" >&2
29409 esac
29410 echo "$as_me:$LINENO: checking for locale.h" >&5
29411 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29412 if test "${ac_cv_header_locale_h+set}" = set; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415 ac_cv_header_locale_h=$ac_header_preproc
29417 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29418 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29421 if test $ac_cv_header_locale_h = yes; then
29423 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29424 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29425 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
29426 echo $ECHO_N "(cached) $ECHO_C" >&6
29427 else
29428 if test x$gcc_no_link = xyes; then
29429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29431 { (exit 1); exit 1; }; }
29433 cat >conftest.$ac_ext <<_ACEOF
29434 /* confdefs.h. */
29435 _ACEOF
29436 cat confdefs.h >>conftest.$ac_ext
29437 cat >>conftest.$ac_ext <<_ACEOF
29438 /* end confdefs.h. */
29439 #include <locale.h>
29441 main ()
29443 return LC_MESSAGES
29445 return 0;
29447 _ACEOF
29448 rm -f conftest.$ac_objext conftest$ac_exeext
29449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29450 (eval $ac_link) 2>conftest.er1
29451 ac_status=$?
29452 grep -v '^ *+' conftest.er1 >conftest.err
29453 rm -f conftest.er1
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } &&
29457 { ac_try='test -z "$ac_c_werror_flag"
29458 || test ! -s conftest.err'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29461 ac_status=$?
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try='test -s conftest$ac_exeext'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29467 ac_status=$?
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; }; then
29470 ac_cv_val_LC_MESSAGES=yes
29471 else
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29475 ac_cv_val_LC_MESSAGES=no
29477 rm -f conftest.err conftest.$ac_objext \
29478 conftest$ac_exeext conftest.$ac_ext
29480 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
29481 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
29482 if test $ac_cv_val_LC_MESSAGES = yes; then
29483 cat >>confdefs.h <<\_ACEOF
29484 #define HAVE_LC_MESSAGES 1
29485 _ACEOF
29494 cat >conftest.$ac_ext <<_ACEOF
29495 /* confdefs.h. */
29496 _ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500 #include <setjmp.h>
29502 main ()
29504 sigjmp_buf env;
29505 while (! sigsetjmp (env, 1))
29506 siglongjmp (env, 1);
29509 return 0;
29511 _ACEOF
29512 rm -f conftest.$ac_objext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29514 (eval $ac_compile) 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } &&
29521 { ac_try='test -z "$ac_c_werror_flag"
29522 || test ! -s conftest.err'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29525 ac_status=$?
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; } &&
29528 { ac_try='test -s conftest.$ac_objext'
29529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29530 (eval $ac_try) 2>&5
29531 ac_status=$?
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); }; }; then
29535 cat >>confdefs.h <<\_ACEOF
29536 #define HAVE_SIGSETJMP 1
29537 _ACEOF
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29546 if test x$gcc_no_link = xyes; then
29547 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29548 ac_cv_func_mmap_fixed_mapped=no
29551 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29554 for ac_header in stdlib.h unistd.h
29556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29558 echo "$as_me:$LINENO: checking for $ac_header" >&5
29559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29565 else
29566 # Is the header compilable?
29567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29569 cat >conftest.$ac_ext <<_ACEOF
29570 /* confdefs.h. */
29571 _ACEOF
29572 cat confdefs.h >>conftest.$ac_ext
29573 cat >>conftest.$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29575 $ac_includes_default
29576 #include <$ac_header>
29577 _ACEOF
29578 rm -f conftest.$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try='test -z "$ac_c_werror_flag"
29588 || test ! -s conftest.err'
29589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29590 (eval $ac_try) 2>&5
29591 ac_status=$?
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); }; } &&
29594 { ac_try='test -s conftest.$ac_objext'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29597 ac_status=$?
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; }; then
29600 ac_header_compiler=yes
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29605 ac_header_compiler=no
29607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29609 echo "${ECHO_T}$ac_header_compiler" >&6
29611 # Is the header present?
29612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29614 cat >conftest.$ac_ext <<_ACEOF
29615 /* confdefs.h. */
29616 _ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29620 #include <$ac_header>
29621 _ACEOF
29622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29624 ac_status=$?
29625 grep -v '^ *+' conftest.er1 >conftest.err
29626 rm -f conftest.er1
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } >/dev/null; then
29630 if test -s conftest.err; then
29631 ac_cpp_err=$ac_c_preproc_warn_flag
29632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29633 else
29634 ac_cpp_err=
29636 else
29637 ac_cpp_err=yes
29639 if test -z "$ac_cpp_err"; then
29640 ac_header_preproc=yes
29641 else
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29645 ac_header_preproc=no
29647 rm -f conftest.err conftest.$ac_ext
29648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29649 echo "${ECHO_T}$ac_header_preproc" >&6
29651 # So? What about this header?
29652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29653 yes:no: )
29654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29658 ac_header_preproc=yes
29660 no:yes:* )
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29674 cat <<\_ASBOX
29675 ## ----------------------------------------- ##
29676 ## Report this to the package-unused lists. ##
29677 ## ----------------------------------------- ##
29678 _ASBOX
29680 sed "s/^/$as_me: WARNING: /" >&2
29682 esac
29683 echo "$as_me:$LINENO: checking for $ac_header" >&5
29684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29688 eval "$as_ac_Header=\$ac_header_preproc"
29690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29695 cat >>confdefs.h <<_ACEOF
29696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29697 _ACEOF
29701 done
29704 for ac_func in getpagesize
29706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29707 echo "$as_me:$LINENO: checking for $ac_func" >&5
29708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29709 if eval "test \"\${$as_ac_var+set}\" = set"; then
29710 echo $ECHO_N "(cached) $ECHO_C" >&6
29711 else
29712 if test x$gcc_no_link = xyes; then
29713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29715 { (exit 1); exit 1; }; }
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29725 #define $ac_func innocuous_$ac_func
29727 /* System header to define __stub macros and hopefully few prototypes,
29728 which can conflict with char $ac_func (); below.
29729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29730 <limits.h> exists even on freestanding compilers. */
29732 #ifdef __STDC__
29733 # include <limits.h>
29734 #else
29735 # include <assert.h>
29736 #endif
29738 #undef $ac_func
29740 /* Override any gcc2 internal prototype to avoid an error. */
29741 #ifdef __cplusplus
29742 extern "C"
29744 #endif
29745 /* We use char because int might match the return type of a gcc2
29746 builtin and then its argument prototype would still apply. */
29747 char $ac_func ();
29748 /* The GNU C library defines this for functions which it implements
29749 to always fail with ENOSYS. Some functions are actually named
29750 something starting with __ and the normal name is an alias. */
29751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29752 choke me
29753 #else
29754 char (*f) () = $ac_func;
29755 #endif
29756 #ifdef __cplusplus
29758 #endif
29761 main ()
29763 return f != $ac_func;
29765 return 0;
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770 (eval $ac_link) 2>conftest.er1
29771 ac_status=$?
29772 grep -v '^ *+' conftest.er1 >conftest.err
29773 rm -f conftest.er1
29774 cat conftest.err >&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } &&
29777 { ac_try='test -z "$ac_c_werror_flag"
29778 || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 eval "$as_ac_var=yes"
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29795 eval "$as_ac_var=no"
29797 rm -f conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29802 if test `eval echo '${'$as_ac_var'}'` = yes; then
29803 cat >>confdefs.h <<_ACEOF
29804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29805 _ACEOF
29808 done
29810 echo "$as_me:$LINENO: checking for working mmap" >&5
29811 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29812 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29813 echo $ECHO_N "(cached) $ECHO_C" >&6
29814 else
29815 if test "$cross_compiling" = yes; then
29816 ac_cv_func_mmap_fixed_mapped=no
29817 else
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 $ac_includes_default
29825 /* malloc might have been renamed as rpl_malloc. */
29826 #undef malloc
29828 /* Thanks to Mike Haertel and Jim Avera for this test.
29829 Here is a matrix of mmap possibilities:
29830 mmap private not fixed
29831 mmap private fixed at somewhere currently unmapped
29832 mmap private fixed at somewhere already mapped
29833 mmap shared not fixed
29834 mmap shared fixed at somewhere currently unmapped
29835 mmap shared fixed at somewhere already mapped
29836 For private mappings, we should verify that changes cannot be read()
29837 back from the file, nor mmap's back from the file at a different
29838 address. (There have been systems where private was not correctly
29839 implemented like the infamous i386 svr4.0, and systems where the
29840 VM page cache was not coherent with the file system buffer cache
29841 like early versions of FreeBSD and possibly contemporary NetBSD.)
29842 For shared mappings, we should conversely verify that changes get
29843 propagated back to all the places they're supposed to be.
29845 Grep wants private fixed already mapped.
29846 The main things grep needs to know about mmap are:
29847 * does it exist and is it safe to write into the mmap'd area
29848 * how to use it (BSD variants) */
29850 #include <fcntl.h>
29851 #include <sys/mman.h>
29853 #if !STDC_HEADERS && !HAVE_STDLIB_H
29854 char *malloc ();
29855 #endif
29857 /* This mess was copied from the GNU getpagesize.h. */
29858 #if !HAVE_GETPAGESIZE
29859 /* Assume that all systems that can run configure have sys/param.h. */
29860 # if !HAVE_SYS_PARAM_H
29861 # define HAVE_SYS_PARAM_H 1
29862 # endif
29864 # ifdef _SC_PAGESIZE
29865 # define getpagesize() sysconf(_SC_PAGESIZE)
29866 # else /* no _SC_PAGESIZE */
29867 # if HAVE_SYS_PARAM_H
29868 # include <sys/param.h>
29869 # ifdef EXEC_PAGESIZE
29870 # define getpagesize() EXEC_PAGESIZE
29871 # else /* no EXEC_PAGESIZE */
29872 # ifdef NBPG
29873 # define getpagesize() NBPG * CLSIZE
29874 # ifndef CLSIZE
29875 # define CLSIZE 1
29876 # endif /* no CLSIZE */
29877 # else /* no NBPG */
29878 # ifdef NBPC
29879 # define getpagesize() NBPC
29880 # else /* no NBPC */
29881 # ifdef PAGESIZE
29882 # define getpagesize() PAGESIZE
29883 # endif /* PAGESIZE */
29884 # endif /* no NBPC */
29885 # endif /* no NBPG */
29886 # endif /* no EXEC_PAGESIZE */
29887 # else /* no HAVE_SYS_PARAM_H */
29888 # define getpagesize() 8192 /* punt totally */
29889 # endif /* no HAVE_SYS_PARAM_H */
29890 # endif /* no _SC_PAGESIZE */
29892 #endif /* no HAVE_GETPAGESIZE */
29895 main ()
29897 char *data, *data2, *data3;
29898 int i, pagesize;
29899 int fd;
29901 pagesize = getpagesize ();
29903 /* First, make a file with some known garbage in it. */
29904 data = (char *) malloc (pagesize);
29905 if (!data)
29906 exit (1);
29907 for (i = 0; i < pagesize; ++i)
29908 *(data + i) = rand ();
29909 umask (0);
29910 fd = creat ("conftest.mmap", 0600);
29911 if (fd < 0)
29912 exit (1);
29913 if (write (fd, data, pagesize) != pagesize)
29914 exit (1);
29915 close (fd);
29917 /* Next, try to mmap the file at a fixed address which already has
29918 something else allocated at it. If we can, also make sure that
29919 we see the same garbage. */
29920 fd = open ("conftest.mmap", O_RDWR);
29921 if (fd < 0)
29922 exit (1);
29923 data2 = (char *) malloc (2 * pagesize);
29924 if (!data2)
29925 exit (1);
29926 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29927 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29928 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29929 exit (1);
29930 for (i = 0; i < pagesize; ++i)
29931 if (*(data + i) != *(data2 + i))
29932 exit (1);
29934 /* Finally, make sure that changes to the mapped area do not
29935 percolate back to the file as seen by read(). (This is a bug on
29936 some variants of i386 svr4.0.) */
29937 for (i = 0; i < pagesize; ++i)
29938 *(data2 + i) = *(data2 + i) + 1;
29939 data3 = (char *) malloc (pagesize);
29940 if (!data3)
29941 exit (1);
29942 if (read (fd, data3, pagesize) != pagesize)
29943 exit (1);
29944 for (i = 0; i < pagesize; ++i)
29945 if (*(data + i) != *(data3 + i))
29946 exit (1);
29947 close (fd);
29948 exit (0);
29950 _ACEOF
29951 rm -f conftest$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>&5
29954 ac_status=$?
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29958 (eval $ac_try) 2>&5
29959 ac_status=$?
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); }; }; then
29962 ac_cv_func_mmap_fixed_mapped=yes
29963 else
29964 echo "$as_me: program exited with status $ac_status" >&5
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29968 ( exit $ac_status )
29969 ac_cv_func_mmap_fixed_mapped=no
29971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29974 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29975 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29976 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29978 cat >>confdefs.h <<\_ACEOF
29979 #define HAVE_MMAP 1
29980 _ACEOF
29983 rm -f conftest.mmap
29987 else
29989 # This lets us hard-code the functionality we know we'll have in the cross
29990 # target environment. "Let" is a sugar-coated word placed on an especially
29991 # dull and tedious hack, actually.
29993 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29994 # that involve linking, can't be used:
29995 # "cannot open sim-crt0.o"
29996 # "cannot open crt0.o"
29997 # etc. All this is because there currently exists no unified, consistent
29998 # way for top level CC information to be passed down to target directories:
29999 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30000 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30001 # crosses can be removed.
30003 # If Canadian cross, then don't pick up tools from the build directory.
30004 # Used only in GLIBCXX_EXPORT_INCLUDES.
30005 if test -n "$with_cross_host" &&
30006 test x"$build_alias" != x"$with_cross_host" &&
30007 test x"$build" != x"$target";
30008 then
30009 CANADIAN=yes
30010 else
30011 CANADIAN=no
30014 # Construct crosses by hand, eliminating bits that need ld...
30015 # GLIBCXX_CHECK_COMPILER_FEATURES
30016 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30017 # GLIBCXX_CHECK_MATH_SUPPORT
30019 # First, test for "known" system libraries. We may be using newlib even
30020 # on a hosted environment.
30021 if test "x${with_newlib}" = "xyes"; then
30022 os_include_dir="os/newlib"
30023 cat >>confdefs.h <<\_ACEOF
30024 #define HAVE_HYPOT 1
30025 _ACEOF
30028 # GLIBCXX_CHECK_STDLIB_SUPPORT
30029 cat >>confdefs.h <<\_ACEOF
30030 #define HAVE_STRTOF 1
30031 _ACEOF
30033 # AC_FUNC_MMAP
30034 cat >>confdefs.h <<\_ACEOF
30035 #define HAVE_MMAP 1
30036 _ACEOF
30039 cat >>confdefs.h <<\_ACEOF
30040 #define HAVE_ACOSF 1
30041 _ACEOF
30043 cat >>confdefs.h <<\_ACEOF
30044 #define HAVE_ASINF 1
30045 _ACEOF
30047 cat >>confdefs.h <<\_ACEOF
30048 #define HAVE_ATAN2F 1
30049 _ACEOF
30051 cat >>confdefs.h <<\_ACEOF
30052 #define HAVE_ATANF 1
30053 _ACEOF
30055 cat >>confdefs.h <<\_ACEOF
30056 #define HAVE_CEILF 1
30057 _ACEOF
30059 cat >>confdefs.h <<\_ACEOF
30060 #define HAVE_COPYSIGN 1
30061 _ACEOF
30063 cat >>confdefs.h <<\_ACEOF
30064 #define HAVE_COPYSIGNF 1
30065 _ACEOF
30067 cat >>confdefs.h <<\_ACEOF
30068 #define HAVE_COSF 1
30069 _ACEOF
30071 cat >>confdefs.h <<\_ACEOF
30072 #define HAVE_COSHF 1
30073 _ACEOF
30075 cat >>confdefs.h <<\_ACEOF
30076 #define HAVE_EXPF 1
30077 _ACEOF
30079 cat >>confdefs.h <<\_ACEOF
30080 #define HAVE_FABSF 1
30081 _ACEOF
30083 cat >>confdefs.h <<\_ACEOF
30084 #define HAVE_FLOORF 1
30085 _ACEOF
30087 cat >>confdefs.h <<\_ACEOF
30088 #define HAVE_FMODF 1
30089 _ACEOF
30091 cat >>confdefs.h <<\_ACEOF
30092 #define HAVE_FREXPF 1
30093 _ACEOF
30095 cat >>confdefs.h <<\_ACEOF
30096 #define HAVE_LDEXPF 1
30097 _ACEOF
30099 cat >>confdefs.h <<\_ACEOF
30100 #define HAVE_LOG10F 1
30101 _ACEOF
30103 cat >>confdefs.h <<\_ACEOF
30104 #define HAVE_LOGF 1
30105 _ACEOF
30107 cat >>confdefs.h <<\_ACEOF
30108 #define HAVE_MODFF 1
30109 _ACEOF
30111 cat >>confdefs.h <<\_ACEOF
30112 #define HAVE_POWF 1
30113 _ACEOF
30115 cat >>confdefs.h <<\_ACEOF
30116 #define HAVE_SINF 1
30117 _ACEOF
30119 cat >>confdefs.h <<\_ACEOF
30120 #define HAVE_SINHF 1
30121 _ACEOF
30123 cat >>confdefs.h <<\_ACEOF
30124 #define HAVE_SQRTF 1
30125 _ACEOF
30127 cat >>confdefs.h <<\_ACEOF
30128 #define HAVE_TANF 1
30129 _ACEOF
30131 cat >>confdefs.h <<\_ACEOF
30132 #define HAVE_TANHF 1
30133 _ACEOF
30136 cat >>confdefs.h <<\_ACEOF
30137 #define HAVE_S_ISREG 1
30138 _ACEOF
30140 cat >>confdefs.h <<\_ACEOF
30141 #define HAVE_S_IFREG 1
30142 _ACEOF
30144 else
30146 # Base decisions on target environment.
30147 case "${host}" in
30148 arm*-*-symbianelf*)
30149 # This is a freestanding configuration; there is nothing to do here.
30152 *-darwin*)
30153 # Darwin versions vary, but the linker should work in a cross environment,
30154 # so we just check for all the features here.
30155 # Check for available headers.
30169 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30170 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30171 sys/types.h
30173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30175 echo "$as_me:$LINENO: checking for $ac_header" >&5
30176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30182 else
30183 # Is the header compilable?
30184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30186 cat >conftest.$ac_ext <<_ACEOF
30187 /* confdefs.h. */
30188 _ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30192 $ac_includes_default
30193 #include <$ac_header>
30194 _ACEOF
30195 rm -f conftest.$ac_objext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30197 (eval $ac_compile) 2>conftest.er1
30198 ac_status=$?
30199 grep -v '^ *+' conftest.er1 >conftest.err
30200 rm -f conftest.er1
30201 cat conftest.err >&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); } &&
30204 { ac_try='test -z "$ac_c_werror_flag"
30205 || test ! -s conftest.err'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; } &&
30211 { ac_try='test -s conftest.$ac_objext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 ac_header_compiler=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30222 ac_header_compiler=no
30224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30226 echo "${ECHO_T}$ac_header_compiler" >&6
30228 # Is the header present?
30229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30231 cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h. */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30237 #include <$ac_header>
30238 _ACEOF
30239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30241 ac_status=$?
30242 grep -v '^ *+' conftest.er1 >conftest.err
30243 rm -f conftest.er1
30244 cat conftest.err >&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); } >/dev/null; then
30247 if test -s conftest.err; then
30248 ac_cpp_err=$ac_c_preproc_warn_flag
30249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30250 else
30251 ac_cpp_err=
30253 else
30254 ac_cpp_err=yes
30256 if test -z "$ac_cpp_err"; then
30257 ac_header_preproc=yes
30258 else
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30262 ac_header_preproc=no
30264 rm -f conftest.err conftest.$ac_ext
30265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30266 echo "${ECHO_T}$ac_header_preproc" >&6
30268 # So? What about this header?
30269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30270 yes:no: )
30271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30275 ac_header_preproc=yes
30277 no:yes:* )
30278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30291 cat <<\_ASBOX
30292 ## ----------------------------------------- ##
30293 ## Report this to the package-unused lists. ##
30294 ## ----------------------------------------- ##
30295 _ASBOX
30297 sed "s/^/$as_me: WARNING: /" >&2
30299 esac
30300 echo "$as_me:$LINENO: checking for $ac_header" >&5
30301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305 eval "$as_ac_Header=\$ac_header_preproc"
30307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30312 cat >>confdefs.h <<_ACEOF
30313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30314 _ACEOF
30318 done
30322 # All these tests are for C++; save the language and the compiler flags.
30323 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30324 # found in GLIBCXX_CONFIGURE.
30327 ac_ext=cc
30328 ac_cpp='$CXXCPP $CPPFLAGS'
30329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30333 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30334 ac_save_CXXFLAGS="$CXXFLAGS"
30336 # Check for maintainer-mode bits.
30337 if test x"$USE_MAINTAINER_MODE" = xno; then
30338 WERROR=''
30339 else
30340 WERROR='-Werror'
30343 # Check for -ffunction-sections -fdata-sections
30344 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30345 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30346 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30347 cat >conftest.$ac_ext <<_ACEOF
30348 /* confdefs.h. */
30349 _ACEOF
30350 cat confdefs.h >>conftest.$ac_ext
30351 cat >>conftest.$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30355 main ()
30357 int foo;
30359 return 0;
30361 _ACEOF
30362 rm -f conftest.$ac_objext
30363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30364 (eval $ac_compile) 2>conftest.er1
30365 ac_status=$?
30366 grep -v '^ *+' conftest.er1 >conftest.err
30367 rm -f conftest.er1
30368 cat conftest.err >&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } &&
30371 { ac_try='test -z "$ac_cxx_werror_flag"
30372 || test ! -s conftest.err'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30375 ac_status=$?
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; } &&
30378 { ac_try='test -s conftest.$ac_objext'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30381 ac_status=$?
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; }; then
30384 ac_fdsections=yes
30385 else
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.$ac_ext >&5
30389 ac_fdsections=no
30391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30392 if test "$ac_test_CXXFLAGS" = set; then
30393 CXXFLAGS="$ac_save_CXXFLAGS"
30394 else
30395 # this is the suspicious part
30396 CXXFLAGS=''
30398 if test x"$ac_fdsections" = x"yes"; then
30399 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30401 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
30402 echo "${ECHO_T}$ac_fdsections" >&6
30404 ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30413 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
30415 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30416 ac_save_CXXFLAGS="$CXXFLAGS"
30417 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30419 echo "$as_me:$LINENO: checking for sin in -lm" >&5
30420 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
30421 if test "${ac_cv_lib_m_sin+set}" = set; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30423 else
30424 ac_check_lib_save_LIBS=$LIBS
30425 LIBS="-lm $LIBS"
30426 if test x$gcc_no_link = xyes; then
30427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30429 { (exit 1); exit 1; }; }
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h. */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30438 /* Override any gcc2 internal prototype to avoid an error. */
30439 #ifdef __cplusplus
30440 extern "C"
30441 #endif
30442 /* We use char because int might match the return type of a gcc2
30443 builtin and then its argument prototype would still apply. */
30444 char sin ();
30446 main ()
30448 sin ();
30450 return 0;
30452 _ACEOF
30453 rm -f conftest.$ac_objext conftest$ac_exeext
30454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30455 (eval $ac_link) 2>conftest.er1
30456 ac_status=$?
30457 grep -v '^ *+' conftest.er1 >conftest.err
30458 rm -f conftest.er1
30459 cat conftest.err >&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); } &&
30462 { ac_try='test -z "$ac_c_werror_flag"
30463 || test ! -s conftest.err'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30466 ac_status=$?
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; } &&
30469 { ac_try='test -s conftest$ac_exeext'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30472 ac_status=$?
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; }; then
30475 ac_cv_lib_m_sin=yes
30476 else
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30480 ac_cv_lib_m_sin=no
30482 rm -f conftest.err conftest.$ac_objext \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
30487 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
30488 if test $ac_cv_lib_m_sin = yes; then
30489 libm="-lm"
30492 ac_save_LIBS="$LIBS"
30493 LIBS="$LIBS $libm"
30497 echo "$as_me:$LINENO: checking for isinf declaration" >&5
30498 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
30499 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30500 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 else
30506 ac_ext=cc
30507 ac_cpp='$CXXCPP $CPPFLAGS'
30508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 #include <math.h>
30519 #ifdef HAVE_IEEEFP_H
30520 #include <ieeefp.h>
30521 #endif
30524 main ()
30526 isinf(0);
30528 return 0;
30530 _ACEOF
30531 rm -f conftest.$ac_objext
30532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30533 (eval $ac_compile) 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try='test -z "$ac_cxx_werror_flag"
30541 || test ! -s conftest.err'
30542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30543 (eval $ac_try) 2>&5
30544 ac_status=$?
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; } &&
30547 { ac_try='test -s conftest.$ac_objext'
30548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30549 (eval $ac_try) 2>&5
30550 ac_status=$?
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; }; then
30553 glibcxx_cv_func_isinf_use=yes
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30558 glibcxx_cv_func_isinf_use=no
30560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
30572 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
30574 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30576 for ac_func in isinf
30578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30579 echo "$as_me:$LINENO: checking for $ac_func" >&5
30580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30581 if eval "test \"\${$as_ac_var+set}\" = set"; then
30582 echo $ECHO_N "(cached) $ECHO_C" >&6
30583 else
30584 if test x$gcc_no_link = xyes; then
30585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30587 { (exit 1); exit 1; }; }
30589 cat >conftest.$ac_ext <<_ACEOF
30590 /* confdefs.h. */
30591 _ACEOF
30592 cat confdefs.h >>conftest.$ac_ext
30593 cat >>conftest.$ac_ext <<_ACEOF
30594 /* end confdefs.h. */
30595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30597 #define $ac_func innocuous_$ac_func
30599 /* System header to define __stub macros and hopefully few prototypes,
30600 which can conflict with char $ac_func (); below.
30601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30602 <limits.h> exists even on freestanding compilers. */
30604 #ifdef __STDC__
30605 # include <limits.h>
30606 #else
30607 # include <assert.h>
30608 #endif
30610 #undef $ac_func
30612 /* Override any gcc2 internal prototype to avoid an error. */
30613 #ifdef __cplusplus
30614 extern "C"
30616 #endif
30617 /* We use char because int might match the return type of a gcc2
30618 builtin and then its argument prototype would still apply. */
30619 char $ac_func ();
30620 /* The GNU C library defines this for functions which it implements
30621 to always fail with ENOSYS. Some functions are actually named
30622 something starting with __ and the normal name is an alias. */
30623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30624 choke me
30625 #else
30626 char (*f) () = $ac_func;
30627 #endif
30628 #ifdef __cplusplus
30630 #endif
30633 main ()
30635 return f != $ac_func;
30637 return 0;
30639 _ACEOF
30640 rm -f conftest.$ac_objext conftest$ac_exeext
30641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30642 (eval $ac_link) 2>conftest.er1
30643 ac_status=$?
30644 grep -v '^ *+' conftest.er1 >conftest.err
30645 rm -f conftest.er1
30646 cat conftest.err >&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); } &&
30649 { ac_try='test -z "$ac_c_werror_flag"
30650 || test ! -s conftest.err'
30651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30652 (eval $ac_try) 2>&5
30653 ac_status=$?
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); }; } &&
30656 { ac_try='test -s conftest$ac_exeext'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 eval "$as_ac_var=yes"
30663 else
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.$ac_ext >&5
30667 eval "$as_ac_var=no"
30669 rm -f conftest.err conftest.$ac_objext \
30670 conftest$ac_exeext conftest.$ac_ext
30672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30674 if test `eval echo '${'$as_ac_var'}'` = yes; then
30675 cat >>confdefs.h <<_ACEOF
30676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30677 _ACEOF
30680 done
30682 else
30684 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
30685 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
30686 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30687 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 else
30693 ac_ext=cc
30694 ac_cpp='$CXXCPP $CPPFLAGS'
30695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30699 cat >conftest.$ac_ext <<_ACEOF
30700 /* confdefs.h. */
30701 _ACEOF
30702 cat confdefs.h >>conftest.$ac_ext
30703 cat >>conftest.$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30705 #include <math.h>
30706 #ifdef HAVE_IEEEFP_H
30707 #include <ieeefp.h>
30708 #endif
30711 main ()
30713 _isinf(0);
30715 return 0;
30717 _ACEOF
30718 rm -f conftest.$ac_objext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30720 (eval $ac_compile) 2>conftest.er1
30721 ac_status=$?
30722 grep -v '^ *+' conftest.er1 >conftest.err
30723 rm -f conftest.er1
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try='test -z "$ac_cxx_werror_flag"
30728 || test ! -s conftest.err'
30729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30730 (eval $ac_try) 2>&5
30731 ac_status=$?
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); }; } &&
30734 { ac_try='test -s conftest.$ac_objext'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30737 ac_status=$?
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; }; then
30740 glibcxx_cv_func__isinf_use=yes
30741 else
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.$ac_ext >&5
30745 glibcxx_cv_func__isinf_use=no
30747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30748 ac_ext=c
30749 ac_cpp='$CPP $CPPFLAGS'
30750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
30759 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
30761 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30763 for ac_func in _isinf
30765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 echo "$as_me:$LINENO: checking for $ac_func" >&5
30767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30768 if eval "test \"\${$as_ac_var+set}\" = set"; then
30769 echo $ECHO_N "(cached) $ECHO_C" >&6
30770 else
30771 if test x$gcc_no_link = xyes; then
30772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30774 { (exit 1); exit 1; }; }
30776 cat >conftest.$ac_ext <<_ACEOF
30777 /* confdefs.h. */
30778 _ACEOF
30779 cat confdefs.h >>conftest.$ac_ext
30780 cat >>conftest.$ac_ext <<_ACEOF
30781 /* end confdefs.h. */
30782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30784 #define $ac_func innocuous_$ac_func
30786 /* System header to define __stub macros and hopefully few prototypes,
30787 which can conflict with char $ac_func (); below.
30788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30789 <limits.h> exists even on freestanding compilers. */
30791 #ifdef __STDC__
30792 # include <limits.h>
30793 #else
30794 # include <assert.h>
30795 #endif
30797 #undef $ac_func
30799 /* Override any gcc2 internal prototype to avoid an error. */
30800 #ifdef __cplusplus
30801 extern "C"
30803 #endif
30804 /* We use char because int might match the return type of a gcc2
30805 builtin and then its argument prototype would still apply. */
30806 char $ac_func ();
30807 /* The GNU C library defines this for functions which it implements
30808 to always fail with ENOSYS. Some functions are actually named
30809 something starting with __ and the normal name is an alias. */
30810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30811 choke me
30812 #else
30813 char (*f) () = $ac_func;
30814 #endif
30815 #ifdef __cplusplus
30817 #endif
30820 main ()
30822 return f != $ac_func;
30824 return 0;
30826 _ACEOF
30827 rm -f conftest.$ac_objext conftest$ac_exeext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30829 (eval $ac_link) 2>conftest.er1
30830 ac_status=$?
30831 grep -v '^ *+' conftest.er1 >conftest.err
30832 rm -f conftest.er1
30833 cat conftest.err >&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -z "$ac_c_werror_flag"
30837 || test ! -s conftest.err'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; } &&
30843 { ac_try='test -s conftest$ac_exeext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849 eval "$as_ac_var=yes"
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30854 eval "$as_ac_var=no"
30856 rm -f conftest.err conftest.$ac_objext \
30857 conftest$ac_exeext conftest.$ac_ext
30859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30861 if test `eval echo '${'$as_ac_var'}'` = yes; then
30862 cat >>confdefs.h <<_ACEOF
30863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30864 _ACEOF
30867 done
30874 echo "$as_me:$LINENO: checking for isnan declaration" >&5
30875 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
30876 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30877 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 else
30883 ac_ext=cc
30884 ac_cpp='$CXXCPP $CPPFLAGS'
30885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30889 cat >conftest.$ac_ext <<_ACEOF
30890 /* confdefs.h. */
30891 _ACEOF
30892 cat confdefs.h >>conftest.$ac_ext
30893 cat >>conftest.$ac_ext <<_ACEOF
30894 /* end confdefs.h. */
30895 #include <math.h>
30896 #ifdef HAVE_IEEEFP_H
30897 #include <ieeefp.h>
30898 #endif
30901 main ()
30903 isnan(0);
30905 return 0;
30907 _ACEOF
30908 rm -f conftest.$ac_objext
30909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30910 (eval $ac_compile) 2>conftest.er1
30911 ac_status=$?
30912 grep -v '^ *+' conftest.er1 >conftest.err
30913 rm -f conftest.er1
30914 cat conftest.err >&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } &&
30917 { ac_try='test -z "$ac_cxx_werror_flag"
30918 || test ! -s conftest.err'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; } &&
30924 { ac_try='test -s conftest.$ac_objext'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; }; then
30930 glibcxx_cv_func_isnan_use=yes
30931 else
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30935 glibcxx_cv_func_isnan_use=no
30937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30938 ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
30949 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
30951 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30953 for ac_func in isnan
30955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30956 echo "$as_me:$LINENO: checking for $ac_func" >&5
30957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30958 if eval "test \"\${$as_ac_var+set}\" = set"; then
30959 echo $ECHO_N "(cached) $ECHO_C" >&6
30960 else
30961 if test x$gcc_no_link = xyes; then
30962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30964 { (exit 1); exit 1; }; }
30966 cat >conftest.$ac_ext <<_ACEOF
30967 /* confdefs.h. */
30968 _ACEOF
30969 cat confdefs.h >>conftest.$ac_ext
30970 cat >>conftest.$ac_ext <<_ACEOF
30971 /* end confdefs.h. */
30972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30974 #define $ac_func innocuous_$ac_func
30976 /* System header to define __stub macros and hopefully few prototypes,
30977 which can conflict with char $ac_func (); below.
30978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30979 <limits.h> exists even on freestanding compilers. */
30981 #ifdef __STDC__
30982 # include <limits.h>
30983 #else
30984 # include <assert.h>
30985 #endif
30987 #undef $ac_func
30989 /* Override any gcc2 internal prototype to avoid an error. */
30990 #ifdef __cplusplus
30991 extern "C"
30993 #endif
30994 /* We use char because int might match the return type of a gcc2
30995 builtin and then its argument prototype would still apply. */
30996 char $ac_func ();
30997 /* The GNU C library defines this for functions which it implements
30998 to always fail with ENOSYS. Some functions are actually named
30999 something starting with __ and the normal name is an alias. */
31000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31001 choke me
31002 #else
31003 char (*f) () = $ac_func;
31004 #endif
31005 #ifdef __cplusplus
31007 #endif
31010 main ()
31012 return f != $ac_func;
31014 return 0;
31016 _ACEOF
31017 rm -f conftest.$ac_objext conftest$ac_exeext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31019 (eval $ac_link) 2>conftest.er1
31020 ac_status=$?
31021 grep -v '^ *+' conftest.er1 >conftest.err
31022 rm -f conftest.er1
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try='test -z "$ac_c_werror_flag"
31027 || test ! -s conftest.err'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; } &&
31033 { ac_try='test -s conftest$ac_exeext'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; }; then
31039 eval "$as_ac_var=yes"
31040 else
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31044 eval "$as_ac_var=no"
31046 rm -f conftest.err conftest.$ac_objext \
31047 conftest$ac_exeext conftest.$ac_ext
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051 if test `eval echo '${'$as_ac_var'}'` = yes; then
31052 cat >>confdefs.h <<_ACEOF
31053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 _ACEOF
31057 done
31059 else
31061 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31062 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31063 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31064 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31070 ac_ext=cc
31071 ac_cpp='$CXXCPP $CPPFLAGS'
31072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31076 cat >conftest.$ac_ext <<_ACEOF
31077 /* confdefs.h. */
31078 _ACEOF
31079 cat confdefs.h >>conftest.$ac_ext
31080 cat >>conftest.$ac_ext <<_ACEOF
31081 /* end confdefs.h. */
31082 #include <math.h>
31083 #ifdef HAVE_IEEEFP_H
31084 #include <ieeefp.h>
31085 #endif
31088 main ()
31090 _isnan(0);
31092 return 0;
31094 _ACEOF
31095 rm -f conftest.$ac_objext
31096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31097 (eval $ac_compile) 2>conftest.er1
31098 ac_status=$?
31099 grep -v '^ *+' conftest.er1 >conftest.err
31100 rm -f conftest.er1
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } &&
31104 { ac_try='test -z "$ac_cxx_werror_flag"
31105 || test ! -s conftest.err'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; } &&
31111 { ac_try='test -s conftest.$ac_objext'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 glibcxx_cv_func__isnan_use=yes
31118 else
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.$ac_ext >&5
31122 glibcxx_cv_func__isnan_use=no
31124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31125 ac_ext=c
31126 ac_cpp='$CPP $CPPFLAGS'
31127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31136 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31138 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31140 for ac_func in _isnan
31142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for $ac_func" >&5
31144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_var+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148 if test x$gcc_no_link = xyes; then
31149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31151 { (exit 1); exit 1; }; }
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31161 #define $ac_func innocuous_$ac_func
31163 /* System header to define __stub macros and hopefully few prototypes,
31164 which can conflict with char $ac_func (); below.
31165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31166 <limits.h> exists even on freestanding compilers. */
31168 #ifdef __STDC__
31169 # include <limits.h>
31170 #else
31171 # include <assert.h>
31172 #endif
31174 #undef $ac_func
31176 /* Override any gcc2 internal prototype to avoid an error. */
31177 #ifdef __cplusplus
31178 extern "C"
31180 #endif
31181 /* We use char because int might match the return type of a gcc2
31182 builtin and then its argument prototype would still apply. */
31183 char $ac_func ();
31184 /* The GNU C library defines this for functions which it implements
31185 to always fail with ENOSYS. Some functions are actually named
31186 something starting with __ and the normal name is an alias. */
31187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31188 choke me
31189 #else
31190 char (*f) () = $ac_func;
31191 #endif
31192 #ifdef __cplusplus
31194 #endif
31197 main ()
31199 return f != $ac_func;
31201 return 0;
31203 _ACEOF
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -z "$ac_c_werror_flag"
31214 || test ! -s conftest.err'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try='test -s conftest$ac_exeext'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; }; then
31226 eval "$as_ac_var=yes"
31227 else
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31231 eval "$as_ac_var=no"
31233 rm -f conftest.err conftest.$ac_objext \
31234 conftest$ac_exeext conftest.$ac_ext
31236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31238 if test `eval echo '${'$as_ac_var'}'` = yes; then
31239 cat >>confdefs.h <<_ACEOF
31240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31241 _ACEOF
31244 done
31251 echo "$as_me:$LINENO: checking for finite declaration" >&5
31252 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31253 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31254 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 else
31260 ac_ext=cc
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266 cat >conftest.$ac_ext <<_ACEOF
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272 #include <math.h>
31273 #ifdef HAVE_IEEEFP_H
31274 #include <ieeefp.h>
31275 #endif
31278 main ()
31280 finite(0);
31282 return 0;
31284 _ACEOF
31285 rm -f conftest.$ac_objext
31286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31287 (eval $ac_compile) 2>conftest.er1
31288 ac_status=$?
31289 grep -v '^ *+' conftest.er1 >conftest.err
31290 rm -f conftest.er1
31291 cat conftest.err >&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } &&
31294 { ac_try='test -z "$ac_cxx_werror_flag"
31295 || test ! -s conftest.err'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; } &&
31301 { ac_try='test -s conftest.$ac_objext'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31304 ac_status=$?
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; }; then
31307 glibcxx_cv_func_finite_use=yes
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31312 glibcxx_cv_func_finite_use=no
31314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31326 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31328 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31330 for ac_func in finite
31332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31333 echo "$as_me:$LINENO: checking for $ac_func" >&5
31334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31335 if eval "test \"\${$as_ac_var+set}\" = set"; then
31336 echo $ECHO_N "(cached) $ECHO_C" >&6
31337 else
31338 if test x$gcc_no_link = xyes; then
31339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31341 { (exit 1); exit 1; }; }
31343 cat >conftest.$ac_ext <<_ACEOF
31344 /* confdefs.h. */
31345 _ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31351 #define $ac_func innocuous_$ac_func
31353 /* System header to define __stub macros and hopefully few prototypes,
31354 which can conflict with char $ac_func (); below.
31355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31356 <limits.h> exists even on freestanding compilers. */
31358 #ifdef __STDC__
31359 # include <limits.h>
31360 #else
31361 # include <assert.h>
31362 #endif
31364 #undef $ac_func
31366 /* Override any gcc2 internal prototype to avoid an error. */
31367 #ifdef __cplusplus
31368 extern "C"
31370 #endif
31371 /* We use char because int might match the return type of a gcc2
31372 builtin and then its argument prototype would still apply. */
31373 char $ac_func ();
31374 /* The GNU C library defines this for functions which it implements
31375 to always fail with ENOSYS. Some functions are actually named
31376 something starting with __ and the normal name is an alias. */
31377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31378 choke me
31379 #else
31380 char (*f) () = $ac_func;
31381 #endif
31382 #ifdef __cplusplus
31384 #endif
31387 main ()
31389 return f != $ac_func;
31391 return 0;
31393 _ACEOF
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 (eval $ac_link) 2>conftest.er1
31397 ac_status=$?
31398 grep -v '^ *+' conftest.er1 >conftest.err
31399 rm -f conftest.er1
31400 cat conftest.err >&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); } &&
31403 { ac_try='test -z "$ac_c_werror_flag"
31404 || test ! -s conftest.err'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 eval "$as_ac_var=yes"
31417 else
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31421 eval "$as_ac_var=no"
31423 rm -f conftest.err conftest.$ac_objext \
31424 conftest$ac_exeext conftest.$ac_ext
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31431 _ACEOF
31434 done
31436 else
31438 echo "$as_me:$LINENO: checking for _finite declaration" >&5
31439 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
31440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31441 if test "${glibcxx_cv_func__finite_use+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31447 ac_ext=cc
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h. */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #include <math.h>
31460 #ifdef HAVE_IEEEFP_H
31461 #include <ieeefp.h>
31462 #endif
31465 main ()
31467 _finite(0);
31469 return 0;
31471 _ACEOF
31472 rm -f conftest.$ac_objext
31473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31474 (eval $ac_compile) 2>conftest.er1
31475 ac_status=$?
31476 grep -v '^ *+' conftest.er1 >conftest.err
31477 rm -f conftest.er1
31478 cat conftest.err >&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); } &&
31481 { ac_try='test -z "$ac_cxx_werror_flag"
31482 || test ! -s conftest.err'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; } &&
31488 { ac_try='test -s conftest.$ac_objext'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; }; then
31494 glibcxx_cv_func__finite_use=yes
31495 else
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31499 glibcxx_cv_func__finite_use=no
31501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
31513 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
31515 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31517 for ac_func in _finite
31519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31520 echo "$as_me:$LINENO: checking for $ac_func" >&5
31521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31522 if eval "test \"\${$as_ac_var+set}\" = set"; then
31523 echo $ECHO_N "(cached) $ECHO_C" >&6
31524 else
31525 if test x$gcc_no_link = xyes; then
31526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31528 { (exit 1); exit 1; }; }
31530 cat >conftest.$ac_ext <<_ACEOF
31531 /* confdefs.h. */
31532 _ACEOF
31533 cat confdefs.h >>conftest.$ac_ext
31534 cat >>conftest.$ac_ext <<_ACEOF
31535 /* end confdefs.h. */
31536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31538 #define $ac_func innocuous_$ac_func
31540 /* System header to define __stub macros and hopefully few prototypes,
31541 which can conflict with char $ac_func (); below.
31542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31543 <limits.h> exists even on freestanding compilers. */
31545 #ifdef __STDC__
31546 # include <limits.h>
31547 #else
31548 # include <assert.h>
31549 #endif
31551 #undef $ac_func
31553 /* Override any gcc2 internal prototype to avoid an error. */
31554 #ifdef __cplusplus
31555 extern "C"
31557 #endif
31558 /* We use char because int might match the return type of a gcc2
31559 builtin and then its argument prototype would still apply. */
31560 char $ac_func ();
31561 /* The GNU C library defines this for functions which it implements
31562 to always fail with ENOSYS. Some functions are actually named
31563 something starting with __ and the normal name is an alias. */
31564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31565 choke me
31566 #else
31567 char (*f) () = $ac_func;
31568 #endif
31569 #ifdef __cplusplus
31571 #endif
31574 main ()
31576 return f != $ac_func;
31578 return 0;
31580 _ACEOF
31581 rm -f conftest.$ac_objext conftest$ac_exeext
31582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31583 (eval $ac_link) 2>conftest.er1
31584 ac_status=$?
31585 grep -v '^ *+' conftest.er1 >conftest.err
31586 rm -f conftest.er1
31587 cat conftest.err >&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } &&
31590 { ac_try='test -z "$ac_c_werror_flag"
31591 || test ! -s conftest.err'
31592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31593 (eval $ac_try) 2>&5
31594 ac_status=$?
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); }; } &&
31597 { ac_try='test -s conftest$ac_exeext'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; }; then
31603 eval "$as_ac_var=yes"
31604 else
31605 echo "$as_me: failed program was:" >&5
31606 sed 's/^/| /' conftest.$ac_ext >&5
31608 eval "$as_ac_var=no"
31610 rm -f conftest.err conftest.$ac_objext \
31611 conftest$ac_exeext conftest.$ac_ext
31613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31615 if test `eval echo '${'$as_ac_var'}'` = yes; then
31616 cat >>confdefs.h <<_ACEOF
31617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31618 _ACEOF
31621 done
31628 echo "$as_me:$LINENO: checking for copysign declaration" >&5
31629 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
31630 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
31631 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
31632 echo $ECHO_N "(cached) $ECHO_C" >&6
31633 else
31637 ac_ext=cc
31638 ac_cpp='$CXXCPP $CPPFLAGS'
31639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31643 cat >conftest.$ac_ext <<_ACEOF
31644 /* confdefs.h. */
31645 _ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649 #include <math.h>
31651 main ()
31653 copysign(0, 0);
31655 return 0;
31657 _ACEOF
31658 rm -f conftest.$ac_objext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31660 (eval $ac_compile) 2>conftest.er1
31661 ac_status=$?
31662 grep -v '^ *+' conftest.er1 >conftest.err
31663 rm -f conftest.er1
31664 cat conftest.err >&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } &&
31667 { ac_try='test -z "$ac_cxx_werror_flag"
31668 || test ! -s conftest.err'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; } &&
31674 { ac_try='test -s conftest.$ac_objext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680 glibcxx_cv_func_copysign_use=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31685 glibcxx_cv_func_copysign_use=no
31687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31688 ac_ext=c
31689 ac_cpp='$CPP $CPPFLAGS'
31690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
31699 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
31701 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
31703 for ac_func in copysign
31705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31706 echo "$as_me:$LINENO: checking for $ac_func" >&5
31707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31708 if eval "test \"\${$as_ac_var+set}\" = set"; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31711 if test x$gcc_no_link = xyes; then
31712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31714 { (exit 1); exit 1; }; }
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31724 #define $ac_func innocuous_$ac_func
31726 /* System header to define __stub macros and hopefully few prototypes,
31727 which can conflict with char $ac_func (); below.
31728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31729 <limits.h> exists even on freestanding compilers. */
31731 #ifdef __STDC__
31732 # include <limits.h>
31733 #else
31734 # include <assert.h>
31735 #endif
31737 #undef $ac_func
31739 /* Override any gcc2 internal prototype to avoid an error. */
31740 #ifdef __cplusplus
31741 extern "C"
31743 #endif
31744 /* We use char because int might match the return type of a gcc2
31745 builtin and then its argument prototype would still apply. */
31746 char $ac_func ();
31747 /* The GNU C library defines this for functions which it implements
31748 to always fail with ENOSYS. Some functions are actually named
31749 something starting with __ and the normal name is an alias. */
31750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31751 choke me
31752 #else
31753 char (*f) () = $ac_func;
31754 #endif
31755 #ifdef __cplusplus
31757 #endif
31760 main ()
31762 return f != $ac_func;
31764 return 0;
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try='test -z "$ac_c_werror_flag"
31777 || test ! -s conftest.err'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; } &&
31783 { ac_try='test -s conftest$ac_exeext'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31786 ac_status=$?
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; }; then
31789 eval "$as_ac_var=yes"
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31794 eval "$as_ac_var=no"
31796 rm -f conftest.err conftest.$ac_objext \
31797 conftest$ac_exeext conftest.$ac_ext
31799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31801 if test `eval echo '${'$as_ac_var'}'` = yes; then
31802 cat >>confdefs.h <<_ACEOF
31803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31804 _ACEOF
31807 done
31809 else
31811 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
31812 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
31813 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
31814 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 else
31820 ac_ext=cc
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 #include <math.h>
31834 main ()
31836 _copysign(0, 0);
31838 return 0;
31840 _ACEOF
31841 rm -f conftest.$ac_objext
31842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31843 (eval $ac_compile) 2>conftest.er1
31844 ac_status=$?
31845 grep -v '^ *+' conftest.er1 >conftest.err
31846 rm -f conftest.er1
31847 cat conftest.err >&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); } &&
31850 { ac_try='test -z "$ac_cxx_werror_flag"
31851 || test ! -s conftest.err'
31852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853 (eval $ac_try) 2>&5
31854 ac_status=$?
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); }; } &&
31857 { ac_try='test -s conftest.$ac_objext'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31860 ac_status=$?
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; }; then
31863 glibcxx_cv_func__copysign_use=yes
31864 else
31865 echo "$as_me: failed program was:" >&5
31866 sed 's/^/| /' conftest.$ac_ext >&5
31868 glibcxx_cv_func__copysign_use=no
31870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31871 ac_ext=c
31872 ac_cpp='$CPP $CPPFLAGS'
31873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
31882 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
31884 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
31886 for ac_func in _copysign
31888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31889 echo "$as_me:$LINENO: checking for $ac_func" >&5
31890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31891 if eval "test \"\${$as_ac_var+set}\" = set"; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894 if test x$gcc_no_link = xyes; then
31895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31897 { (exit 1); exit 1; }; }
31899 cat >conftest.$ac_ext <<_ACEOF
31900 /* confdefs.h. */
31901 _ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31907 #define $ac_func innocuous_$ac_func
31909 /* System header to define __stub macros and hopefully few prototypes,
31910 which can conflict with char $ac_func (); below.
31911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31912 <limits.h> exists even on freestanding compilers. */
31914 #ifdef __STDC__
31915 # include <limits.h>
31916 #else
31917 # include <assert.h>
31918 #endif
31920 #undef $ac_func
31922 /* Override any gcc2 internal prototype to avoid an error. */
31923 #ifdef __cplusplus
31924 extern "C"
31926 #endif
31927 /* We use char because int might match the return type of a gcc2
31928 builtin and then its argument prototype would still apply. */
31929 char $ac_func ();
31930 /* The GNU C library defines this for functions which it implements
31931 to always fail with ENOSYS. Some functions are actually named
31932 something starting with __ and the normal name is an alias. */
31933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31934 choke me
31935 #else
31936 char (*f) () = $ac_func;
31937 #endif
31938 #ifdef __cplusplus
31940 #endif
31943 main ()
31945 return f != $ac_func;
31947 return 0;
31949 _ACEOF
31950 rm -f conftest.$ac_objext conftest$ac_exeext
31951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31952 (eval $ac_link) 2>conftest.er1
31953 ac_status=$?
31954 grep -v '^ *+' conftest.er1 >conftest.err
31955 rm -f conftest.er1
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } &&
31959 { ac_try='test -z "$ac_c_werror_flag"
31960 || test ! -s conftest.err'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31963 ac_status=$?
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; } &&
31966 { ac_try='test -s conftest$ac_exeext'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; }; then
31972 eval "$as_ac_var=yes"
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31977 eval "$as_ac_var=no"
31979 rm -f conftest.err conftest.$ac_objext \
31980 conftest$ac_exeext conftest.$ac_ext
31982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31984 if test `eval echo '${'$as_ac_var'}'` = yes; then
31985 cat >>confdefs.h <<_ACEOF
31986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31987 _ACEOF
31990 done
31997 echo "$as_me:$LINENO: checking for sincos declaration" >&5
31998 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
31999 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32000 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32001 echo $ECHO_N "(cached) $ECHO_C" >&6
32002 else
32006 ac_ext=cc
32007 ac_cpp='$CXXCPP $CPPFLAGS'
32008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018 #include <math.h>
32020 main ()
32022 sincos(0, 0, 0);
32024 return 0;
32026 _ACEOF
32027 rm -f conftest.$ac_objext
32028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32029 (eval $ac_compile) 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } &&
32036 { ac_try='test -z "$ac_cxx_werror_flag"
32037 || test ! -s conftest.err'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32040 ac_status=$?
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; } &&
32043 { ac_try='test -s conftest.$ac_objext'
32044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045 (eval $ac_try) 2>&5
32046 ac_status=$?
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); }; }; then
32049 glibcxx_cv_func_sincos_use=yes
32050 else
32051 echo "$as_me: failed program was:" >&5
32052 sed 's/^/| /' conftest.$ac_ext >&5
32054 glibcxx_cv_func_sincos_use=no
32056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32068 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32070 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32072 for ac_func in sincos
32074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32075 echo "$as_me:$LINENO: checking for $ac_func" >&5
32076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32077 if eval "test \"\${$as_ac_var+set}\" = set"; then
32078 echo $ECHO_N "(cached) $ECHO_C" >&6
32079 else
32080 if test x$gcc_no_link = xyes; then
32081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32083 { (exit 1); exit 1; }; }
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32093 #define $ac_func innocuous_$ac_func
32095 /* System header to define __stub macros and hopefully few prototypes,
32096 which can conflict with char $ac_func (); below.
32097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32098 <limits.h> exists even on freestanding compilers. */
32100 #ifdef __STDC__
32101 # include <limits.h>
32102 #else
32103 # include <assert.h>
32104 #endif
32106 #undef $ac_func
32108 /* Override any gcc2 internal prototype to avoid an error. */
32109 #ifdef __cplusplus
32110 extern "C"
32112 #endif
32113 /* We use char because int might match the return type of a gcc2
32114 builtin and then its argument prototype would still apply. */
32115 char $ac_func ();
32116 /* The GNU C library defines this for functions which it implements
32117 to always fail with ENOSYS. Some functions are actually named
32118 something starting with __ and the normal name is an alias. */
32119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32120 choke me
32121 #else
32122 char (*f) () = $ac_func;
32123 #endif
32124 #ifdef __cplusplus
32126 #endif
32129 main ()
32131 return f != $ac_func;
32133 return 0;
32135 _ACEOF
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32138 (eval $ac_link) 2>conftest.er1
32139 ac_status=$?
32140 grep -v '^ *+' conftest.er1 >conftest.err
32141 rm -f conftest.er1
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } &&
32145 { ac_try='test -z "$ac_c_werror_flag"
32146 || test ! -s conftest.err'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32149 ac_status=$?
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; } &&
32152 { ac_try='test -s conftest$ac_exeext'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32155 ac_status=$?
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; }; then
32158 eval "$as_ac_var=yes"
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32163 eval "$as_ac_var=no"
32165 rm -f conftest.err conftest.$ac_objext \
32166 conftest$ac_exeext conftest.$ac_ext
32168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32170 if test `eval echo '${'$as_ac_var'}'` = yes; then
32171 cat >>confdefs.h <<_ACEOF
32172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32173 _ACEOF
32176 done
32178 else
32180 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32181 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32182 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32183 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32185 else
32189 ac_ext=cc
32190 ac_cpp='$CXXCPP $CPPFLAGS'
32191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32195 cat >conftest.$ac_ext <<_ACEOF
32196 /* confdefs.h. */
32197 _ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32201 #include <math.h>
32203 main ()
32205 _sincos(0, 0, 0);
32207 return 0;
32209 _ACEOF
32210 rm -f conftest.$ac_objext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32212 (eval $ac_compile) 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -z "$ac_cxx_werror_flag"
32220 || test ! -s conftest.err'
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); }; } &&
32226 { ac_try='test -s conftest.$ac_objext'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32229 ac_status=$?
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; }; then
32232 glibcxx_cv_func__sincos_use=yes
32233 else
32234 echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.$ac_ext >&5
32237 glibcxx_cv_func__sincos_use=no
32239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32251 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32253 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32255 for ac_func in _sincos
32257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32258 echo "$as_me:$LINENO: checking for $ac_func" >&5
32259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32260 if eval "test \"\${$as_ac_var+set}\" = set"; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 else
32263 if test x$gcc_no_link = xyes; then
32264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32266 { (exit 1); exit 1; }; }
32268 cat >conftest.$ac_ext <<_ACEOF
32269 /* confdefs.h. */
32270 _ACEOF
32271 cat confdefs.h >>conftest.$ac_ext
32272 cat >>conftest.$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32276 #define $ac_func innocuous_$ac_func
32278 /* System header to define __stub macros and hopefully few prototypes,
32279 which can conflict with char $ac_func (); below.
32280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32281 <limits.h> exists even on freestanding compilers. */
32283 #ifdef __STDC__
32284 # include <limits.h>
32285 #else
32286 # include <assert.h>
32287 #endif
32289 #undef $ac_func
32291 /* Override any gcc2 internal prototype to avoid an error. */
32292 #ifdef __cplusplus
32293 extern "C"
32295 #endif
32296 /* We use char because int might match the return type of a gcc2
32297 builtin and then its argument prototype would still apply. */
32298 char $ac_func ();
32299 /* The GNU C library defines this for functions which it implements
32300 to always fail with ENOSYS. Some functions are actually named
32301 something starting with __ and the normal name is an alias. */
32302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32303 choke me
32304 #else
32305 char (*f) () = $ac_func;
32306 #endif
32307 #ifdef __cplusplus
32309 #endif
32312 main ()
32314 return f != $ac_func;
32316 return 0;
32318 _ACEOF
32319 rm -f conftest.$ac_objext conftest$ac_exeext
32320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32321 (eval $ac_link) 2>conftest.er1
32322 ac_status=$?
32323 grep -v '^ *+' conftest.er1 >conftest.err
32324 rm -f conftest.er1
32325 cat conftest.err >&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); } &&
32328 { ac_try='test -z "$ac_c_werror_flag"
32329 || test ! -s conftest.err'
32330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32331 (eval $ac_try) 2>&5
32332 ac_status=$?
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; } &&
32335 { ac_try='test -s conftest$ac_exeext'
32336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32337 (eval $ac_try) 2>&5
32338 ac_status=$?
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); }; }; then
32341 eval "$as_ac_var=yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32346 eval "$as_ac_var=no"
32348 rm -f conftest.err conftest.$ac_objext \
32349 conftest$ac_exeext conftest.$ac_ext
32351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32353 if test `eval echo '${'$as_ac_var'}'` = yes; then
32354 cat >>confdefs.h <<_ACEOF
32355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32356 _ACEOF
32359 done
32366 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32367 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32368 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32369 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 else
32375 ac_ext=cc
32376 ac_cpp='$CXXCPP $CPPFLAGS'
32377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32381 cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h. */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32387 #include <math.h>
32388 #ifdef HAVE_IEEEFP_H
32389 #include <ieeefp.h>
32390 #endif
32393 main ()
32395 fpclass(0);
32397 return 0;
32399 _ACEOF
32400 rm -f conftest.$ac_objext
32401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32402 (eval $ac_compile) 2>conftest.er1
32403 ac_status=$?
32404 grep -v '^ *+' conftest.er1 >conftest.err
32405 rm -f conftest.er1
32406 cat conftest.err >&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); } &&
32409 { ac_try='test -z "$ac_cxx_werror_flag"
32410 || test ! -s conftest.err'
32411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32412 (eval $ac_try) 2>&5
32413 ac_status=$?
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); }; } &&
32416 { ac_try='test -s conftest.$ac_objext'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; }; then
32422 glibcxx_cv_func_fpclass_use=yes
32423 else
32424 echo "$as_me: failed program was:" >&5
32425 sed 's/^/| /' conftest.$ac_ext >&5
32427 glibcxx_cv_func_fpclass_use=no
32429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32430 ac_ext=c
32431 ac_cpp='$CPP $CPPFLAGS'
32432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
32441 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
32443 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32445 for ac_func in fpclass
32447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32448 echo "$as_me:$LINENO: checking for $ac_func" >&5
32449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32450 if eval "test \"\${$as_ac_var+set}\" = set"; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 else
32453 if test x$gcc_no_link = xyes; then
32454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32456 { (exit 1); exit 1; }; }
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h. */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32466 #define $ac_func innocuous_$ac_func
32468 /* System header to define __stub macros and hopefully few prototypes,
32469 which can conflict with char $ac_func (); below.
32470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32471 <limits.h> exists even on freestanding compilers. */
32473 #ifdef __STDC__
32474 # include <limits.h>
32475 #else
32476 # include <assert.h>
32477 #endif
32479 #undef $ac_func
32481 /* Override any gcc2 internal prototype to avoid an error. */
32482 #ifdef __cplusplus
32483 extern "C"
32485 #endif
32486 /* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32488 char $ac_func ();
32489 /* The GNU C library defines this for functions which it implements
32490 to always fail with ENOSYS. Some functions are actually named
32491 something starting with __ and the normal name is an alias. */
32492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32493 choke me
32494 #else
32495 char (*f) () = $ac_func;
32496 #endif
32497 #ifdef __cplusplus
32499 #endif
32502 main ()
32504 return f != $ac_func;
32506 return 0;
32508 _ACEOF
32509 rm -f conftest.$ac_objext conftest$ac_exeext
32510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32511 (eval $ac_link) 2>conftest.er1
32512 ac_status=$?
32513 grep -v '^ *+' conftest.er1 >conftest.err
32514 rm -f conftest.er1
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } &&
32518 { ac_try='test -z "$ac_c_werror_flag"
32519 || test ! -s conftest.err'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32522 ac_status=$?
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; } &&
32525 { ac_try='test -s conftest$ac_exeext'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; }; then
32531 eval "$as_ac_var=yes"
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32536 eval "$as_ac_var=no"
32538 rm -f conftest.err conftest.$ac_objext \
32539 conftest$ac_exeext conftest.$ac_ext
32541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32543 if test `eval echo '${'$as_ac_var'}'` = yes; then
32544 cat >>confdefs.h <<_ACEOF
32545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32546 _ACEOF
32549 done
32551 else
32553 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
32554 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
32555 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32556 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
32557 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 else
32562 ac_ext=cc
32563 ac_cpp='$CXXCPP $CPPFLAGS'
32564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32568 cat >conftest.$ac_ext <<_ACEOF
32569 /* confdefs.h. */
32570 _ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32574 #include <math.h>
32575 #ifdef HAVE_IEEEFP_H
32576 #include <ieeefp.h>
32577 #endif
32580 main ()
32582 _fpclass(0);
32584 return 0;
32586 _ACEOF
32587 rm -f conftest.$ac_objext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32589 (eval $ac_compile) 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } &&
32596 { ac_try='test -z "$ac_cxx_werror_flag"
32597 || test ! -s conftest.err'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32600 ac_status=$?
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; } &&
32603 { ac_try='test -s conftest.$ac_objext'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32606 ac_status=$?
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; }; then
32609 glibcxx_cv_func__fpclass_use=yes
32610 else
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32614 glibcxx_cv_func__fpclass_use=no
32616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
32628 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
32630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32632 for ac_func in _fpclass
32634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32635 echo "$as_me:$LINENO: checking for $ac_func" >&5
32636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32637 if eval "test \"\${$as_ac_var+set}\" = set"; then
32638 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 else
32640 if test x$gcc_no_link = xyes; then
32641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32643 { (exit 1); exit 1; }; }
32645 cat >conftest.$ac_ext <<_ACEOF
32646 /* confdefs.h. */
32647 _ACEOF
32648 cat confdefs.h >>conftest.$ac_ext
32649 cat >>conftest.$ac_ext <<_ACEOF
32650 /* end confdefs.h. */
32651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32653 #define $ac_func innocuous_$ac_func
32655 /* System header to define __stub macros and hopefully few prototypes,
32656 which can conflict with char $ac_func (); below.
32657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32658 <limits.h> exists even on freestanding compilers. */
32660 #ifdef __STDC__
32661 # include <limits.h>
32662 #else
32663 # include <assert.h>
32664 #endif
32666 #undef $ac_func
32668 /* Override any gcc2 internal prototype to avoid an error. */
32669 #ifdef __cplusplus
32670 extern "C"
32672 #endif
32673 /* We use char because int might match the return type of a gcc2
32674 builtin and then its argument prototype would still apply. */
32675 char $ac_func ();
32676 /* The GNU C library defines this for functions which it implements
32677 to always fail with ENOSYS. Some functions are actually named
32678 something starting with __ and the normal name is an alias. */
32679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32680 choke me
32681 #else
32682 char (*f) () = $ac_func;
32683 #endif
32684 #ifdef __cplusplus
32686 #endif
32689 main ()
32691 return f != $ac_func;
32693 return 0;
32695 _ACEOF
32696 rm -f conftest.$ac_objext conftest$ac_exeext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32698 (eval $ac_link) 2>conftest.er1
32699 ac_status=$?
32700 grep -v '^ *+' conftest.er1 >conftest.err
32701 rm -f conftest.er1
32702 cat conftest.err >&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } &&
32705 { ac_try='test -z "$ac_c_werror_flag"
32706 || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try='test -s conftest$ac_exeext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 eval "$as_ac_var=yes"
32719 else
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32723 eval "$as_ac_var=no"
32725 rm -f conftest.err conftest.$ac_objext \
32726 conftest$ac_exeext conftest.$ac_ext
32728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32730 if test `eval echo '${'$as_ac_var'}'` = yes; then
32731 cat >>confdefs.h <<_ACEOF
32732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32733 _ACEOF
32736 done
32743 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
32744 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
32745 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32746 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
32747 echo $ECHO_N "(cached) $ECHO_C" >&6
32748 else
32752 ac_ext=cc
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758 cat >conftest.$ac_ext <<_ACEOF
32759 /* confdefs.h. */
32760 _ACEOF
32761 cat confdefs.h >>conftest.$ac_ext
32762 cat >>conftest.$ac_ext <<_ACEOF
32763 /* end confdefs.h. */
32764 #include <math.h>
32765 #ifdef HAVE_IEEEFP_H
32766 #include <ieeefp.h>
32767 #endif
32770 main ()
32772 qfpclass(0);
32774 return 0;
32776 _ACEOF
32777 rm -f conftest.$ac_objext
32778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32779 (eval $ac_compile) 2>conftest.er1
32780 ac_status=$?
32781 grep -v '^ *+' conftest.er1 >conftest.err
32782 rm -f conftest.er1
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try='test -z "$ac_cxx_werror_flag"
32787 || test ! -s conftest.err'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; } &&
32793 { ac_try='test -s conftest.$ac_objext'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; }; then
32799 glibcxx_cv_func_qfpclass_use=yes
32800 else
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32804 glibcxx_cv_func_qfpclass_use=no
32806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
32818 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
32820 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32822 for ac_func in qfpclass
32824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32825 echo "$as_me:$LINENO: checking for $ac_func" >&5
32826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32827 if eval "test \"\${$as_ac_var+set}\" = set"; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 else
32830 if test x$gcc_no_link = xyes; then
32831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32833 { (exit 1); exit 1; }; }
32835 cat >conftest.$ac_ext <<_ACEOF
32836 /* confdefs.h. */
32837 _ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32843 #define $ac_func innocuous_$ac_func
32845 /* System header to define __stub macros and hopefully few prototypes,
32846 which can conflict with char $ac_func (); below.
32847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32848 <limits.h> exists even on freestanding compilers. */
32850 #ifdef __STDC__
32851 # include <limits.h>
32852 #else
32853 # include <assert.h>
32854 #endif
32856 #undef $ac_func
32858 /* Override any gcc2 internal prototype to avoid an error. */
32859 #ifdef __cplusplus
32860 extern "C"
32862 #endif
32863 /* We use char because int might match the return type of a gcc2
32864 builtin and then its argument prototype would still apply. */
32865 char $ac_func ();
32866 /* The GNU C library defines this for functions which it implements
32867 to always fail with ENOSYS. Some functions are actually named
32868 something starting with __ and the normal name is an alias. */
32869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32870 choke me
32871 #else
32872 char (*f) () = $ac_func;
32873 #endif
32874 #ifdef __cplusplus
32876 #endif
32879 main ()
32881 return f != $ac_func;
32883 return 0;
32885 _ACEOF
32886 rm -f conftest.$ac_objext conftest$ac_exeext
32887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32888 (eval $ac_link) 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } &&
32895 { ac_try='test -z "$ac_c_werror_flag"
32896 || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try='test -s conftest$ac_exeext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32908 eval "$as_ac_var=yes"
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32913 eval "$as_ac_var=no"
32915 rm -f conftest.err conftest.$ac_objext \
32916 conftest$ac_exeext conftest.$ac_ext
32918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32920 if test `eval echo '${'$as_ac_var'}'` = yes; then
32921 cat >>confdefs.h <<_ACEOF
32922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32923 _ACEOF
32926 done
32928 else
32930 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
32931 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
32932 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32933 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
32934 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 else
32939 ac_ext=cc
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945 cat >conftest.$ac_ext <<_ACEOF
32946 /* confdefs.h. */
32947 _ACEOF
32948 cat confdefs.h >>conftest.$ac_ext
32949 cat >>conftest.$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951 #include <math.h>
32952 #ifdef HAVE_IEEEFP_H
32953 #include <ieeefp.h>
32954 #endif
32957 main ()
32959 _qfpclass(0);
32961 return 0;
32963 _ACEOF
32964 rm -f conftest.$ac_objext
32965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32966 (eval $ac_compile) 2>conftest.er1
32967 ac_status=$?
32968 grep -v '^ *+' conftest.er1 >conftest.err
32969 rm -f conftest.er1
32970 cat conftest.err >&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } &&
32973 { ac_try='test -z "$ac_cxx_werror_flag"
32974 || test ! -s conftest.err'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try='test -s conftest.$ac_objext'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32983 ac_status=$?
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; }; then
32986 glibcxx_cv_func__qfpclass_use=yes
32987 else
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32991 glibcxx_cv_func__qfpclass_use=no
32993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33005 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33007 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33009 for ac_func in _qfpclass
33011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33012 echo "$as_me:$LINENO: checking for $ac_func" >&5
33013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33014 if eval "test \"\${$as_ac_var+set}\" = set"; then
33015 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 else
33017 if test x$gcc_no_link = xyes; then
33018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33020 { (exit 1); exit 1; }; }
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33030 #define $ac_func innocuous_$ac_func
33032 /* System header to define __stub macros and hopefully few prototypes,
33033 which can conflict with char $ac_func (); below.
33034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33035 <limits.h> exists even on freestanding compilers. */
33037 #ifdef __STDC__
33038 # include <limits.h>
33039 #else
33040 # include <assert.h>
33041 #endif
33043 #undef $ac_func
33045 /* Override any gcc2 internal prototype to avoid an error. */
33046 #ifdef __cplusplus
33047 extern "C"
33049 #endif
33050 /* We use char because int might match the return type of a gcc2
33051 builtin and then its argument prototype would still apply. */
33052 char $ac_func ();
33053 /* The GNU C library defines this for functions which it implements
33054 to always fail with ENOSYS. Some functions are actually named
33055 something starting with __ and the normal name is an alias. */
33056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33057 choke me
33058 #else
33059 char (*f) () = $ac_func;
33060 #endif
33061 #ifdef __cplusplus
33063 #endif
33066 main ()
33068 return f != $ac_func;
33070 return 0;
33072 _ACEOF
33073 rm -f conftest.$ac_objext conftest$ac_exeext
33074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33075 (eval $ac_link) 2>conftest.er1
33076 ac_status=$?
33077 grep -v '^ *+' conftest.er1 >conftest.err
33078 rm -f conftest.er1
33079 cat conftest.err >&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); } &&
33082 { ac_try='test -z "$ac_c_werror_flag"
33083 || test ! -s conftest.err'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; } &&
33089 { ac_try='test -s conftest$ac_exeext'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; }; then
33095 eval "$as_ac_var=yes"
33096 else
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 eval "$as_ac_var=no"
33102 rm -f conftest.err conftest.$ac_objext \
33103 conftest$ac_exeext conftest.$ac_ext
33105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33107 if test `eval echo '${'$as_ac_var'}'` = yes; then
33108 cat >>confdefs.h <<_ACEOF
33109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33110 _ACEOF
33113 done
33120 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33121 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33122 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33123 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 else
33129 ac_ext=cc
33130 ac_cpp='$CXXCPP $CPPFLAGS'
33131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33135 cat >conftest.$ac_ext <<_ACEOF
33136 /* confdefs.h. */
33137 _ACEOF
33138 cat confdefs.h >>conftest.$ac_ext
33139 cat >>conftest.$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33141 #include <math.h>
33143 main ()
33145 hypot(0, 0);
33147 return 0;
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func_hypot_use=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33177 glibcxx_cv_func_hypot_use=no
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180 ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33193 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33195 for ac_func in hypot
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 if test x$gcc_no_link = xyes; then
33204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206 { (exit 1); exit 1; }; }
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33229 #undef $ac_func
33231 /* Override any gcc2 internal prototype to avoid an error. */
33232 #ifdef __cplusplus
33233 extern "C"
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33249 #endif
33252 main ()
33254 return f != $ac_func;
33256 return 0;
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33286 eval "$as_ac_var=no"
33288 rm -f conftest.err conftest.$ac_objext \
33289 conftest$ac_exeext conftest.$ac_ext
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294 cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33299 done
33301 else
33303 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33304 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33306 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33326 main ()
33328 _hypot(0, 0);
33330 return 0;
33332 _ACEOF
33333 rm -f conftest.$ac_objext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33335 (eval $ac_compile) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_cxx_werror_flag"
33343 || test ! -s conftest.err'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33346 ac_status=$?
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; } &&
33349 { ac_try='test -s conftest.$ac_objext'
33350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351 (eval $ac_try) 2>&5
33352 ac_status=$?
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); }; }; then
33355 glibcxx_cv_func__hypot_use=yes
33356 else
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33360 glibcxx_cv_func__hypot_use=no
33362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33363 ac_ext=c
33364 ac_cpp='$CPP $CPPFLAGS'
33365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
33374 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
33376 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33378 for ac_func in _hypot
33380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33381 echo "$as_me:$LINENO: checking for $ac_func" >&5
33382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33383 if eval "test \"\${$as_ac_var+set}\" = set"; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 else
33386 if test x$gcc_no_link = xyes; then
33387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33389 { (exit 1); exit 1; }; }
33391 cat >conftest.$ac_ext <<_ACEOF
33392 /* confdefs.h. */
33393 _ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
33396 /* end confdefs.h. */
33397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33399 #define $ac_func innocuous_$ac_func
33401 /* System header to define __stub macros and hopefully few prototypes,
33402 which can conflict with char $ac_func (); below.
33403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33404 <limits.h> exists even on freestanding compilers. */
33406 #ifdef __STDC__
33407 # include <limits.h>
33408 #else
33409 # include <assert.h>
33410 #endif
33412 #undef $ac_func
33414 /* Override any gcc2 internal prototype to avoid an error. */
33415 #ifdef __cplusplus
33416 extern "C"
33418 #endif
33419 /* We use char because int might match the return type of a gcc2
33420 builtin and then its argument prototype would still apply. */
33421 char $ac_func ();
33422 /* The GNU C library defines this for functions which it implements
33423 to always fail with ENOSYS. Some functions are actually named
33424 something starting with __ and the normal name is an alias. */
33425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33426 choke me
33427 #else
33428 char (*f) () = $ac_func;
33429 #endif
33430 #ifdef __cplusplus
33432 #endif
33435 main ()
33437 return f != $ac_func;
33439 return 0;
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33444 (eval $ac_link) 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } &&
33451 { ac_try='test -z "$ac_c_werror_flag"
33452 || test ! -s conftest.err'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33455 ac_status=$?
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; } &&
33458 { ac_try='test -s conftest$ac_exeext'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }; then
33464 eval "$as_ac_var=yes"
33465 else
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33469 eval "$as_ac_var=no"
33471 rm -f conftest.err conftest.$ac_objext \
33472 conftest$ac_exeext conftest.$ac_ext
33474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33476 if test `eval echo '${'$as_ac_var'}'` = yes; then
33477 cat >>confdefs.h <<_ACEOF
33478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33479 _ACEOF
33482 done
33489 echo "$as_me:$LINENO: checking for float trig functions" >&5
33490 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
33491 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33497 ac_ext=cc
33498 ac_cpp='$CXXCPP $CPPFLAGS'
33499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33503 cat >conftest.$ac_ext <<_ACEOF
33504 /* confdefs.h. */
33505 _ACEOF
33506 cat confdefs.h >>conftest.$ac_ext
33507 cat >>conftest.$ac_ext <<_ACEOF
33508 /* end confdefs.h. */
33509 #include <math.h>
33511 main ()
33513 `for x in acosf asinf atanf \
33514 cosf sinf tanf \
33515 coshf sinhf tanhf; do echo "$x (0);"; done`
33517 return 0;
33519 _ACEOF
33520 rm -f conftest.$ac_objext
33521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33522 (eval $ac_compile) 2>conftest.er1
33523 ac_status=$?
33524 grep -v '^ *+' conftest.er1 >conftest.err
33525 rm -f conftest.er1
33526 cat conftest.err >&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } &&
33529 { ac_try='test -z "$ac_cxx_werror_flag"
33530 || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try='test -s conftest.$ac_objext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33539 ac_status=$?
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 glibcxx_cv_func_float_trig_use=yes
33543 else
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33547 glibcxx_cv_func_float_trig_use=no
33549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33550 ac_ext=c
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
33559 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
33560 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33570 for ac_func in acosf asinf atanf \
33571 cosf sinf tanf \
33572 coshf sinhf tanhf
33574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33575 echo "$as_me:$LINENO: checking for $ac_func" >&5
33576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33577 if eval "test \"\${$as_ac_var+set}\" = set"; then
33578 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 else
33580 if test x$gcc_no_link = xyes; then
33581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33583 { (exit 1); exit 1; }; }
33585 cat >conftest.$ac_ext <<_ACEOF
33586 /* confdefs.h. */
33587 _ACEOF
33588 cat confdefs.h >>conftest.$ac_ext
33589 cat >>conftest.$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33593 #define $ac_func innocuous_$ac_func
33595 /* System header to define __stub macros and hopefully few prototypes,
33596 which can conflict with char $ac_func (); below.
33597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33598 <limits.h> exists even on freestanding compilers. */
33600 #ifdef __STDC__
33601 # include <limits.h>
33602 #else
33603 # include <assert.h>
33604 #endif
33606 #undef $ac_func
33608 /* Override any gcc2 internal prototype to avoid an error. */
33609 #ifdef __cplusplus
33610 extern "C"
33612 #endif
33613 /* We use char because int might match the return type of a gcc2
33614 builtin and then its argument prototype would still apply. */
33615 char $ac_func ();
33616 /* The GNU C library defines this for functions which it implements
33617 to always fail with ENOSYS. Some functions are actually named
33618 something starting with __ and the normal name is an alias. */
33619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33620 choke me
33621 #else
33622 char (*f) () = $ac_func;
33623 #endif
33624 #ifdef __cplusplus
33626 #endif
33629 main ()
33631 return f != $ac_func;
33633 return 0;
33635 _ACEOF
33636 rm -f conftest.$ac_objext conftest$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638 (eval $ac_link) 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
33645 { ac_try='test -z "$ac_c_werror_flag"
33646 || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 eval "$as_ac_var=yes"
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33663 eval "$as_ac_var=no"
33665 rm -f conftest.err conftest.$ac_objext \
33666 conftest$ac_exeext conftest.$ac_ext
33668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670 if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h <<_ACEOF
33672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33673 _ACEOF
33676 done
33681 echo "$as_me:$LINENO: checking for float round functions" >&5
33682 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
33683 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 else
33689 ac_ext=cc
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701 #include <math.h>
33703 main ()
33705 `for x in ceilf floorf; do echo "$x (0);"; done`
33707 return 0;
33709 _ACEOF
33710 rm -f conftest.$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_cxx_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33723 ac_status=$?
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try='test -s conftest.$ac_objext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33729 ac_status=$?
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 glibcxx_cv_func_float_round_use=yes
33733 else
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33737 glibcxx_cv_func_float_round_use=no
33739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33740 ac_ext=c
33741 ac_cpp='$CPP $CPPFLAGS'
33742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
33749 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
33750 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33753 for ac_func in ceilf floorf
33755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33756 echo "$as_me:$LINENO: checking for $ac_func" >&5
33757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33758 if eval "test \"\${$as_ac_var+set}\" = set"; then
33759 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 else
33761 if test x$gcc_no_link = xyes; then
33762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33764 { (exit 1); exit 1; }; }
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33774 #define $ac_func innocuous_$ac_func
33776 /* System header to define __stub macros and hopefully few prototypes,
33777 which can conflict with char $ac_func (); below.
33778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33779 <limits.h> exists even on freestanding compilers. */
33781 #ifdef __STDC__
33782 # include <limits.h>
33783 #else
33784 # include <assert.h>
33785 #endif
33787 #undef $ac_func
33789 /* Override any gcc2 internal prototype to avoid an error. */
33790 #ifdef __cplusplus
33791 extern "C"
33793 #endif
33794 /* We use char because int might match the return type of a gcc2
33795 builtin and then its argument prototype would still apply. */
33796 char $ac_func ();
33797 /* The GNU C library defines this for functions which it implements
33798 to always fail with ENOSYS. Some functions are actually named
33799 something starting with __ and the normal name is an alias. */
33800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33801 choke me
33802 #else
33803 char (*f) () = $ac_func;
33804 #endif
33805 #ifdef __cplusplus
33807 #endif
33810 main ()
33812 return f != $ac_func;
33814 return 0;
33816 _ACEOF
33817 rm -f conftest.$ac_objext conftest$ac_exeext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33819 (eval $ac_link) 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try='test -z "$ac_c_werror_flag"
33827 || test ! -s conftest.err'
33828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33829 (eval $ac_try) 2>&5
33830 ac_status=$?
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); }; } &&
33833 { ac_try='test -s conftest$ac_exeext'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; }; then
33839 eval "$as_ac_var=yes"
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33844 eval "$as_ac_var=no"
33846 rm -f conftest.err conftest.$ac_objext \
33847 conftest$ac_exeext conftest.$ac_ext
33849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33851 if test `eval echo '${'$as_ac_var'}'` = yes; then
33852 cat >>confdefs.h <<_ACEOF
33853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33854 _ACEOF
33857 done
33863 echo "$as_me:$LINENO: checking for expf declaration" >&5
33864 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
33865 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33866 if test "${glibcxx_cv_func_expf_use+set}" = set; then
33867 echo $ECHO_N "(cached) $ECHO_C" >&6
33868 else
33872 ac_ext=cc
33873 ac_cpp='$CXXCPP $CPPFLAGS'
33874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33878 cat >conftest.$ac_ext <<_ACEOF
33879 /* confdefs.h. */
33880 _ACEOF
33881 cat confdefs.h >>conftest.$ac_ext
33882 cat >>conftest.$ac_ext <<_ACEOF
33883 /* end confdefs.h. */
33884 #include <math.h>
33885 #ifdef HAVE_IEEEFP_H
33886 #include <ieeefp.h>
33887 #endif
33890 main ()
33892 expf(0);
33894 return 0;
33896 _ACEOF
33897 rm -f conftest.$ac_objext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33899 (eval $ac_compile) 2>conftest.er1
33900 ac_status=$?
33901 grep -v '^ *+' conftest.er1 >conftest.err
33902 rm -f conftest.er1
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try='test -z "$ac_cxx_werror_flag"
33907 || test ! -s conftest.err'
33908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33909 (eval $ac_try) 2>&5
33910 ac_status=$?
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; } &&
33913 { ac_try='test -s conftest.$ac_objext'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33916 ac_status=$?
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; }; then
33919 glibcxx_cv_func_expf_use=yes
33920 else
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.$ac_ext >&5
33924 glibcxx_cv_func_expf_use=no
33926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33927 ac_ext=c
33928 ac_cpp='$CPP $CPPFLAGS'
33929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
33938 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
33940 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33942 for ac_func in expf
33944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33945 echo "$as_me:$LINENO: checking for $ac_func" >&5
33946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33947 if eval "test \"\${$as_ac_var+set}\" = set"; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 else
33950 if test x$gcc_no_link = xyes; then
33951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33953 { (exit 1); exit 1; }; }
33955 cat >conftest.$ac_ext <<_ACEOF
33956 /* confdefs.h. */
33957 _ACEOF
33958 cat confdefs.h >>conftest.$ac_ext
33959 cat >>conftest.$ac_ext <<_ACEOF
33960 /* end confdefs.h. */
33961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33963 #define $ac_func innocuous_$ac_func
33965 /* System header to define __stub macros and hopefully few prototypes,
33966 which can conflict with char $ac_func (); below.
33967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33968 <limits.h> exists even on freestanding compilers. */
33970 #ifdef __STDC__
33971 # include <limits.h>
33972 #else
33973 # include <assert.h>
33974 #endif
33976 #undef $ac_func
33978 /* Override any gcc2 internal prototype to avoid an error. */
33979 #ifdef __cplusplus
33980 extern "C"
33982 #endif
33983 /* We use char because int might match the return type of a gcc2
33984 builtin and then its argument prototype would still apply. */
33985 char $ac_func ();
33986 /* The GNU C library defines this for functions which it implements
33987 to always fail with ENOSYS. Some functions are actually named
33988 something starting with __ and the normal name is an alias. */
33989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33990 choke me
33991 #else
33992 char (*f) () = $ac_func;
33993 #endif
33994 #ifdef __cplusplus
33996 #endif
33999 main ()
34001 return f != $ac_func;
34003 return 0;
34005 _ACEOF
34006 rm -f conftest.$ac_objext conftest$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 (eval $ac_link) 2>conftest.er1
34009 ac_status=$?
34010 grep -v '^ *+' conftest.er1 >conftest.err
34011 rm -f conftest.er1
34012 cat conftest.err >&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } &&
34015 { ac_try='test -z "$ac_c_werror_flag"
34016 || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try='test -s conftest$ac_exeext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34025 ac_status=$?
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 eval "$as_ac_var=yes"
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34033 eval "$as_ac_var=no"
34035 rm -f conftest.err conftest.$ac_objext \
34036 conftest$ac_exeext conftest.$ac_ext
34038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34040 if test `eval echo '${'$as_ac_var'}'` = yes; then
34041 cat >>confdefs.h <<_ACEOF
34042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34043 _ACEOF
34046 done
34048 else
34050 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34051 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34052 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34053 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34059 ac_ext=cc
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34065 cat >conftest.$ac_ext <<_ACEOF
34066 /* confdefs.h. */
34067 _ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34071 #include <math.h>
34072 #ifdef HAVE_IEEEFP_H
34073 #include <ieeefp.h>
34074 #endif
34077 main ()
34079 _expf(0);
34081 return 0;
34083 _ACEOF
34084 rm -f conftest.$ac_objext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34086 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expf_use=yes
34107 else
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34111 glibcxx_cv_func__expf_use=no
34113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34114 ac_ext=c
34115 ac_cpp='$CPP $CPPFLAGS'
34116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
34125 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
34127 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34129 for ac_func in _expf
34131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34132 echo "$as_me:$LINENO: checking for $ac_func" >&5
34133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34134 if eval "test \"\${$as_ac_var+set}\" = set"; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137 if test x$gcc_no_link = xyes; then
34138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34140 { (exit 1); exit 1; }; }
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34150 #define $ac_func innocuous_$ac_func
34152 /* System header to define __stub macros and hopefully few prototypes,
34153 which can conflict with char $ac_func (); below.
34154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34155 <limits.h> exists even on freestanding compilers. */
34157 #ifdef __STDC__
34158 # include <limits.h>
34159 #else
34160 # include <assert.h>
34161 #endif
34163 #undef $ac_func
34165 /* Override any gcc2 internal prototype to avoid an error. */
34166 #ifdef __cplusplus
34167 extern "C"
34169 #endif
34170 /* We use char because int might match the return type of a gcc2
34171 builtin and then its argument prototype would still apply. */
34172 char $ac_func ();
34173 /* The GNU C library defines this for functions which it implements
34174 to always fail with ENOSYS. Some functions are actually named
34175 something starting with __ and the normal name is an alias. */
34176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34177 choke me
34178 #else
34179 char (*f) () = $ac_func;
34180 #endif
34181 #ifdef __cplusplus
34183 #endif
34186 main ()
34188 return f != $ac_func;
34190 return 0;
34192 _ACEOF
34193 rm -f conftest.$ac_objext conftest$ac_exeext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34195 (eval $ac_link) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_c_werror_flag"
34203 || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34206 ac_status=$?
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try='test -s conftest$ac_exeext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 eval "$as_ac_var=yes"
34216 else
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34220 eval "$as_ac_var=no"
34222 rm -f conftest.err conftest.$ac_objext \
34223 conftest$ac_exeext conftest.$ac_ext
34225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34227 if test `eval echo '${'$as_ac_var'}'` = yes; then
34228 cat >>confdefs.h <<_ACEOF
34229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34230 _ACEOF
34233 done
34240 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
34241 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
34242 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34243 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34249 ac_ext=cc
34250 ac_cpp='$CXXCPP $CPPFLAGS'
34251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34255 cat >conftest.$ac_ext <<_ACEOF
34256 /* confdefs.h. */
34257 _ACEOF
34258 cat confdefs.h >>conftest.$ac_ext
34259 cat >>conftest.$ac_ext <<_ACEOF
34260 /* end confdefs.h. */
34261 #include <math.h>
34262 #ifdef HAVE_IEEEFP_H
34263 #include <ieeefp.h>
34264 #endif
34267 main ()
34269 isnanf(0);
34271 return 0;
34273 _ACEOF
34274 rm -f conftest.$ac_objext
34275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34276 (eval $ac_compile) 2>conftest.er1
34277 ac_status=$?
34278 grep -v '^ *+' conftest.er1 >conftest.err
34279 rm -f conftest.er1
34280 cat conftest.err >&5
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); } &&
34283 { ac_try='test -z "$ac_cxx_werror_flag"
34284 || test ! -s conftest.err'
34285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34286 (eval $ac_try) 2>&5
34287 ac_status=$?
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); }; } &&
34290 { ac_try='test -s conftest.$ac_objext'
34291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34292 (eval $ac_try) 2>&5
34293 ac_status=$?
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); }; }; then
34296 glibcxx_cv_func_isnanf_use=yes
34297 else
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34301 glibcxx_cv_func_isnanf_use=no
34303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34304 ac_ext=c
34305 ac_cpp='$CPP $CPPFLAGS'
34306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
34315 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
34317 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34319 for ac_func in isnanf
34321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34322 echo "$as_me:$LINENO: checking for $ac_func" >&5
34323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34324 if eval "test \"\${$as_ac_var+set}\" = set"; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 else
34327 if test x$gcc_no_link = xyes; then
34328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34330 { (exit 1); exit 1; }; }
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34340 #define $ac_func innocuous_$ac_func
34342 /* System header to define __stub macros and hopefully few prototypes,
34343 which can conflict with char $ac_func (); below.
34344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34345 <limits.h> exists even on freestanding compilers. */
34347 #ifdef __STDC__
34348 # include <limits.h>
34349 #else
34350 # include <assert.h>
34351 #endif
34353 #undef $ac_func
34355 /* Override any gcc2 internal prototype to avoid an error. */
34356 #ifdef __cplusplus
34357 extern "C"
34359 #endif
34360 /* We use char because int might match the return type of a gcc2
34361 builtin and then its argument prototype would still apply. */
34362 char $ac_func ();
34363 /* The GNU C library defines this for functions which it implements
34364 to always fail with ENOSYS. Some functions are actually named
34365 something starting with __ and the normal name is an alias. */
34366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34367 choke me
34368 #else
34369 char (*f) () = $ac_func;
34370 #endif
34371 #ifdef __cplusplus
34373 #endif
34376 main ()
34378 return f != $ac_func;
34380 return 0;
34382 _ACEOF
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34385 (eval $ac_link) 2>conftest.er1
34386 ac_status=$?
34387 grep -v '^ *+' conftest.er1 >conftest.err
34388 rm -f conftest.er1
34389 cat conftest.err >&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); } &&
34392 { ac_try='test -z "$ac_c_werror_flag"
34393 || test ! -s conftest.err'
34394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34395 (eval $ac_try) 2>&5
34396 ac_status=$?
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); }; } &&
34399 { ac_try='test -s conftest$ac_exeext'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; }; then
34405 eval "$as_ac_var=yes"
34406 else
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34410 eval "$as_ac_var=no"
34412 rm -f conftest.err conftest.$ac_objext \
34413 conftest$ac_exeext conftest.$ac_ext
34415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34417 if test `eval echo '${'$as_ac_var'}'` = yes; then
34418 cat >>confdefs.h <<_ACEOF
34419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34420 _ACEOF
34423 done
34425 else
34427 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
34428 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
34429 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34430 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34436 ac_ext=cc
34437 ac_cpp='$CXXCPP $CPPFLAGS'
34438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34442 cat >conftest.$ac_ext <<_ACEOF
34443 /* confdefs.h. */
34444 _ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34448 #include <math.h>
34449 #ifdef HAVE_IEEEFP_H
34450 #include <ieeefp.h>
34451 #endif
34454 main ()
34456 _isnanf(0);
34458 return 0;
34460 _ACEOF
34461 rm -f conftest.$ac_objext
34462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34463 (eval $ac_compile) 2>conftest.er1
34464 ac_status=$?
34465 grep -v '^ *+' conftest.er1 >conftest.err
34466 rm -f conftest.er1
34467 cat conftest.err >&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); } &&
34470 { ac_try='test -z "$ac_cxx_werror_flag"
34471 || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34474 ac_status=$?
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 glibcxx_cv_func__isnanf_use=yes
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34488 glibcxx_cv_func__isnanf_use=no
34490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34491 ac_ext=c
34492 ac_cpp='$CPP $CPPFLAGS'
34493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
34502 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
34504 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34506 for ac_func in _isnanf
34508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34509 echo "$as_me:$LINENO: checking for $ac_func" >&5
34510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34511 if eval "test \"\${$as_ac_var+set}\" = set"; then
34512 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 else
34514 if test x$gcc_no_link = xyes; then
34515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34517 { (exit 1); exit 1; }; }
34519 cat >conftest.$ac_ext <<_ACEOF
34520 /* confdefs.h. */
34521 _ACEOF
34522 cat confdefs.h >>conftest.$ac_ext
34523 cat >>conftest.$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34527 #define $ac_func innocuous_$ac_func
34529 /* System header to define __stub macros and hopefully few prototypes,
34530 which can conflict with char $ac_func (); below.
34531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34532 <limits.h> exists even on freestanding compilers. */
34534 #ifdef __STDC__
34535 # include <limits.h>
34536 #else
34537 # include <assert.h>
34538 #endif
34540 #undef $ac_func
34542 /* Override any gcc2 internal prototype to avoid an error. */
34543 #ifdef __cplusplus
34544 extern "C"
34546 #endif
34547 /* We use char because int might match the return type of a gcc2
34548 builtin and then its argument prototype would still apply. */
34549 char $ac_func ();
34550 /* The GNU C library defines this for functions which it implements
34551 to always fail with ENOSYS. Some functions are actually named
34552 something starting with __ and the normal name is an alias. */
34553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34554 choke me
34555 #else
34556 char (*f) () = $ac_func;
34557 #endif
34558 #ifdef __cplusplus
34560 #endif
34563 main ()
34565 return f != $ac_func;
34567 return 0;
34569 _ACEOF
34570 rm -f conftest.$ac_objext conftest$ac_exeext
34571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34572 (eval $ac_link) 2>conftest.er1
34573 ac_status=$?
34574 grep -v '^ *+' conftest.er1 >conftest.err
34575 rm -f conftest.er1
34576 cat conftest.err >&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); } &&
34579 { ac_try='test -z "$ac_c_werror_flag"
34580 || test ! -s conftest.err'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34583 ac_status=$?
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; } &&
34586 { ac_try='test -s conftest$ac_exeext'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34589 ac_status=$?
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34592 eval "$as_ac_var=yes"
34593 else
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34597 eval "$as_ac_var=no"
34599 rm -f conftest.err conftest.$ac_objext \
34600 conftest$ac_exeext conftest.$ac_ext
34602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34604 if test `eval echo '${'$as_ac_var'}'` = yes; then
34605 cat >>confdefs.h <<_ACEOF
34606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34607 _ACEOF
34610 done
34617 echo "$as_me:$LINENO: checking for isinff declaration" >&5
34618 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
34619 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34620 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34626 ac_ext=cc
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 #include <math.h>
34639 #ifdef HAVE_IEEEFP_H
34640 #include <ieeefp.h>
34641 #endif
34644 main ()
34646 isinff(0);
34648 return 0;
34650 _ACEOF
34651 rm -f conftest.$ac_objext
34652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34653 (eval $ac_compile) 2>conftest.er1
34654 ac_status=$?
34655 grep -v '^ *+' conftest.er1 >conftest.err
34656 rm -f conftest.er1
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } &&
34660 { ac_try='test -z "$ac_cxx_werror_flag"
34661 || test ! -s conftest.err'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; } &&
34667 { ac_try='test -s conftest.$ac_objext'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; }; then
34673 glibcxx_cv_func_isinff_use=yes
34674 else
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.$ac_ext >&5
34678 glibcxx_cv_func_isinff_use=no
34680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34681 ac_ext=c
34682 ac_cpp='$CPP $CPPFLAGS'
34683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
34692 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
34694 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34696 for ac_func in isinff
34698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34699 echo "$as_me:$LINENO: checking for $ac_func" >&5
34700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34701 if eval "test \"\${$as_ac_var+set}\" = set"; then
34702 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 else
34704 if test x$gcc_no_link = xyes; then
34705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34707 { (exit 1); exit 1; }; }
34709 cat >conftest.$ac_ext <<_ACEOF
34710 /* confdefs.h. */
34711 _ACEOF
34712 cat confdefs.h >>conftest.$ac_ext
34713 cat >>conftest.$ac_ext <<_ACEOF
34714 /* end confdefs.h. */
34715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34717 #define $ac_func innocuous_$ac_func
34719 /* System header to define __stub macros and hopefully few prototypes,
34720 which can conflict with char $ac_func (); below.
34721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34722 <limits.h> exists even on freestanding compilers. */
34724 #ifdef __STDC__
34725 # include <limits.h>
34726 #else
34727 # include <assert.h>
34728 #endif
34730 #undef $ac_func
34732 /* Override any gcc2 internal prototype to avoid an error. */
34733 #ifdef __cplusplus
34734 extern "C"
34736 #endif
34737 /* We use char because int might match the return type of a gcc2
34738 builtin and then its argument prototype would still apply. */
34739 char $ac_func ();
34740 /* The GNU C library defines this for functions which it implements
34741 to always fail with ENOSYS. Some functions are actually named
34742 something starting with __ and the normal name is an alias. */
34743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34744 choke me
34745 #else
34746 char (*f) () = $ac_func;
34747 #endif
34748 #ifdef __cplusplus
34750 #endif
34753 main ()
34755 return f != $ac_func;
34757 return 0;
34759 _ACEOF
34760 rm -f conftest.$ac_objext conftest$ac_exeext
34761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34762 (eval $ac_link) 2>conftest.er1
34763 ac_status=$?
34764 grep -v '^ *+' conftest.er1 >conftest.err
34765 rm -f conftest.er1
34766 cat conftest.err >&5
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); } &&
34769 { ac_try='test -z "$ac_c_werror_flag"
34770 || test ! -s conftest.err'
34771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34772 (eval $ac_try) 2>&5
34773 ac_status=$?
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); }; } &&
34776 { ac_try='test -s conftest$ac_exeext'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; }; then
34782 eval "$as_ac_var=yes"
34783 else
34784 echo "$as_me: failed program was:" >&5
34785 sed 's/^/| /' conftest.$ac_ext >&5
34787 eval "$as_ac_var=no"
34789 rm -f conftest.err conftest.$ac_objext \
34790 conftest$ac_exeext conftest.$ac_ext
34792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34794 if test `eval echo '${'$as_ac_var'}'` = yes; then
34795 cat >>confdefs.h <<_ACEOF
34796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34797 _ACEOF
34800 done
34802 else
34804 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
34805 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
34806 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34807 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34813 ac_ext=cc
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819 cat >conftest.$ac_ext <<_ACEOF
34820 /* confdefs.h. */
34821 _ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825 #include <math.h>
34826 #ifdef HAVE_IEEEFP_H
34827 #include <ieeefp.h>
34828 #endif
34831 main ()
34833 _isinff(0);
34835 return 0;
34837 _ACEOF
34838 rm -f conftest.$ac_objext
34839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34840 (eval $ac_compile) 2>conftest.er1
34841 ac_status=$?
34842 grep -v '^ *+' conftest.er1 >conftest.err
34843 rm -f conftest.er1
34844 cat conftest.err >&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } &&
34847 { ac_try='test -z "$ac_cxx_werror_flag"
34848 || test ! -s conftest.err'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34851 ac_status=$?
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; } &&
34854 { ac_try='test -s conftest.$ac_objext'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 glibcxx_cv_func__isinff_use=yes
34861 else
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34865 glibcxx_cv_func__isinff_use=no
34867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34868 ac_ext=c
34869 ac_cpp='$CPP $CPPFLAGS'
34870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
34879 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
34881 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34883 for ac_func in _isinff
34885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34886 echo "$as_me:$LINENO: checking for $ac_func" >&5
34887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34888 if eval "test \"\${$as_ac_var+set}\" = set"; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891 if test x$gcc_no_link = xyes; then
34892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34894 { (exit 1); exit 1; }; }
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34904 #define $ac_func innocuous_$ac_func
34906 /* System header to define __stub macros and hopefully few prototypes,
34907 which can conflict with char $ac_func (); below.
34908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34909 <limits.h> exists even on freestanding compilers. */
34911 #ifdef __STDC__
34912 # include <limits.h>
34913 #else
34914 # include <assert.h>
34915 #endif
34917 #undef $ac_func
34919 /* Override any gcc2 internal prototype to avoid an error. */
34920 #ifdef __cplusplus
34921 extern "C"
34923 #endif
34924 /* We use char because int might match the return type of a gcc2
34925 builtin and then its argument prototype would still apply. */
34926 char $ac_func ();
34927 /* The GNU C library defines this for functions which it implements
34928 to always fail with ENOSYS. Some functions are actually named
34929 something starting with __ and the normal name is an alias. */
34930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34931 choke me
34932 #else
34933 char (*f) () = $ac_func;
34934 #endif
34935 #ifdef __cplusplus
34937 #endif
34940 main ()
34942 return f != $ac_func;
34944 return 0;
34946 _ACEOF
34947 rm -f conftest.$ac_objext conftest$ac_exeext
34948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34949 (eval $ac_link) 2>conftest.er1
34950 ac_status=$?
34951 grep -v '^ *+' conftest.er1 >conftest.err
34952 rm -f conftest.er1
34953 cat conftest.err >&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); } &&
34956 { ac_try='test -z "$ac_c_werror_flag"
34957 || test ! -s conftest.err'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34960 ac_status=$?
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try='test -s conftest$ac_exeext'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34969 eval "$as_ac_var=yes"
34970 else
34971 echo "$as_me: failed program was:" >&5
34972 sed 's/^/| /' conftest.$ac_ext >&5
34974 eval "$as_ac_var=no"
34976 rm -f conftest.err conftest.$ac_objext \
34977 conftest$ac_exeext conftest.$ac_ext
34979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34981 if test `eval echo '${'$as_ac_var'}'` = yes; then
34982 cat >>confdefs.h <<_ACEOF
34983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34984 _ACEOF
34987 done
34994 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
34995 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
34996 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34997 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
34998 echo $ECHO_N "(cached) $ECHO_C" >&6
34999 else
35003 ac_ext=cc
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009 cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h. */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35015 #include <math.h>
35017 main ()
35019 atan2f(0, 0);
35021 return 0;
35023 _ACEOF
35024 rm -f conftest.$ac_objext
35025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35026 (eval $ac_compile) 2>conftest.er1
35027 ac_status=$?
35028 grep -v '^ *+' conftest.er1 >conftest.err
35029 rm -f conftest.er1
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } &&
35033 { ac_try='test -z "$ac_cxx_werror_flag"
35034 || test ! -s conftest.err'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; } &&
35040 { ac_try='test -s conftest.$ac_objext'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; }; then
35046 glibcxx_cv_func_atan2f_use=yes
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35051 glibcxx_cv_func_atan2f_use=no
35053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35065 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35067 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35069 for ac_func in atan2f
35071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35072 echo "$as_me:$LINENO: checking for $ac_func" >&5
35073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35074 if eval "test \"\${$as_ac_var+set}\" = set"; then
35075 echo $ECHO_N "(cached) $ECHO_C" >&6
35076 else
35077 if test x$gcc_no_link = xyes; then
35078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35080 { (exit 1); exit 1; }; }
35082 cat >conftest.$ac_ext <<_ACEOF
35083 /* confdefs.h. */
35084 _ACEOF
35085 cat confdefs.h >>conftest.$ac_ext
35086 cat >>conftest.$ac_ext <<_ACEOF
35087 /* end confdefs.h. */
35088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35090 #define $ac_func innocuous_$ac_func
35092 /* System header to define __stub macros and hopefully few prototypes,
35093 which can conflict with char $ac_func (); below.
35094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35095 <limits.h> exists even on freestanding compilers. */
35097 #ifdef __STDC__
35098 # include <limits.h>
35099 #else
35100 # include <assert.h>
35101 #endif
35103 #undef $ac_func
35105 /* Override any gcc2 internal prototype to avoid an error. */
35106 #ifdef __cplusplus
35107 extern "C"
35109 #endif
35110 /* We use char because int might match the return type of a gcc2
35111 builtin and then its argument prototype would still apply. */
35112 char $ac_func ();
35113 /* The GNU C library defines this for functions which it implements
35114 to always fail with ENOSYS. Some functions are actually named
35115 something starting with __ and the normal name is an alias. */
35116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35117 choke me
35118 #else
35119 char (*f) () = $ac_func;
35120 #endif
35121 #ifdef __cplusplus
35123 #endif
35126 main ()
35128 return f != $ac_func;
35130 return 0;
35132 _ACEOF
35133 rm -f conftest.$ac_objext conftest$ac_exeext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35135 (eval $ac_link) 2>conftest.er1
35136 ac_status=$?
35137 grep -v '^ *+' conftest.er1 >conftest.err
35138 rm -f conftest.er1
35139 cat conftest.err >&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } &&
35142 { ac_try='test -z "$ac_c_werror_flag"
35143 || test ! -s conftest.err'
35144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35145 (eval $ac_try) 2>&5
35146 ac_status=$?
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); }; } &&
35149 { ac_try='test -s conftest$ac_exeext'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35152 ac_status=$?
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; }; then
35155 eval "$as_ac_var=yes"
35156 else
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.$ac_ext >&5
35160 eval "$as_ac_var=no"
35162 rm -f conftest.err conftest.$ac_objext \
35163 conftest$ac_exeext conftest.$ac_ext
35165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35167 if test `eval echo '${'$as_ac_var'}'` = yes; then
35168 cat >>confdefs.h <<_ACEOF
35169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35170 _ACEOF
35173 done
35175 else
35177 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
35178 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
35179 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35180 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35186 ac_ext=cc
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 #include <math.h>
35200 main ()
35202 _atan2f(0, 0);
35204 return 0;
35206 _ACEOF
35207 rm -f conftest.$ac_objext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35209 (eval $ac_compile) 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try='test -z "$ac_cxx_werror_flag"
35217 || test ! -s conftest.err'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; } &&
35223 { ac_try='test -s conftest.$ac_objext'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; }; then
35229 glibcxx_cv_func__atan2f_use=yes
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35234 glibcxx_cv_func__atan2f_use=no
35236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35237 ac_ext=c
35238 ac_cpp='$CPP $CPPFLAGS'
35239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
35248 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
35250 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35252 for ac_func in _atan2f
35254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35255 echo "$as_me:$LINENO: checking for $ac_func" >&5
35256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35257 if eval "test \"\${$as_ac_var+set}\" = set"; then
35258 echo $ECHO_N "(cached) $ECHO_C" >&6
35259 else
35260 if test x$gcc_no_link = xyes; then
35261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35263 { (exit 1); exit 1; }; }
35265 cat >conftest.$ac_ext <<_ACEOF
35266 /* confdefs.h. */
35267 _ACEOF
35268 cat confdefs.h >>conftest.$ac_ext
35269 cat >>conftest.$ac_ext <<_ACEOF
35270 /* end confdefs.h. */
35271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35273 #define $ac_func innocuous_$ac_func
35275 /* System header to define __stub macros and hopefully few prototypes,
35276 which can conflict with char $ac_func (); below.
35277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35278 <limits.h> exists even on freestanding compilers. */
35280 #ifdef __STDC__
35281 # include <limits.h>
35282 #else
35283 # include <assert.h>
35284 #endif
35286 #undef $ac_func
35288 /* Override any gcc2 internal prototype to avoid an error. */
35289 #ifdef __cplusplus
35290 extern "C"
35292 #endif
35293 /* We use char because int might match the return type of a gcc2
35294 builtin and then its argument prototype would still apply. */
35295 char $ac_func ();
35296 /* The GNU C library defines this for functions which it implements
35297 to always fail with ENOSYS. Some functions are actually named
35298 something starting with __ and the normal name is an alias. */
35299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35300 choke me
35301 #else
35302 char (*f) () = $ac_func;
35303 #endif
35304 #ifdef __cplusplus
35306 #endif
35309 main ()
35311 return f != $ac_func;
35313 return 0;
35315 _ACEOF
35316 rm -f conftest.$ac_objext conftest$ac_exeext
35317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35318 (eval $ac_link) 2>conftest.er1
35319 ac_status=$?
35320 grep -v '^ *+' conftest.er1 >conftest.err
35321 rm -f conftest.er1
35322 cat conftest.err >&5
35323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35324 (exit $ac_status); } &&
35325 { ac_try='test -z "$ac_c_werror_flag"
35326 || test ! -s conftest.err'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; } &&
35332 { ac_try='test -s conftest$ac_exeext'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; }; then
35338 eval "$as_ac_var=yes"
35339 else
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.$ac_ext >&5
35343 eval "$as_ac_var=no"
35345 rm -f conftest.err conftest.$ac_objext \
35346 conftest$ac_exeext conftest.$ac_ext
35348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35350 if test `eval echo '${'$as_ac_var'}'` = yes; then
35351 cat >>confdefs.h <<_ACEOF
35352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35353 _ACEOF
35356 done
35363 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
35364 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
35365 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35366 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35368 else
35372 ac_ext=cc
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35378 cat >conftest.$ac_ext <<_ACEOF
35379 /* confdefs.h. */
35380 _ACEOF
35381 cat confdefs.h >>conftest.$ac_ext
35382 cat >>conftest.$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384 #include <math.h>
35385 #ifdef HAVE_IEEEFP_H
35386 #include <ieeefp.h>
35387 #endif
35390 main ()
35392 fabsf(0);
35394 return 0;
35396 _ACEOF
35397 rm -f conftest.$ac_objext
35398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35399 (eval $ac_compile) 2>conftest.er1
35400 ac_status=$?
35401 grep -v '^ *+' conftest.er1 >conftest.err
35402 rm -f conftest.er1
35403 cat conftest.err >&5
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); } &&
35406 { ac_try='test -z "$ac_cxx_werror_flag"
35407 || test ! -s conftest.err'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; } &&
35413 { ac_try='test -s conftest.$ac_objext'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35416 ac_status=$?
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; }; then
35419 glibcxx_cv_func_fabsf_use=yes
35420 else
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35424 glibcxx_cv_func_fabsf_use=no
35426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
35438 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
35440 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35442 for ac_func in fabsf
35444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35445 echo "$as_me:$LINENO: checking for $ac_func" >&5
35446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35447 if eval "test \"\${$as_ac_var+set}\" = set"; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35450 if test x$gcc_no_link = xyes; then
35451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35453 { (exit 1); exit 1; }; }
35455 cat >conftest.$ac_ext <<_ACEOF
35456 /* confdefs.h. */
35457 _ACEOF
35458 cat confdefs.h >>conftest.$ac_ext
35459 cat >>conftest.$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35463 #define $ac_func innocuous_$ac_func
35465 /* System header to define __stub macros and hopefully few prototypes,
35466 which can conflict with char $ac_func (); below.
35467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35468 <limits.h> exists even on freestanding compilers. */
35470 #ifdef __STDC__
35471 # include <limits.h>
35472 #else
35473 # include <assert.h>
35474 #endif
35476 #undef $ac_func
35478 /* Override any gcc2 internal prototype to avoid an error. */
35479 #ifdef __cplusplus
35480 extern "C"
35482 #endif
35483 /* We use char because int might match the return type of a gcc2
35484 builtin and then its argument prototype would still apply. */
35485 char $ac_func ();
35486 /* The GNU C library defines this for functions which it implements
35487 to always fail with ENOSYS. Some functions are actually named
35488 something starting with __ and the normal name is an alias. */
35489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35490 choke me
35491 #else
35492 char (*f) () = $ac_func;
35493 #endif
35494 #ifdef __cplusplus
35496 #endif
35499 main ()
35501 return f != $ac_func;
35503 return 0;
35505 _ACEOF
35506 rm -f conftest.$ac_objext conftest$ac_exeext
35507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35508 (eval $ac_link) 2>conftest.er1
35509 ac_status=$?
35510 grep -v '^ *+' conftest.er1 >conftest.err
35511 rm -f conftest.er1
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try='test -z "$ac_c_werror_flag"
35516 || test ! -s conftest.err'
35517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35518 (eval $ac_try) 2>&5
35519 ac_status=$?
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); }; } &&
35522 { ac_try='test -s conftest$ac_exeext'
35523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35524 (eval $ac_try) 2>&5
35525 ac_status=$?
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); }; }; then
35528 eval "$as_ac_var=yes"
35529 else
35530 echo "$as_me: failed program was:" >&5
35531 sed 's/^/| /' conftest.$ac_ext >&5
35533 eval "$as_ac_var=no"
35535 rm -f conftest.err conftest.$ac_objext \
35536 conftest$ac_exeext conftest.$ac_ext
35538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35540 if test `eval echo '${'$as_ac_var'}'` = yes; then
35541 cat >>confdefs.h <<_ACEOF
35542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35543 _ACEOF
35546 done
35548 else
35550 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
35551 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
35552 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35553 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 else
35559 ac_ext=cc
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571 #include <math.h>
35572 #ifdef HAVE_IEEEFP_H
35573 #include <ieeefp.h>
35574 #endif
35577 main ()
35579 _fabsf(0);
35581 return 0;
35583 _ACEOF
35584 rm -f conftest.$ac_objext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35586 (eval $ac_compile) 2>conftest.er1
35587 ac_status=$?
35588 grep -v '^ *+' conftest.er1 >conftest.err
35589 rm -f conftest.er1
35590 cat conftest.err >&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try='test -z "$ac_cxx_werror_flag"
35594 || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35597 ac_status=$?
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try='test -s conftest.$ac_objext'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 glibcxx_cv_func__fabsf_use=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35611 glibcxx_cv_func__fabsf_use=no
35613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35614 ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
35625 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
35627 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35629 for ac_func in _fabsf
35631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35632 echo "$as_me:$LINENO: checking for $ac_func" >&5
35633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35634 if eval "test \"\${$as_ac_var+set}\" = set"; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 else
35637 if test x$gcc_no_link = xyes; then
35638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35640 { (exit 1); exit 1; }; }
35642 cat >conftest.$ac_ext <<_ACEOF
35643 /* confdefs.h. */
35644 _ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35650 #define $ac_func innocuous_$ac_func
35652 /* System header to define __stub macros and hopefully few prototypes,
35653 which can conflict with char $ac_func (); below.
35654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35655 <limits.h> exists even on freestanding compilers. */
35657 #ifdef __STDC__
35658 # include <limits.h>
35659 #else
35660 # include <assert.h>
35661 #endif
35663 #undef $ac_func
35665 /* Override any gcc2 internal prototype to avoid an error. */
35666 #ifdef __cplusplus
35667 extern "C"
35669 #endif
35670 /* We use char because int might match the return type of a gcc2
35671 builtin and then its argument prototype would still apply. */
35672 char $ac_func ();
35673 /* The GNU C library defines this for functions which it implements
35674 to always fail with ENOSYS. Some functions are actually named
35675 something starting with __ and the normal name is an alias. */
35676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35677 choke me
35678 #else
35679 char (*f) () = $ac_func;
35680 #endif
35681 #ifdef __cplusplus
35683 #endif
35686 main ()
35688 return f != $ac_func;
35690 return 0;
35692 _ACEOF
35693 rm -f conftest.$ac_objext conftest$ac_exeext
35694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35695 (eval $ac_link) 2>conftest.er1
35696 ac_status=$?
35697 grep -v '^ *+' conftest.er1 >conftest.err
35698 rm -f conftest.er1
35699 cat conftest.err >&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } &&
35702 { ac_try='test -z "$ac_c_werror_flag"
35703 || test ! -s conftest.err'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35706 ac_status=$?
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; } &&
35709 { ac_try='test -s conftest$ac_exeext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 eval "$as_ac_var=yes"
35716 else
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35720 eval "$as_ac_var=no"
35722 rm -f conftest.err conftest.$ac_objext \
35723 conftest$ac_exeext conftest.$ac_ext
35725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35727 if test `eval echo '${'$as_ac_var'}'` = yes; then
35728 cat >>confdefs.h <<_ACEOF
35729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35730 _ACEOF
35733 done
35740 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
35741 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
35742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35743 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
35744 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 else
35749 ac_ext=cc
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755 cat >conftest.$ac_ext <<_ACEOF
35756 /* confdefs.h. */
35757 _ACEOF
35758 cat confdefs.h >>conftest.$ac_ext
35759 cat >>conftest.$ac_ext <<_ACEOF
35760 /* end confdefs.h. */
35761 #include <math.h>
35763 main ()
35765 fmodf(0, 0);
35767 return 0;
35769 _ACEOF
35770 rm -f conftest.$ac_objext
35771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35772 (eval $ac_compile) 2>conftest.er1
35773 ac_status=$?
35774 grep -v '^ *+' conftest.er1 >conftest.err
35775 rm -f conftest.er1
35776 cat conftest.err >&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); } &&
35779 { ac_try='test -z "$ac_cxx_werror_flag"
35780 || test ! -s conftest.err'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35783 ac_status=$?
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; } &&
35786 { ac_try='test -s conftest.$ac_objext'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35789 ac_status=$?
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; }; then
35792 glibcxx_cv_func_fmodf_use=yes
35793 else
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35797 glibcxx_cv_func_fmodf_use=no
35799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35800 ac_ext=c
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
35811 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
35813 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35815 for ac_func in fmodf
35817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35818 echo "$as_me:$LINENO: checking for $ac_func" >&5
35819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_var+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 else
35823 if test x$gcc_no_link = xyes; then
35824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35826 { (exit 1); exit 1; }; }
35828 cat >conftest.$ac_ext <<_ACEOF
35829 /* confdefs.h. */
35830 _ACEOF
35831 cat confdefs.h >>conftest.$ac_ext
35832 cat >>conftest.$ac_ext <<_ACEOF
35833 /* end confdefs.h. */
35834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35836 #define $ac_func innocuous_$ac_func
35838 /* System header to define __stub macros and hopefully few prototypes,
35839 which can conflict with char $ac_func (); below.
35840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35841 <limits.h> exists even on freestanding compilers. */
35843 #ifdef __STDC__
35844 # include <limits.h>
35845 #else
35846 # include <assert.h>
35847 #endif
35849 #undef $ac_func
35851 /* Override any gcc2 internal prototype to avoid an error. */
35852 #ifdef __cplusplus
35853 extern "C"
35855 #endif
35856 /* We use char because int might match the return type of a gcc2
35857 builtin and then its argument prototype would still apply. */
35858 char $ac_func ();
35859 /* The GNU C library defines this for functions which it implements
35860 to always fail with ENOSYS. Some functions are actually named
35861 something starting with __ and the normal name is an alias. */
35862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35863 choke me
35864 #else
35865 char (*f) () = $ac_func;
35866 #endif
35867 #ifdef __cplusplus
35869 #endif
35872 main ()
35874 return f != $ac_func;
35876 return 0;
35878 _ACEOF
35879 rm -f conftest.$ac_objext conftest$ac_exeext
35880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35881 (eval $ac_link) 2>conftest.er1
35882 ac_status=$?
35883 grep -v '^ *+' conftest.er1 >conftest.err
35884 rm -f conftest.er1
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } &&
35888 { ac_try='test -z "$ac_c_werror_flag"
35889 || test ! -s conftest.err'
35890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35891 (eval $ac_try) 2>&5
35892 ac_status=$?
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); }; } &&
35895 { ac_try='test -s conftest$ac_exeext'
35896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35897 (eval $ac_try) 2>&5
35898 ac_status=$?
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); }; }; then
35901 eval "$as_ac_var=yes"
35902 else
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.$ac_ext >&5
35906 eval "$as_ac_var=no"
35908 rm -f conftest.err conftest.$ac_objext \
35909 conftest$ac_exeext conftest.$ac_ext
35911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35913 if test `eval echo '${'$as_ac_var'}'` = yes; then
35914 cat >>confdefs.h <<_ACEOF
35915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35916 _ACEOF
35919 done
35921 else
35923 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
35924 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
35925 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35926 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
35927 echo $ECHO_N "(cached) $ECHO_C" >&6
35928 else
35932 ac_ext=cc
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat >conftest.$ac_ext <<_ACEOF
35939 /* confdefs.h. */
35940 _ACEOF
35941 cat confdefs.h >>conftest.$ac_ext
35942 cat >>conftest.$ac_ext <<_ACEOF
35943 /* end confdefs.h. */
35944 #include <math.h>
35946 main ()
35948 _fmodf(0, 0);
35950 return 0;
35952 _ACEOF
35953 rm -f conftest.$ac_objext
35954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35955 (eval $ac_compile) 2>conftest.er1
35956 ac_status=$?
35957 grep -v '^ *+' conftest.er1 >conftest.err
35958 rm -f conftest.er1
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } &&
35962 { ac_try='test -z "$ac_cxx_werror_flag"
35963 || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try='test -s conftest.$ac_objext'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35972 ac_status=$?
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; }; then
35975 glibcxx_cv_func__fmodf_use=yes
35976 else
35977 echo "$as_me: failed program was:" >&5
35978 sed 's/^/| /' conftest.$ac_ext >&5
35980 glibcxx_cv_func__fmodf_use=no
35982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35983 ac_ext=c
35984 ac_cpp='$CPP $CPPFLAGS'
35985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
35994 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
35996 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35998 for ac_func in _fmodf
36000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36001 echo "$as_me:$LINENO: checking for $ac_func" >&5
36002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36003 if eval "test \"\${$as_ac_var+set}\" = set"; then
36004 echo $ECHO_N "(cached) $ECHO_C" >&6
36005 else
36006 if test x$gcc_no_link = xyes; then
36007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36009 { (exit 1); exit 1; }; }
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36019 #define $ac_func innocuous_$ac_func
36021 /* System header to define __stub macros and hopefully few prototypes,
36022 which can conflict with char $ac_func (); below.
36023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36024 <limits.h> exists even on freestanding compilers. */
36026 #ifdef __STDC__
36027 # include <limits.h>
36028 #else
36029 # include <assert.h>
36030 #endif
36032 #undef $ac_func
36034 /* Override any gcc2 internal prototype to avoid an error. */
36035 #ifdef __cplusplus
36036 extern "C"
36038 #endif
36039 /* We use char because int might match the return type of a gcc2
36040 builtin and then its argument prototype would still apply. */
36041 char $ac_func ();
36042 /* The GNU C library defines this for functions which it implements
36043 to always fail with ENOSYS. Some functions are actually named
36044 something starting with __ and the normal name is an alias. */
36045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36046 choke me
36047 #else
36048 char (*f) () = $ac_func;
36049 #endif
36050 #ifdef __cplusplus
36052 #endif
36055 main ()
36057 return f != $ac_func;
36059 return 0;
36061 _ACEOF
36062 rm -f conftest.$ac_objext conftest$ac_exeext
36063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36064 (eval $ac_link) 2>conftest.er1
36065 ac_status=$?
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
36071 { ac_try='test -z "$ac_c_werror_flag"
36072 || test ! -s conftest.err'
36073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 (eval $ac_try) 2>&5
36075 ac_status=$?
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); }; } &&
36078 { ac_try='test -s conftest$ac_exeext'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36081 ac_status=$?
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; }; then
36084 eval "$as_ac_var=yes"
36085 else
36086 echo "$as_me: failed program was:" >&5
36087 sed 's/^/| /' conftest.$ac_ext >&5
36089 eval "$as_ac_var=no"
36091 rm -f conftest.err conftest.$ac_objext \
36092 conftest$ac_exeext conftest.$ac_ext
36094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36096 if test `eval echo '${'$as_ac_var'}'` = yes; then
36097 cat >>confdefs.h <<_ACEOF
36098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 _ACEOF
36102 done
36109 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
36110 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
36111 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36112 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
36113 echo $ECHO_N "(cached) $ECHO_C" >&6
36114 else
36118 ac_ext=cc
36119 ac_cpp='$CXXCPP $CPPFLAGS'
36120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36124 cat >conftest.$ac_ext <<_ACEOF
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130 #include <math.h>
36132 main ()
36134 frexpf(0, 0);
36136 return 0;
36138 _ACEOF
36139 rm -f conftest.$ac_objext
36140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36141 (eval $ac_compile) 2>conftest.er1
36142 ac_status=$?
36143 grep -v '^ *+' conftest.er1 >conftest.err
36144 rm -f conftest.er1
36145 cat conftest.err >&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } &&
36148 { ac_try='test -z "$ac_cxx_werror_flag"
36149 || test ! -s conftest.err'
36150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36151 (eval $ac_try) 2>&5
36152 ac_status=$?
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); }; } &&
36155 { ac_try='test -s conftest.$ac_objext'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36158 ac_status=$?
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; }; then
36161 glibcxx_cv_func_frexpf_use=yes
36162 else
36163 echo "$as_me: failed program was:" >&5
36164 sed 's/^/| /' conftest.$ac_ext >&5
36166 glibcxx_cv_func_frexpf_use=no
36168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36169 ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
36180 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
36182 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36184 for ac_func in frexpf
36186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36187 echo "$as_me:$LINENO: checking for $ac_func" >&5
36188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36189 if eval "test \"\${$as_ac_var+set}\" = set"; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 else
36192 if test x$gcc_no_link = xyes; then
36193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36195 { (exit 1); exit 1; }; }
36197 cat >conftest.$ac_ext <<_ACEOF
36198 /* confdefs.h. */
36199 _ACEOF
36200 cat confdefs.h >>conftest.$ac_ext
36201 cat >>conftest.$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36205 #define $ac_func innocuous_$ac_func
36207 /* System header to define __stub macros and hopefully few prototypes,
36208 which can conflict with char $ac_func (); below.
36209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36210 <limits.h> exists even on freestanding compilers. */
36212 #ifdef __STDC__
36213 # include <limits.h>
36214 #else
36215 # include <assert.h>
36216 #endif
36218 #undef $ac_func
36220 /* Override any gcc2 internal prototype to avoid an error. */
36221 #ifdef __cplusplus
36222 extern "C"
36224 #endif
36225 /* We use char because int might match the return type of a gcc2
36226 builtin and then its argument prototype would still apply. */
36227 char $ac_func ();
36228 /* The GNU C library defines this for functions which it implements
36229 to always fail with ENOSYS. Some functions are actually named
36230 something starting with __ and the normal name is an alias. */
36231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36232 choke me
36233 #else
36234 char (*f) () = $ac_func;
36235 #endif
36236 #ifdef __cplusplus
36238 #endif
36241 main ()
36243 return f != $ac_func;
36245 return 0;
36247 _ACEOF
36248 rm -f conftest.$ac_objext conftest$ac_exeext
36249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36250 (eval $ac_link) 2>conftest.er1
36251 ac_status=$?
36252 grep -v '^ *+' conftest.er1 >conftest.err
36253 rm -f conftest.er1
36254 cat conftest.err >&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); } &&
36257 { ac_try='test -z "$ac_c_werror_flag"
36258 || test ! -s conftest.err'
36259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36260 (eval $ac_try) 2>&5
36261 ac_status=$?
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); }; } &&
36264 { ac_try='test -s conftest$ac_exeext'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36267 ac_status=$?
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; }; then
36270 eval "$as_ac_var=yes"
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36275 eval "$as_ac_var=no"
36277 rm -f conftest.err conftest.$ac_objext \
36278 conftest$ac_exeext conftest.$ac_ext
36280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36282 if test `eval echo '${'$as_ac_var'}'` = yes; then
36283 cat >>confdefs.h <<_ACEOF
36284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36285 _ACEOF
36288 done
36290 else
36292 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
36293 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
36294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36301 ac_ext=cc
36302 ac_cpp='$CXXCPP $CPPFLAGS'
36303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36307 cat >conftest.$ac_ext <<_ACEOF
36308 /* confdefs.h. */
36309 _ACEOF
36310 cat confdefs.h >>conftest.$ac_ext
36311 cat >>conftest.$ac_ext <<_ACEOF
36312 /* end confdefs.h. */
36313 #include <math.h>
36315 main ()
36317 _frexpf(0, 0);
36319 return 0;
36321 _ACEOF
36322 rm -f conftest.$ac_objext
36323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36324 (eval $ac_compile) 2>conftest.er1
36325 ac_status=$?
36326 grep -v '^ *+' conftest.er1 >conftest.err
36327 rm -f conftest.er1
36328 cat conftest.err >&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); } &&
36331 { ac_try='test -z "$ac_cxx_werror_flag"
36332 || test ! -s conftest.err'
36333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36334 (eval $ac_try) 2>&5
36335 ac_status=$?
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); }; } &&
36338 { ac_try='test -s conftest.$ac_objext'
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; }; then
36344 glibcxx_cv_func__frexpf_use=yes
36345 else
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.$ac_ext >&5
36349 glibcxx_cv_func__frexpf_use=no
36351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
36363 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
36365 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36367 for ac_func in _frexpf
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36372 if eval "test \"\${$as_ac_var+set}\" = set"; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 if test x$gcc_no_link = xyes; then
36376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36378 { (exit 1); exit 1; }; }
36380 cat >conftest.$ac_ext <<_ACEOF
36381 /* confdefs.h. */
36382 _ACEOF
36383 cat confdefs.h >>conftest.$ac_ext
36384 cat >>conftest.$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36388 #define $ac_func innocuous_$ac_func
36390 /* System header to define __stub macros and hopefully few prototypes,
36391 which can conflict with char $ac_func (); below.
36392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36393 <limits.h> exists even on freestanding compilers. */
36395 #ifdef __STDC__
36396 # include <limits.h>
36397 #else
36398 # include <assert.h>
36399 #endif
36401 #undef $ac_func
36403 /* Override any gcc2 internal prototype to avoid an error. */
36404 #ifdef __cplusplus
36405 extern "C"
36407 #endif
36408 /* We use char because int might match the return type of a gcc2
36409 builtin and then its argument prototype would still apply. */
36410 char $ac_func ();
36411 /* The GNU C library defines this for functions which it implements
36412 to always fail with ENOSYS. Some functions are actually named
36413 something starting with __ and the normal name is an alias. */
36414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36415 choke me
36416 #else
36417 char (*f) () = $ac_func;
36418 #endif
36419 #ifdef __cplusplus
36421 #endif
36424 main ()
36426 return f != $ac_func;
36428 return 0;
36430 _ACEOF
36431 rm -f conftest.$ac_objext conftest$ac_exeext
36432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36433 (eval $ac_link) 2>conftest.er1
36434 ac_status=$?
36435 grep -v '^ *+' conftest.er1 >conftest.err
36436 rm -f conftest.er1
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } &&
36440 { ac_try='test -z "$ac_c_werror_flag"
36441 || test ! -s conftest.err'
36442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36443 (eval $ac_try) 2>&5
36444 ac_status=$?
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); }; } &&
36447 { ac_try='test -s conftest$ac_exeext'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; }; then
36453 eval "$as_ac_var=yes"
36454 else
36455 echo "$as_me: failed program was:" >&5
36456 sed 's/^/| /' conftest.$ac_ext >&5
36458 eval "$as_ac_var=no"
36460 rm -f conftest.err conftest.$ac_objext \
36461 conftest$ac_exeext conftest.$ac_ext
36463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36465 if test `eval echo '${'$as_ac_var'}'` = yes; then
36466 cat >>confdefs.h <<_ACEOF
36467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36468 _ACEOF
36471 done
36478 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
36479 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
36480 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36481 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 else
36487 ac_ext=cc
36488 ac_cpp='$CXXCPP $CPPFLAGS'
36489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36493 cat >conftest.$ac_ext <<_ACEOF
36494 /* confdefs.h. */
36495 _ACEOF
36496 cat confdefs.h >>conftest.$ac_ext
36497 cat >>conftest.$ac_ext <<_ACEOF
36498 /* end confdefs.h. */
36499 #include <math.h>
36501 main ()
36503 hypotf(0, 0);
36505 return 0;
36507 _ACEOF
36508 rm -f conftest.$ac_objext
36509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36510 (eval $ac_compile) 2>conftest.er1
36511 ac_status=$?
36512 grep -v '^ *+' conftest.er1 >conftest.err
36513 rm -f conftest.er1
36514 cat conftest.err >&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); } &&
36517 { ac_try='test -z "$ac_cxx_werror_flag"
36518 || test ! -s conftest.err'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36521 ac_status=$?
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; } &&
36524 { ac_try='test -s conftest.$ac_objext'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36527 ac_status=$?
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; }; then
36530 glibcxx_cv_func_hypotf_use=yes
36531 else
36532 echo "$as_me: failed program was:" >&5
36533 sed 's/^/| /' conftest.$ac_ext >&5
36535 glibcxx_cv_func_hypotf_use=no
36537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36538 ac_ext=c
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
36549 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
36551 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36553 for ac_func in hypotf
36555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36556 echo "$as_me:$LINENO: checking for $ac_func" >&5
36557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36558 if eval "test \"\${$as_ac_var+set}\" = set"; then
36559 echo $ECHO_N "(cached) $ECHO_C" >&6
36560 else
36561 if test x$gcc_no_link = xyes; then
36562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36564 { (exit 1); exit 1; }; }
36566 cat >conftest.$ac_ext <<_ACEOF
36567 /* confdefs.h. */
36568 _ACEOF
36569 cat confdefs.h >>conftest.$ac_ext
36570 cat >>conftest.$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36574 #define $ac_func innocuous_$ac_func
36576 /* System header to define __stub macros and hopefully few prototypes,
36577 which can conflict with char $ac_func (); below.
36578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36579 <limits.h> exists even on freestanding compilers. */
36581 #ifdef __STDC__
36582 # include <limits.h>
36583 #else
36584 # include <assert.h>
36585 #endif
36587 #undef $ac_func
36589 /* Override any gcc2 internal prototype to avoid an error. */
36590 #ifdef __cplusplus
36591 extern "C"
36593 #endif
36594 /* We use char because int might match the return type of a gcc2
36595 builtin and then its argument prototype would still apply. */
36596 char $ac_func ();
36597 /* The GNU C library defines this for functions which it implements
36598 to always fail with ENOSYS. Some functions are actually named
36599 something starting with __ and the normal name is an alias. */
36600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36601 choke me
36602 #else
36603 char (*f) () = $ac_func;
36604 #endif
36605 #ifdef __cplusplus
36607 #endif
36610 main ()
36612 return f != $ac_func;
36614 return 0;
36616 _ACEOF
36617 rm -f conftest.$ac_objext conftest$ac_exeext
36618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36619 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36644 eval "$as_ac_var=no"
36646 rm -f conftest.err conftest.$ac_objext \
36647 conftest$ac_exeext conftest.$ac_ext
36649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36651 if test `eval echo '${'$as_ac_var'}'` = yes; then
36652 cat >>confdefs.h <<_ACEOF
36653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36654 _ACEOF
36657 done
36659 else
36661 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
36662 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
36663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36664 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 else
36670 ac_ext=cc
36671 ac_cpp='$CXXCPP $CPPFLAGS'
36672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36676 cat >conftest.$ac_ext <<_ACEOF
36677 /* confdefs.h. */
36678 _ACEOF
36679 cat confdefs.h >>conftest.$ac_ext
36680 cat >>conftest.$ac_ext <<_ACEOF
36681 /* end confdefs.h. */
36682 #include <math.h>
36684 main ()
36686 _hypotf(0, 0);
36688 return 0;
36690 _ACEOF
36691 rm -f conftest.$ac_objext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36693 (eval $ac_compile) 2>conftest.er1
36694 ac_status=$?
36695 grep -v '^ *+' conftest.er1 >conftest.err
36696 rm -f conftest.er1
36697 cat conftest.err >&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } &&
36700 { ac_try='test -z "$ac_cxx_werror_flag"
36701 || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36704 ac_status=$?
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try='test -s conftest.$ac_objext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 glibcxx_cv_func__hypotf_use=yes
36714 else
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.$ac_ext >&5
36718 glibcxx_cv_func__hypotf_use=no
36720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36721 ac_ext=c
36722 ac_cpp='$CPP $CPPFLAGS'
36723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
36732 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
36734 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36736 for ac_func in _hypotf
36738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36739 echo "$as_me:$LINENO: checking for $ac_func" >&5
36740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36741 if eval "test \"\${$as_ac_var+set}\" = set"; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 else
36744 if test x$gcc_no_link = xyes; then
36745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36747 { (exit 1); exit 1; }; }
36749 cat >conftest.$ac_ext <<_ACEOF
36750 /* confdefs.h. */
36751 _ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36757 #define $ac_func innocuous_$ac_func
36759 /* System header to define __stub macros and hopefully few prototypes,
36760 which can conflict with char $ac_func (); below.
36761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36762 <limits.h> exists even on freestanding compilers. */
36764 #ifdef __STDC__
36765 # include <limits.h>
36766 #else
36767 # include <assert.h>
36768 #endif
36770 #undef $ac_func
36772 /* Override any gcc2 internal prototype to avoid an error. */
36773 #ifdef __cplusplus
36774 extern "C"
36776 #endif
36777 /* We use char because int might match the return type of a gcc2
36778 builtin and then its argument prototype would still apply. */
36779 char $ac_func ();
36780 /* The GNU C library defines this for functions which it implements
36781 to always fail with ENOSYS. Some functions are actually named
36782 something starting with __ and the normal name is an alias. */
36783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36784 choke me
36785 #else
36786 char (*f) () = $ac_func;
36787 #endif
36788 #ifdef __cplusplus
36790 #endif
36793 main ()
36795 return f != $ac_func;
36797 return 0;
36799 _ACEOF
36800 rm -f conftest.$ac_objext conftest$ac_exeext
36801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36802 (eval $ac_link) 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } &&
36809 { ac_try='test -z "$ac_c_werror_flag"
36810 || test ! -s conftest.err'
36811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36812 (eval $ac_try) 2>&5
36813 ac_status=$?
36814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36815 (exit $ac_status); }; } &&
36816 { ac_try='test -s conftest$ac_exeext'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36819 ac_status=$?
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; }; then
36822 eval "$as_ac_var=yes"
36823 else
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36827 eval "$as_ac_var=no"
36829 rm -f conftest.err conftest.$ac_objext \
36830 conftest$ac_exeext conftest.$ac_ext
36832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36834 if test `eval echo '${'$as_ac_var'}'` = yes; then
36835 cat >>confdefs.h <<_ACEOF
36836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36837 _ACEOF
36840 done
36847 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
36848 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
36849 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36850 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 else
36856 ac_ext=cc
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
36870 main ()
36872 ldexpf(0, 0);
36874 return 0;
36876 _ACEOF
36877 rm -f conftest.$ac_objext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36879 (eval $ac_compile) 2>conftest.er1
36880 ac_status=$?
36881 grep -v '^ *+' conftest.er1 >conftest.err
36882 rm -f conftest.er1
36883 cat conftest.err >&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); } &&
36886 { ac_try='test -z "$ac_cxx_werror_flag"
36887 || test ! -s conftest.err'
36888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889 (eval $ac_try) 2>&5
36890 ac_status=$?
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); }; } &&
36893 { ac_try='test -s conftest.$ac_objext'
36894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895 (eval $ac_try) 2>&5
36896 ac_status=$?
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); }; }; then
36899 glibcxx_cv_func_ldexpf_use=yes
36900 else
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36904 glibcxx_cv_func_ldexpf_use=no
36906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36907 ac_ext=c
36908 ac_cpp='$CPP $CPPFLAGS'
36909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
36918 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
36920 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36922 for ac_func in ldexpf
36924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36925 echo "$as_me:$LINENO: checking for $ac_func" >&5
36926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36927 if eval "test \"\${$as_ac_var+set}\" = set"; then
36928 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 else
36930 if test x$gcc_no_link = xyes; then
36931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36933 { (exit 1); exit 1; }; }
36935 cat >conftest.$ac_ext <<_ACEOF
36936 /* confdefs.h. */
36937 _ACEOF
36938 cat confdefs.h >>conftest.$ac_ext
36939 cat >>conftest.$ac_ext <<_ACEOF
36940 /* end confdefs.h. */
36941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36943 #define $ac_func innocuous_$ac_func
36945 /* System header to define __stub macros and hopefully few prototypes,
36946 which can conflict with char $ac_func (); below.
36947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36948 <limits.h> exists even on freestanding compilers. */
36950 #ifdef __STDC__
36951 # include <limits.h>
36952 #else
36953 # include <assert.h>
36954 #endif
36956 #undef $ac_func
36958 /* Override any gcc2 internal prototype to avoid an error. */
36959 #ifdef __cplusplus
36960 extern "C"
36962 #endif
36963 /* We use char because int might match the return type of a gcc2
36964 builtin and then its argument prototype would still apply. */
36965 char $ac_func ();
36966 /* The GNU C library defines this for functions which it implements
36967 to always fail with ENOSYS. Some functions are actually named
36968 something starting with __ and the normal name is an alias. */
36969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36970 choke me
36971 #else
36972 char (*f) () = $ac_func;
36973 #endif
36974 #ifdef __cplusplus
36976 #endif
36979 main ()
36981 return f != $ac_func;
36983 return 0;
36985 _ACEOF
36986 rm -f conftest.$ac_objext conftest$ac_exeext
36987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36988 (eval $ac_link) 2>conftest.er1
36989 ac_status=$?
36990 grep -v '^ *+' conftest.er1 >conftest.err
36991 rm -f conftest.er1
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } &&
36995 { ac_try='test -z "$ac_c_werror_flag"
36996 || test ! -s conftest.err'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; } &&
37002 { ac_try='test -s conftest$ac_exeext'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; }; then
37008 eval "$as_ac_var=yes"
37009 else
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37013 eval "$as_ac_var=no"
37015 rm -f conftest.err conftest.$ac_objext \
37016 conftest$ac_exeext conftest.$ac_ext
37018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37020 if test `eval echo '${'$as_ac_var'}'` = yes; then
37021 cat >>confdefs.h <<_ACEOF
37022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37023 _ACEOF
37026 done
37028 else
37030 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37031 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37032 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37033 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37034 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 else
37039 ac_ext=cc
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37045 cat >conftest.$ac_ext <<_ACEOF
37046 /* confdefs.h. */
37047 _ACEOF
37048 cat confdefs.h >>conftest.$ac_ext
37049 cat >>conftest.$ac_ext <<_ACEOF
37050 /* end confdefs.h. */
37051 #include <math.h>
37053 main ()
37055 _ldexpf(0, 0);
37057 return 0;
37059 _ACEOF
37060 rm -f conftest.$ac_objext
37061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37062 (eval $ac_compile) 2>conftest.er1
37063 ac_status=$?
37064 grep -v '^ *+' conftest.er1 >conftest.err
37065 rm -f conftest.er1
37066 cat conftest.err >&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); } &&
37069 { ac_try='test -z "$ac_cxx_werror_flag"
37070 || test ! -s conftest.err'
37071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37072 (eval $ac_try) 2>&5
37073 ac_status=$?
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); }; } &&
37076 { ac_try='test -s conftest.$ac_objext'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; }; then
37082 glibcxx_cv_func__ldexpf_use=yes
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37087 glibcxx_cv_func__ldexpf_use=no
37089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_ext=c
37091 ac_cpp='$CPP $CPPFLAGS'
37092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
37101 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
37103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37105 for ac_func in _ldexpf
37107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37108 echo "$as_me:$LINENO: checking for $ac_func" >&5
37109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37110 if eval "test \"\${$as_ac_var+set}\" = set"; then
37111 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 else
37113 if test x$gcc_no_link = xyes; then
37114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37116 { (exit 1); exit 1; }; }
37118 cat >conftest.$ac_ext <<_ACEOF
37119 /* confdefs.h. */
37120 _ACEOF
37121 cat confdefs.h >>conftest.$ac_ext
37122 cat >>conftest.$ac_ext <<_ACEOF
37123 /* end confdefs.h. */
37124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37126 #define $ac_func innocuous_$ac_func
37128 /* System header to define __stub macros and hopefully few prototypes,
37129 which can conflict with char $ac_func (); below.
37130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37131 <limits.h> exists even on freestanding compilers. */
37133 #ifdef __STDC__
37134 # include <limits.h>
37135 #else
37136 # include <assert.h>
37137 #endif
37139 #undef $ac_func
37141 /* Override any gcc2 internal prototype to avoid an error. */
37142 #ifdef __cplusplus
37143 extern "C"
37145 #endif
37146 /* We use char because int might match the return type of a gcc2
37147 builtin and then its argument prototype would still apply. */
37148 char $ac_func ();
37149 /* The GNU C library defines this for functions which it implements
37150 to always fail with ENOSYS. Some functions are actually named
37151 something starting with __ and the normal name is an alias. */
37152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37153 choke me
37154 #else
37155 char (*f) () = $ac_func;
37156 #endif
37157 #ifdef __cplusplus
37159 #endif
37162 main ()
37164 return f != $ac_func;
37166 return 0;
37168 _ACEOF
37169 rm -f conftest.$ac_objext conftest$ac_exeext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37171 (eval $ac_link) 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try='test -z "$ac_c_werror_flag"
37179 || test ! -s conftest.err'
37180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37181 (eval $ac_try) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); }; } &&
37185 { ac_try='test -s conftest$ac_exeext'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; }; then
37191 eval "$as_ac_var=yes"
37192 else
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37196 eval "$as_ac_var=no"
37198 rm -f conftest.err conftest.$ac_objext \
37199 conftest$ac_exeext conftest.$ac_ext
37201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37203 if test `eval echo '${'$as_ac_var'}'` = yes; then
37204 cat >>confdefs.h <<_ACEOF
37205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37209 done
37216 echo "$as_me:$LINENO: checking for logf declaration" >&5
37217 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
37218 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37219 if test "${glibcxx_cv_func_logf_use+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37225 ac_ext=cc
37226 ac_cpp='$CXXCPP $CPPFLAGS'
37227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37231 cat >conftest.$ac_ext <<_ACEOF
37232 /* confdefs.h. */
37233 _ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37237 #include <math.h>
37238 #ifdef HAVE_IEEEFP_H
37239 #include <ieeefp.h>
37240 #endif
37243 main ()
37245 logf(0);
37247 return 0;
37249 _ACEOF
37250 rm -f conftest.$ac_objext
37251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37252 (eval $ac_compile) 2>conftest.er1
37253 ac_status=$?
37254 grep -v '^ *+' conftest.er1 >conftest.err
37255 rm -f conftest.er1
37256 cat conftest.err >&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } &&
37259 { ac_try='test -z "$ac_cxx_werror_flag"
37260 || test ! -s conftest.err'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37263 ac_status=$?
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; } &&
37266 { ac_try='test -s conftest.$ac_objext'
37267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37268 (eval $ac_try) 2>&5
37269 ac_status=$?
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); }; }; then
37272 glibcxx_cv_func_logf_use=yes
37273 else
37274 echo "$as_me: failed program was:" >&5
37275 sed 's/^/| /' conftest.$ac_ext >&5
37277 glibcxx_cv_func_logf_use=no
37279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37280 ac_ext=c
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
37291 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
37293 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37295 for ac_func in logf
37297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37298 echo "$as_me:$LINENO: checking for $ac_func" >&5
37299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37300 if eval "test \"\${$as_ac_var+set}\" = set"; then
37301 echo $ECHO_N "(cached) $ECHO_C" >&6
37302 else
37303 if test x$gcc_no_link = xyes; then
37304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37306 { (exit 1); exit 1; }; }
37308 cat >conftest.$ac_ext <<_ACEOF
37309 /* confdefs.h. */
37310 _ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37316 #define $ac_func innocuous_$ac_func
37318 /* System header to define __stub macros and hopefully few prototypes,
37319 which can conflict with char $ac_func (); below.
37320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37321 <limits.h> exists even on freestanding compilers. */
37323 #ifdef __STDC__
37324 # include <limits.h>
37325 #else
37326 # include <assert.h>
37327 #endif
37329 #undef $ac_func
37331 /* Override any gcc2 internal prototype to avoid an error. */
37332 #ifdef __cplusplus
37333 extern "C"
37335 #endif
37336 /* We use char because int might match the return type of a gcc2
37337 builtin and then its argument prototype would still apply. */
37338 char $ac_func ();
37339 /* The GNU C library defines this for functions which it implements
37340 to always fail with ENOSYS. Some functions are actually named
37341 something starting with __ and the normal name is an alias. */
37342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37343 choke me
37344 #else
37345 char (*f) () = $ac_func;
37346 #endif
37347 #ifdef __cplusplus
37349 #endif
37352 main ()
37354 return f != $ac_func;
37356 return 0;
37358 _ACEOF
37359 rm -f conftest.$ac_objext conftest$ac_exeext
37360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37361 (eval $ac_link) 2>conftest.er1
37362 ac_status=$?
37363 grep -v '^ *+' conftest.er1 >conftest.err
37364 rm -f conftest.er1
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } &&
37368 { ac_try='test -z "$ac_c_werror_flag"
37369 || test ! -s conftest.err'
37370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37371 (eval $ac_try) 2>&5
37372 ac_status=$?
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); }; } &&
37375 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37381 eval "$as_ac_var=yes"
37382 else
37383 echo "$as_me: failed program was:" >&5
37384 sed 's/^/| /' conftest.$ac_ext >&5
37386 eval "$as_ac_var=no"
37388 rm -f conftest.err conftest.$ac_objext \
37389 conftest$ac_exeext conftest.$ac_ext
37391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37393 if test `eval echo '${'$as_ac_var'}'` = yes; then
37394 cat >>confdefs.h <<_ACEOF
37395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37396 _ACEOF
37399 done
37401 else
37403 echo "$as_me:$LINENO: checking for _logf declaration" >&5
37404 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
37405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37406 if test "${glibcxx_cv_func__logf_use+set}" = set; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 else
37412 ac_ext=cc
37413 ac_cpp='$CXXCPP $CPPFLAGS'
37414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37418 cat >conftest.$ac_ext <<_ACEOF
37419 /* confdefs.h. */
37420 _ACEOF
37421 cat confdefs.h >>conftest.$ac_ext
37422 cat >>conftest.$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 #include <math.h>
37425 #ifdef HAVE_IEEEFP_H
37426 #include <ieeefp.h>
37427 #endif
37430 main ()
37432 _logf(0);
37434 return 0;
37436 _ACEOF
37437 rm -f conftest.$ac_objext
37438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37439 (eval $ac_compile) 2>conftest.er1
37440 ac_status=$?
37441 grep -v '^ *+' conftest.er1 >conftest.err
37442 rm -f conftest.er1
37443 cat conftest.err >&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); } &&
37446 { ac_try='test -z "$ac_cxx_werror_flag"
37447 || test ! -s conftest.err'
37448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 (eval $ac_try) 2>&5
37450 ac_status=$?
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); }; } &&
37453 { ac_try='test -s conftest.$ac_objext'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37456 ac_status=$?
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; }; then
37459 glibcxx_cv_func__logf_use=yes
37460 else
37461 echo "$as_me: failed program was:" >&5
37462 sed 's/^/| /' conftest.$ac_ext >&5
37464 glibcxx_cv_func__logf_use=no
37466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37467 ac_ext=c
37468 ac_cpp='$CPP $CPPFLAGS'
37469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
37478 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
37480 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37482 for ac_func in _logf
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37487 if eval "test \"\${$as_ac_var+set}\" = set"; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 else
37490 if test x$gcc_no_link = xyes; then
37491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37493 { (exit 1); exit 1; }; }
37495 cat >conftest.$ac_ext <<_ACEOF
37496 /* confdefs.h. */
37497 _ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37503 #define $ac_func innocuous_$ac_func
37505 /* System header to define __stub macros and hopefully few prototypes,
37506 which can conflict with char $ac_func (); below.
37507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37508 <limits.h> exists even on freestanding compilers. */
37510 #ifdef __STDC__
37511 # include <limits.h>
37512 #else
37513 # include <assert.h>
37514 #endif
37516 #undef $ac_func
37518 /* Override any gcc2 internal prototype to avoid an error. */
37519 #ifdef __cplusplus
37520 extern "C"
37522 #endif
37523 /* We use char because int might match the return type of a gcc2
37524 builtin and then its argument prototype would still apply. */
37525 char $ac_func ();
37526 /* The GNU C library defines this for functions which it implements
37527 to always fail with ENOSYS. Some functions are actually named
37528 something starting with __ and the normal name is an alias. */
37529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37530 choke me
37531 #else
37532 char (*f) () = $ac_func;
37533 #endif
37534 #ifdef __cplusplus
37536 #endif
37539 main ()
37541 return f != $ac_func;
37543 return 0;
37545 _ACEOF
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37548 (eval $ac_link) 2>conftest.er1
37549 ac_status=$?
37550 grep -v '^ *+' conftest.er1 >conftest.err
37551 rm -f conftest.er1
37552 cat conftest.err >&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); } &&
37555 { ac_try='test -z "$ac_c_werror_flag"
37556 || test ! -s conftest.err'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; } &&
37562 { ac_try='test -s conftest$ac_exeext'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; }; then
37568 eval "$as_ac_var=yes"
37569 else
37570 echo "$as_me: failed program was:" >&5
37571 sed 's/^/| /' conftest.$ac_ext >&5
37573 eval "$as_ac_var=no"
37575 rm -f conftest.err conftest.$ac_objext \
37576 conftest$ac_exeext conftest.$ac_ext
37578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37580 if test `eval echo '${'$as_ac_var'}'` = yes; then
37581 cat >>confdefs.h <<_ACEOF
37582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37583 _ACEOF
37586 done
37593 echo "$as_me:$LINENO: checking for log10f declaration" >&5
37594 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
37595 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37596 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 else
37602 ac_ext=cc
37603 ac_cpp='$CXXCPP $CPPFLAGS'
37604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37608 cat >conftest.$ac_ext <<_ACEOF
37609 /* confdefs.h. */
37610 _ACEOF
37611 cat confdefs.h >>conftest.$ac_ext
37612 cat >>conftest.$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 #include <math.h>
37615 #ifdef HAVE_IEEEFP_H
37616 #include <ieeefp.h>
37617 #endif
37620 main ()
37622 log10f(0);
37624 return 0;
37626 _ACEOF
37627 rm -f conftest.$ac_objext
37628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37629 (eval $ac_compile) 2>conftest.er1
37630 ac_status=$?
37631 grep -v '^ *+' conftest.er1 >conftest.err
37632 rm -f conftest.er1
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } &&
37636 { ac_try='test -z "$ac_cxx_werror_flag"
37637 || test ! -s conftest.err'
37638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37639 (eval $ac_try) 2>&5
37640 ac_status=$?
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); }; } &&
37643 { ac_try='test -s conftest.$ac_objext'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37646 ac_status=$?
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; }; then
37649 glibcxx_cv_func_log10f_use=yes
37650 else
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.$ac_ext >&5
37654 glibcxx_cv_func_log10f_use=no
37656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37657 ac_ext=c
37658 ac_cpp='$CPP $CPPFLAGS'
37659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
37668 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
37670 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37672 for ac_func in log10f
37674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37675 echo "$as_me:$LINENO: checking for $ac_func" >&5
37676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37677 if eval "test \"\${$as_ac_var+set}\" = set"; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37679 else
37680 if test x$gcc_no_link = xyes; then
37681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37683 { (exit 1); exit 1; }; }
37685 cat >conftest.$ac_ext <<_ACEOF
37686 /* confdefs.h. */
37687 _ACEOF
37688 cat confdefs.h >>conftest.$ac_ext
37689 cat >>conftest.$ac_ext <<_ACEOF
37690 /* end confdefs.h. */
37691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37693 #define $ac_func innocuous_$ac_func
37695 /* System header to define __stub macros and hopefully few prototypes,
37696 which can conflict with char $ac_func (); below.
37697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37698 <limits.h> exists even on freestanding compilers. */
37700 #ifdef __STDC__
37701 # include <limits.h>
37702 #else
37703 # include <assert.h>
37704 #endif
37706 #undef $ac_func
37708 /* Override any gcc2 internal prototype to avoid an error. */
37709 #ifdef __cplusplus
37710 extern "C"
37712 #endif
37713 /* We use char because int might match the return type of a gcc2
37714 builtin and then its argument prototype would still apply. */
37715 char $ac_func ();
37716 /* The GNU C library defines this for functions which it implements
37717 to always fail with ENOSYS. Some functions are actually named
37718 something starting with __ and the normal name is an alias. */
37719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37720 choke me
37721 #else
37722 char (*f) () = $ac_func;
37723 #endif
37724 #ifdef __cplusplus
37726 #endif
37729 main ()
37731 return f != $ac_func;
37733 return 0;
37735 _ACEOF
37736 rm -f conftest.$ac_objext conftest$ac_exeext
37737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37738 (eval $ac_link) 2>conftest.er1
37739 ac_status=$?
37740 grep -v '^ *+' conftest.er1 >conftest.err
37741 rm -f conftest.er1
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } &&
37745 { ac_try='test -z "$ac_c_werror_flag"
37746 || test ! -s conftest.err'
37747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37748 (eval $ac_try) 2>&5
37749 ac_status=$?
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); }; } &&
37752 { ac_try='test -s conftest$ac_exeext'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; }; then
37758 eval "$as_ac_var=yes"
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37763 eval "$as_ac_var=no"
37765 rm -f conftest.err conftest.$ac_objext \
37766 conftest$ac_exeext conftest.$ac_ext
37768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37770 if test `eval echo '${'$as_ac_var'}'` = yes; then
37771 cat >>confdefs.h <<_ACEOF
37772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37773 _ACEOF
37776 done
37778 else
37780 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
37781 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
37782 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37783 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
37784 echo $ECHO_N "(cached) $ECHO_C" >&6
37785 else
37789 ac_ext=cc
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
37802 #ifdef HAVE_IEEEFP_H
37803 #include <ieeefp.h>
37804 #endif
37807 main ()
37809 _log10f(0);
37811 return 0;
37813 _ACEOF
37814 rm -f conftest.$ac_objext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37816 (eval $ac_compile) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_cxx_werror_flag"
37824 || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 glibcxx_cv_func__log10f_use=yes
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37841 glibcxx_cv_func__log10f_use=no
37843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
37855 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
37857 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37859 for ac_func in _log10f
37861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37862 echo "$as_me:$LINENO: checking for $ac_func" >&5
37863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37864 if eval "test \"\${$as_ac_var+set}\" = set"; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 else
37867 if test x$gcc_no_link = xyes; then
37868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37870 { (exit 1); exit 1; }; }
37872 cat >conftest.$ac_ext <<_ACEOF
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37880 #define $ac_func innocuous_$ac_func
37882 /* System header to define __stub macros and hopefully few prototypes,
37883 which can conflict with char $ac_func (); below.
37884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37885 <limits.h> exists even on freestanding compilers. */
37887 #ifdef __STDC__
37888 # include <limits.h>
37889 #else
37890 # include <assert.h>
37891 #endif
37893 #undef $ac_func
37895 /* Override any gcc2 internal prototype to avoid an error. */
37896 #ifdef __cplusplus
37897 extern "C"
37899 #endif
37900 /* We use char because int might match the return type of a gcc2
37901 builtin and then its argument prototype would still apply. */
37902 char $ac_func ();
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37907 choke me
37908 #else
37909 char (*f) () = $ac_func;
37910 #endif
37911 #ifdef __cplusplus
37913 #endif
37916 main ()
37918 return f != $ac_func;
37920 return 0;
37922 _ACEOF
37923 rm -f conftest.$ac_objext conftest$ac_exeext
37924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37925 (eval $ac_link) 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } &&
37932 { ac_try='test -z "$ac_c_werror_flag"
37933 || test ! -s conftest.err'
37934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37935 (eval $ac_try) 2>&5
37936 ac_status=$?
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); }; } &&
37939 { ac_try='test -s conftest$ac_exeext'
37940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37941 (eval $ac_try) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); }; }; then
37945 eval "$as_ac_var=yes"
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37950 eval "$as_ac_var=no"
37952 rm -f conftest.err conftest.$ac_objext \
37953 conftest$ac_exeext conftest.$ac_ext
37955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37957 if test `eval echo '${'$as_ac_var'}'` = yes; then
37958 cat >>confdefs.h <<_ACEOF
37959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37960 _ACEOF
37963 done
37970 echo "$as_me:$LINENO: checking for modff declaration" >&5
37971 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
37972 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37973 if test "${glibcxx_cv_func_modff_use+set}" = set; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37979 ac_ext=cc
37980 ac_cpp='$CXXCPP $CPPFLAGS'
37981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37985 cat >conftest.$ac_ext <<_ACEOF
37986 /* confdefs.h. */
37987 _ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37991 #include <math.h>
37993 main ()
37995 modff(0, 0);
37997 return 0;
37999 _ACEOF
38000 rm -f conftest.$ac_objext
38001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38002 (eval $ac_compile) 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } &&
38009 { ac_try='test -z "$ac_cxx_werror_flag"
38010 || test ! -s conftest.err'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38013 ac_status=$?
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; } &&
38016 { ac_try='test -s conftest.$ac_objext'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; }; then
38022 glibcxx_cv_func_modff_use=yes
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38027 glibcxx_cv_func_modff_use=no
38029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38030 ac_ext=c
38031 ac_cpp='$CPP $CPPFLAGS'
38032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38041 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38043 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38045 for ac_func in modff
38047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38048 echo "$as_me:$LINENO: checking for $ac_func" >&5
38049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38050 if eval "test \"\${$as_ac_var+set}\" = set"; then
38051 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 else
38053 if test x$gcc_no_link = xyes; then
38054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38056 { (exit 1); exit 1; }; }
38058 cat >conftest.$ac_ext <<_ACEOF
38059 /* confdefs.h. */
38060 _ACEOF
38061 cat confdefs.h >>conftest.$ac_ext
38062 cat >>conftest.$ac_ext <<_ACEOF
38063 /* end confdefs.h. */
38064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38066 #define $ac_func innocuous_$ac_func
38068 /* System header to define __stub macros and hopefully few prototypes,
38069 which can conflict with char $ac_func (); below.
38070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38071 <limits.h> exists even on freestanding compilers. */
38073 #ifdef __STDC__
38074 # include <limits.h>
38075 #else
38076 # include <assert.h>
38077 #endif
38079 #undef $ac_func
38081 /* Override any gcc2 internal prototype to avoid an error. */
38082 #ifdef __cplusplus
38083 extern "C"
38085 #endif
38086 /* We use char because int might match the return type of a gcc2
38087 builtin and then its argument prototype would still apply. */
38088 char $ac_func ();
38089 /* The GNU C library defines this for functions which it implements
38090 to always fail with ENOSYS. Some functions are actually named
38091 something starting with __ and the normal name is an alias. */
38092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38093 choke me
38094 #else
38095 char (*f) () = $ac_func;
38096 #endif
38097 #ifdef __cplusplus
38099 #endif
38102 main ()
38104 return f != $ac_func;
38106 return 0;
38108 _ACEOF
38109 rm -f conftest.$ac_objext conftest$ac_exeext
38110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38111 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
38132 else
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38136 eval "$as_ac_var=no"
38138 rm -f conftest.err conftest.$ac_objext \
38139 conftest$ac_exeext conftest.$ac_ext
38141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38143 if test `eval echo '${'$as_ac_var'}'` = yes; then
38144 cat >>confdefs.h <<_ACEOF
38145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38146 _ACEOF
38149 done
38151 else
38153 echo "$as_me:$LINENO: checking for _modff declaration" >&5
38154 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
38155 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38156 if test "${glibcxx_cv_func__modff_use+set}" = set; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 else
38162 ac_ext=cc
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38168 cat >conftest.$ac_ext <<_ACEOF
38169 /* confdefs.h. */
38170 _ACEOF
38171 cat confdefs.h >>conftest.$ac_ext
38172 cat >>conftest.$ac_ext <<_ACEOF
38173 /* end confdefs.h. */
38174 #include <math.h>
38176 main ()
38178 _modff(0, 0);
38180 return 0;
38182 _ACEOF
38183 rm -f conftest.$ac_objext
38184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38185 (eval $ac_compile) 2>conftest.er1
38186 ac_status=$?
38187 grep -v '^ *+' conftest.er1 >conftest.err
38188 rm -f conftest.er1
38189 cat conftest.err >&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } &&
38192 { ac_try='test -z "$ac_cxx_werror_flag"
38193 || test ! -s conftest.err'
38194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38195 (eval $ac_try) 2>&5
38196 ac_status=$?
38197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38198 (exit $ac_status); }; } &&
38199 { ac_try='test -s conftest.$ac_objext'
38200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38201 (eval $ac_try) 2>&5
38202 ac_status=$?
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); }; }; then
38205 glibcxx_cv_func__modff_use=yes
38206 else
38207 echo "$as_me: failed program was:" >&5
38208 sed 's/^/| /' conftest.$ac_ext >&5
38210 glibcxx_cv_func__modff_use=no
38212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38213 ac_ext=c
38214 ac_cpp='$CPP $CPPFLAGS'
38215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
38224 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
38226 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38228 for ac_func in _modff
38230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38231 echo "$as_me:$LINENO: checking for $ac_func" >&5
38232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38233 if eval "test \"\${$as_ac_var+set}\" = set"; then
38234 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 else
38236 if test x$gcc_no_link = xyes; then
38237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38239 { (exit 1); exit 1; }; }
38241 cat >conftest.$ac_ext <<_ACEOF
38242 /* confdefs.h. */
38243 _ACEOF
38244 cat confdefs.h >>conftest.$ac_ext
38245 cat >>conftest.$ac_ext <<_ACEOF
38246 /* end confdefs.h. */
38247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38249 #define $ac_func innocuous_$ac_func
38251 /* System header to define __stub macros and hopefully few prototypes,
38252 which can conflict with char $ac_func (); below.
38253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38254 <limits.h> exists even on freestanding compilers. */
38256 #ifdef __STDC__
38257 # include <limits.h>
38258 #else
38259 # include <assert.h>
38260 #endif
38262 #undef $ac_func
38264 /* Override any gcc2 internal prototype to avoid an error. */
38265 #ifdef __cplusplus
38266 extern "C"
38268 #endif
38269 /* We use char because int might match the return type of a gcc2
38270 builtin and then its argument prototype would still apply. */
38271 char $ac_func ();
38272 /* The GNU C library defines this for functions which it implements
38273 to always fail with ENOSYS. Some functions are actually named
38274 something starting with __ and the normal name is an alias. */
38275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38276 choke me
38277 #else
38278 char (*f) () = $ac_func;
38279 #endif
38280 #ifdef __cplusplus
38282 #endif
38285 main ()
38287 return f != $ac_func;
38289 return 0;
38291 _ACEOF
38292 rm -f conftest.$ac_objext conftest$ac_exeext
38293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38294 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
38315 else
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.$ac_ext >&5
38319 eval "$as_ac_var=no"
38321 rm -f conftest.err conftest.$ac_objext \
38322 conftest$ac_exeext conftest.$ac_ext
38324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38326 if test `eval echo '${'$as_ac_var'}'` = yes; then
38327 cat >>confdefs.h <<_ACEOF
38328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38329 _ACEOF
38332 done
38339 echo "$as_me:$LINENO: checking for powf declaration" >&5
38340 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
38341 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38342 if test "${glibcxx_cv_func_powf_use+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 else
38348 ac_ext=cc
38349 ac_cpp='$CXXCPP $CPPFLAGS'
38350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38354 cat >conftest.$ac_ext <<_ACEOF
38355 /* confdefs.h. */
38356 _ACEOF
38357 cat confdefs.h >>conftest.$ac_ext
38358 cat >>conftest.$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 #include <math.h>
38362 main ()
38364 powf(0, 0);
38366 return 0;
38368 _ACEOF
38369 rm -f conftest.$ac_objext
38370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38371 (eval $ac_compile) 2>conftest.er1
38372 ac_status=$?
38373 grep -v '^ *+' conftest.er1 >conftest.err
38374 rm -f conftest.er1
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try='test -z "$ac_cxx_werror_flag"
38379 || test ! -s conftest.err'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38382 ac_status=$?
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; } &&
38385 { ac_try='test -s conftest.$ac_objext'
38386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38387 (eval $ac_try) 2>&5
38388 ac_status=$?
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); }; }; then
38391 glibcxx_cv_func_powf_use=yes
38392 else
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38396 glibcxx_cv_func_powf_use=no
38398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
38410 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
38412 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38414 for ac_func in powf
38416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38417 echo "$as_me:$LINENO: checking for $ac_func" >&5
38418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38419 if eval "test \"\${$as_ac_var+set}\" = set"; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 else
38422 if test x$gcc_no_link = xyes; then
38423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38425 { (exit 1); exit 1; }; }
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38435 #define $ac_func innocuous_$ac_func
38437 /* System header to define __stub macros and hopefully few prototypes,
38438 which can conflict with char $ac_func (); below.
38439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38440 <limits.h> exists even on freestanding compilers. */
38442 #ifdef __STDC__
38443 # include <limits.h>
38444 #else
38445 # include <assert.h>
38446 #endif
38448 #undef $ac_func
38450 /* Override any gcc2 internal prototype to avoid an error. */
38451 #ifdef __cplusplus
38452 extern "C"
38454 #endif
38455 /* We use char because int might match the return type of a gcc2
38456 builtin and then its argument prototype would still apply. */
38457 char $ac_func ();
38458 /* The GNU C library defines this for functions which it implements
38459 to always fail with ENOSYS. Some functions are actually named
38460 something starting with __ and the normal name is an alias. */
38461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38462 choke me
38463 #else
38464 char (*f) () = $ac_func;
38465 #endif
38466 #ifdef __cplusplus
38468 #endif
38471 main ()
38473 return f != $ac_func;
38475 return 0;
38477 _ACEOF
38478 rm -f conftest.$ac_objext conftest$ac_exeext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38480 (eval $ac_link) 2>conftest.er1
38481 ac_status=$?
38482 grep -v '^ *+' conftest.er1 >conftest.err
38483 rm -f conftest.er1
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } &&
38487 { ac_try='test -z "$ac_c_werror_flag"
38488 || test ! -s conftest.err'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; } &&
38494 { ac_try='test -s conftest$ac_exeext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38497 ac_status=$?
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 eval "$as_ac_var=yes"
38501 else
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38505 eval "$as_ac_var=no"
38507 rm -f conftest.err conftest.$ac_objext \
38508 conftest$ac_exeext conftest.$ac_ext
38510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38512 if test `eval echo '${'$as_ac_var'}'` = yes; then
38513 cat >>confdefs.h <<_ACEOF
38514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38515 _ACEOF
38518 done
38520 else
38522 echo "$as_me:$LINENO: checking for _powf declaration" >&5
38523 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
38524 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38525 if test "${glibcxx_cv_func__powf_use+set}" = set; then
38526 echo $ECHO_N "(cached) $ECHO_C" >&6
38527 else
38531 ac_ext=cc
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537 cat >conftest.$ac_ext <<_ACEOF
38538 /* confdefs.h. */
38539 _ACEOF
38540 cat confdefs.h >>conftest.$ac_ext
38541 cat >>conftest.$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 #include <math.h>
38545 main ()
38547 _powf(0, 0);
38549 return 0;
38551 _ACEOF
38552 rm -f conftest.$ac_objext
38553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38554 (eval $ac_compile) 2>conftest.er1
38555 ac_status=$?
38556 grep -v '^ *+' conftest.er1 >conftest.err
38557 rm -f conftest.er1
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } &&
38561 { ac_try='test -z "$ac_cxx_werror_flag"
38562 || test ! -s conftest.err'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38565 ac_status=$?
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; } &&
38568 { ac_try='test -s conftest.$ac_objext'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38571 ac_status=$?
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; }; then
38574 glibcxx_cv_func__powf_use=yes
38575 else
38576 echo "$as_me: failed program was:" >&5
38577 sed 's/^/| /' conftest.$ac_ext >&5
38579 glibcxx_cv_func__powf_use=no
38581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
38593 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
38595 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38597 for ac_func in _powf
38599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38600 echo "$as_me:$LINENO: checking for $ac_func" >&5
38601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38602 if eval "test \"\${$as_ac_var+set}\" = set"; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 else
38605 if test x$gcc_no_link = xyes; then
38606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38608 { (exit 1); exit 1; }; }
38610 cat >conftest.$ac_ext <<_ACEOF
38611 /* confdefs.h. */
38612 _ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38618 #define $ac_func innocuous_$ac_func
38620 /* System header to define __stub macros and hopefully few prototypes,
38621 which can conflict with char $ac_func (); below.
38622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38623 <limits.h> exists even on freestanding compilers. */
38625 #ifdef __STDC__
38626 # include <limits.h>
38627 #else
38628 # include <assert.h>
38629 #endif
38631 #undef $ac_func
38633 /* Override any gcc2 internal prototype to avoid an error. */
38634 #ifdef __cplusplus
38635 extern "C"
38637 #endif
38638 /* We use char because int might match the return type of a gcc2
38639 builtin and then its argument prototype would still apply. */
38640 char $ac_func ();
38641 /* The GNU C library defines this for functions which it implements
38642 to always fail with ENOSYS. Some functions are actually named
38643 something starting with __ and the normal name is an alias. */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38645 choke me
38646 #else
38647 char (*f) () = $ac_func;
38648 #endif
38649 #ifdef __cplusplus
38651 #endif
38654 main ()
38656 return f != $ac_func;
38658 return 0;
38660 _ACEOF
38661 rm -f conftest.$ac_objext conftest$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663 (eval $ac_link) 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } &&
38670 { ac_try='test -z "$ac_c_werror_flag"
38671 || test ! -s conftest.err'
38672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38673 (eval $ac_try) 2>&5
38674 ac_status=$?
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); }; } &&
38677 { ac_try='test -s conftest$ac_exeext'
38678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38679 (eval $ac_try) 2>&5
38680 ac_status=$?
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); }; }; then
38683 eval "$as_ac_var=yes"
38684 else
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38688 eval "$as_ac_var=no"
38690 rm -f conftest.err conftest.$ac_objext \
38691 conftest$ac_exeext conftest.$ac_ext
38693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38695 if test `eval echo '${'$as_ac_var'}'` = yes; then
38696 cat >>confdefs.h <<_ACEOF
38697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38698 _ACEOF
38701 done
38708 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
38709 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
38710 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38711 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38717 ac_ext=cc
38718 ac_cpp='$CXXCPP $CPPFLAGS'
38719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <math.h>
38730 #ifdef HAVE_IEEEFP_H
38731 #include <ieeefp.h>
38732 #endif
38735 main ()
38737 sqrtf(0);
38739 return 0;
38741 _ACEOF
38742 rm -f conftest.$ac_objext
38743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38744 (eval $ac_compile) 2>conftest.er1
38745 ac_status=$?
38746 grep -v '^ *+' conftest.er1 >conftest.err
38747 rm -f conftest.er1
38748 cat conftest.err >&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); } &&
38751 { ac_try='test -z "$ac_cxx_werror_flag"
38752 || test ! -s conftest.err'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38755 ac_status=$?
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; } &&
38758 { ac_try='test -s conftest.$ac_objext'
38759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38760 (eval $ac_try) 2>&5
38761 ac_status=$?
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); }; }; then
38764 glibcxx_cv_func_sqrtf_use=yes
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38769 glibcxx_cv_func_sqrtf_use=no
38771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38772 ac_ext=c
38773 ac_cpp='$CPP $CPPFLAGS'
38774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
38783 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
38785 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38787 for ac_func in sqrtf
38789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38790 echo "$as_me:$LINENO: checking for $ac_func" >&5
38791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38792 if eval "test \"\${$as_ac_var+set}\" = set"; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795 if test x$gcc_no_link = xyes; then
38796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38798 { (exit 1); exit 1; }; }
38800 cat >conftest.$ac_ext <<_ACEOF
38801 /* confdefs.h. */
38802 _ACEOF
38803 cat confdefs.h >>conftest.$ac_ext
38804 cat >>conftest.$ac_ext <<_ACEOF
38805 /* end confdefs.h. */
38806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38808 #define $ac_func innocuous_$ac_func
38810 /* System header to define __stub macros and hopefully few prototypes,
38811 which can conflict with char $ac_func (); below.
38812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38813 <limits.h> exists even on freestanding compilers. */
38815 #ifdef __STDC__
38816 # include <limits.h>
38817 #else
38818 # include <assert.h>
38819 #endif
38821 #undef $ac_func
38823 /* Override any gcc2 internal prototype to avoid an error. */
38824 #ifdef __cplusplus
38825 extern "C"
38827 #endif
38828 /* We use char because int might match the return type of a gcc2
38829 builtin and then its argument prototype would still apply. */
38830 char $ac_func ();
38831 /* The GNU C library defines this for functions which it implements
38832 to always fail with ENOSYS. Some functions are actually named
38833 something starting with __ and the normal name is an alias. */
38834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38835 choke me
38836 #else
38837 char (*f) () = $ac_func;
38838 #endif
38839 #ifdef __cplusplus
38841 #endif
38844 main ()
38846 return f != $ac_func;
38848 return 0;
38850 _ACEOF
38851 rm -f conftest.$ac_objext conftest$ac_exeext
38852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38853 (eval $ac_link) 2>conftest.er1
38854 ac_status=$?
38855 grep -v '^ *+' conftest.er1 >conftest.err
38856 rm -f conftest.er1
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } &&
38860 { ac_try='test -z "$ac_c_werror_flag"
38861 || test ! -s conftest.err'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38864 ac_status=$?
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; } &&
38867 { ac_try='test -s conftest$ac_exeext'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; }; then
38873 eval "$as_ac_var=yes"
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38878 eval "$as_ac_var=no"
38880 rm -f conftest.err conftest.$ac_objext \
38881 conftest$ac_exeext conftest.$ac_ext
38883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38885 if test `eval echo '${'$as_ac_var'}'` = yes; then
38886 cat >>confdefs.h <<_ACEOF
38887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38888 _ACEOF
38891 done
38893 else
38895 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
38896 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
38897 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38898 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 else
38904 ac_ext=cc
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat >conftest.$ac_ext <<_ACEOF
38911 /* confdefs.h. */
38912 _ACEOF
38913 cat confdefs.h >>conftest.$ac_ext
38914 cat >>conftest.$ac_ext <<_ACEOF
38915 /* end confdefs.h. */
38916 #include <math.h>
38917 #ifdef HAVE_IEEEFP_H
38918 #include <ieeefp.h>
38919 #endif
38922 main ()
38924 _sqrtf(0);
38926 return 0;
38928 _ACEOF
38929 rm -f conftest.$ac_objext
38930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38931 (eval $ac_compile) 2>conftest.er1
38932 ac_status=$?
38933 grep -v '^ *+' conftest.er1 >conftest.err
38934 rm -f conftest.er1
38935 cat conftest.err >&5
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); } &&
38938 { ac_try='test -z "$ac_cxx_werror_flag"
38939 || test ! -s conftest.err'
38940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38941 (eval $ac_try) 2>&5
38942 ac_status=$?
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); }; } &&
38945 { ac_try='test -s conftest.$ac_objext'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38948 ac_status=$?
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; }; then
38951 glibcxx_cv_func__sqrtf_use=yes
38952 else
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.$ac_ext >&5
38956 glibcxx_cv_func__sqrtf_use=no
38958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38959 ac_ext=c
38960 ac_cpp='$CPP $CPPFLAGS'
38961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
38970 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
38972 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38974 for ac_func in _sqrtf
38976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38977 echo "$as_me:$LINENO: checking for $ac_func" >&5
38978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38979 if eval "test \"\${$as_ac_var+set}\" = set"; then
38980 echo $ECHO_N "(cached) $ECHO_C" >&6
38981 else
38982 if test x$gcc_no_link = xyes; then
38983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38985 { (exit 1); exit 1; }; }
38987 cat >conftest.$ac_ext <<_ACEOF
38988 /* confdefs.h. */
38989 _ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38995 #define $ac_func innocuous_$ac_func
38997 /* System header to define __stub macros and hopefully few prototypes,
38998 which can conflict with char $ac_func (); below.
38999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39000 <limits.h> exists even on freestanding compilers. */
39002 #ifdef __STDC__
39003 # include <limits.h>
39004 #else
39005 # include <assert.h>
39006 #endif
39008 #undef $ac_func
39010 /* Override any gcc2 internal prototype to avoid an error. */
39011 #ifdef __cplusplus
39012 extern "C"
39014 #endif
39015 /* We use char because int might match the return type of a gcc2
39016 builtin and then its argument prototype would still apply. */
39017 char $ac_func ();
39018 /* The GNU C library defines this for functions which it implements
39019 to always fail with ENOSYS. Some functions are actually named
39020 something starting with __ and the normal name is an alias. */
39021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39022 choke me
39023 #else
39024 char (*f) () = $ac_func;
39025 #endif
39026 #ifdef __cplusplus
39028 #endif
39031 main ()
39033 return f != $ac_func;
39035 return 0;
39037 _ACEOF
39038 rm -f conftest.$ac_objext conftest$ac_exeext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39040 (eval $ac_link) 2>conftest.er1
39041 ac_status=$?
39042 grep -v '^ *+' conftest.er1 >conftest.err
39043 rm -f conftest.er1
39044 cat conftest.err >&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); } &&
39047 { ac_try='test -z "$ac_c_werror_flag"
39048 || test ! -s conftest.err'
39049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39050 (eval $ac_try) 2>&5
39051 ac_status=$?
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); }; } &&
39054 { ac_try='test -s conftest$ac_exeext'
39055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39056 (eval $ac_try) 2>&5
39057 ac_status=$?
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); }; }; then
39060 eval "$as_ac_var=yes"
39061 else
39062 echo "$as_me: failed program was:" >&5
39063 sed 's/^/| /' conftest.$ac_ext >&5
39065 eval "$as_ac_var=no"
39067 rm -f conftest.err conftest.$ac_objext \
39068 conftest$ac_exeext conftest.$ac_ext
39070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39072 if test `eval echo '${'$as_ac_var'}'` = yes; then
39073 cat >>confdefs.h <<_ACEOF
39074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39075 _ACEOF
39078 done
39085 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39086 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39087 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39088 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39089 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 else
39094 ac_ext=cc
39095 ac_cpp='$CXXCPP $CPPFLAGS'
39096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39100 cat >conftest.$ac_ext <<_ACEOF
39101 /* confdefs.h. */
39102 _ACEOF
39103 cat confdefs.h >>conftest.$ac_ext
39104 cat >>conftest.$ac_ext <<_ACEOF
39105 /* end confdefs.h. */
39106 #include <math.h>
39108 main ()
39110 sincosf(0, 0, 0);
39112 return 0;
39114 _ACEOF
39115 rm -f conftest.$ac_objext
39116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39117 (eval $ac_compile) 2>conftest.er1
39118 ac_status=$?
39119 grep -v '^ *+' conftest.er1 >conftest.err
39120 rm -f conftest.er1
39121 cat conftest.err >&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } &&
39124 { ac_try='test -z "$ac_cxx_werror_flag"
39125 || test ! -s conftest.err'
39126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39127 (eval $ac_try) 2>&5
39128 ac_status=$?
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); }; } &&
39131 { ac_try='test -s conftest.$ac_objext'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39134 ac_status=$?
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; }; then
39137 glibcxx_cv_func_sincosf_use=yes
39138 else
39139 echo "$as_me: failed program was:" >&5
39140 sed 's/^/| /' conftest.$ac_ext >&5
39142 glibcxx_cv_func_sincosf_use=no
39144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39145 ac_ext=c
39146 ac_cpp='$CPP $CPPFLAGS'
39147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
39156 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
39158 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39160 for ac_func in sincosf
39162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39163 echo "$as_me:$LINENO: checking for $ac_func" >&5
39164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39165 if eval "test \"\${$as_ac_var+set}\" = set"; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 if test x$gcc_no_link = xyes; then
39169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39171 { (exit 1); exit 1; }; }
39173 cat >conftest.$ac_ext <<_ACEOF
39174 /* confdefs.h. */
39175 _ACEOF
39176 cat confdefs.h >>conftest.$ac_ext
39177 cat >>conftest.$ac_ext <<_ACEOF
39178 /* end confdefs.h. */
39179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39181 #define $ac_func innocuous_$ac_func
39183 /* System header to define __stub macros and hopefully few prototypes,
39184 which can conflict with char $ac_func (); below.
39185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39186 <limits.h> exists even on freestanding compilers. */
39188 #ifdef __STDC__
39189 # include <limits.h>
39190 #else
39191 # include <assert.h>
39192 #endif
39194 #undef $ac_func
39196 /* Override any gcc2 internal prototype to avoid an error. */
39197 #ifdef __cplusplus
39198 extern "C"
39200 #endif
39201 /* We use char because int might match the return type of a gcc2
39202 builtin and then its argument prototype would still apply. */
39203 char $ac_func ();
39204 /* The GNU C library defines this for functions which it implements
39205 to always fail with ENOSYS. Some functions are actually named
39206 something starting with __ and the normal name is an alias. */
39207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39208 choke me
39209 #else
39210 char (*f) () = $ac_func;
39211 #endif
39212 #ifdef __cplusplus
39214 #endif
39217 main ()
39219 return f != $ac_func;
39221 return 0;
39223 _ACEOF
39224 rm -f conftest.$ac_objext conftest$ac_exeext
39225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39226 (eval $ac_link) 2>conftest.er1
39227 ac_status=$?
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } &&
39233 { ac_try='test -z "$ac_c_werror_flag"
39234 || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest$ac_exeext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246 eval "$as_ac_var=yes"
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39251 eval "$as_ac_var=no"
39253 rm -f conftest.err conftest.$ac_objext \
39254 conftest$ac_exeext conftest.$ac_ext
39256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39258 if test `eval echo '${'$as_ac_var'}'` = yes; then
39259 cat >>confdefs.h <<_ACEOF
39260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39261 _ACEOF
39264 done
39266 else
39268 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
39269 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
39270 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39271 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39277 ac_ext=cc
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat >conftest.$ac_ext <<_ACEOF
39284 /* confdefs.h. */
39285 _ACEOF
39286 cat confdefs.h >>conftest.$ac_ext
39287 cat >>conftest.$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39289 #include <math.h>
39291 main ()
39293 _sincosf(0, 0, 0);
39295 return 0;
39297 _ACEOF
39298 rm -f conftest.$ac_objext
39299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39300 (eval $ac_compile) 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } &&
39307 { ac_try='test -z "$ac_cxx_werror_flag"
39308 || test ! -s conftest.err'
39309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39310 (eval $ac_try) 2>&5
39311 ac_status=$?
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); }; } &&
39314 { ac_try='test -s conftest.$ac_objext'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; }; then
39320 glibcxx_cv_func__sincosf_use=yes
39321 else
39322 echo "$as_me: failed program was:" >&5
39323 sed 's/^/| /' conftest.$ac_ext >&5
39325 glibcxx_cv_func__sincosf_use=no
39327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39328 ac_ext=c
39329 ac_cpp='$CPP $CPPFLAGS'
39330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
39339 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
39341 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39343 for ac_func in _sincosf
39345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39346 echo "$as_me:$LINENO: checking for $ac_func" >&5
39347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39348 if eval "test \"\${$as_ac_var+set}\" = set"; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 if test x$gcc_no_link = xyes; then
39352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39354 { (exit 1); exit 1; }; }
39356 cat >conftest.$ac_ext <<_ACEOF
39357 /* confdefs.h. */
39358 _ACEOF
39359 cat confdefs.h >>conftest.$ac_ext
39360 cat >>conftest.$ac_ext <<_ACEOF
39361 /* end confdefs.h. */
39362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39364 #define $ac_func innocuous_$ac_func
39366 /* System header to define __stub macros and hopefully few prototypes,
39367 which can conflict with char $ac_func (); below.
39368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39369 <limits.h> exists even on freestanding compilers. */
39371 #ifdef __STDC__
39372 # include <limits.h>
39373 #else
39374 # include <assert.h>
39375 #endif
39377 #undef $ac_func
39379 /* Override any gcc2 internal prototype to avoid an error. */
39380 #ifdef __cplusplus
39381 extern "C"
39383 #endif
39384 /* We use char because int might match the return type of a gcc2
39385 builtin and then its argument prototype would still apply. */
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39391 choke me
39392 #else
39393 char (*f) () = $ac_func;
39394 #endif
39395 #ifdef __cplusplus
39397 #endif
39400 main ()
39402 return f != $ac_func;
39404 return 0;
39406 _ACEOF
39407 rm -f conftest.$ac_objext conftest$ac_exeext
39408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39409 (eval $ac_link) 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } &&
39416 { ac_try='test -z "$ac_c_werror_flag"
39417 || test ! -s conftest.err'
39418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39419 (eval $ac_try) 2>&5
39420 ac_status=$?
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); }; } &&
39423 { ac_try='test -s conftest$ac_exeext'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39426 ac_status=$?
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; }; then
39429 eval "$as_ac_var=yes"
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39434 eval "$as_ac_var=no"
39436 rm -f conftest.err conftest.$ac_objext \
39437 conftest$ac_exeext conftest.$ac_ext
39439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39441 if test `eval echo '${'$as_ac_var'}'` = yes; then
39442 cat >>confdefs.h <<_ACEOF
39443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39444 _ACEOF
39447 done
39454 echo "$as_me:$LINENO: checking for finitef declaration" >&5
39455 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
39456 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39457 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
39458 echo $ECHO_N "(cached) $ECHO_C" >&6
39459 else
39463 ac_ext=cc
39464 ac_cpp='$CXXCPP $CPPFLAGS'
39465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469 cat >conftest.$ac_ext <<_ACEOF
39470 /* confdefs.h. */
39471 _ACEOF
39472 cat confdefs.h >>conftest.$ac_ext
39473 cat >>conftest.$ac_ext <<_ACEOF
39474 /* end confdefs.h. */
39475 #include <math.h>
39476 #ifdef HAVE_IEEEFP_H
39477 #include <ieeefp.h>
39478 #endif
39481 main ()
39483 finitef(0);
39485 return 0;
39487 _ACEOF
39488 rm -f conftest.$ac_objext
39489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39490 (eval $ac_compile) 2>conftest.er1
39491 ac_status=$?
39492 grep -v '^ *+' conftest.er1 >conftest.err
39493 rm -f conftest.er1
39494 cat conftest.err >&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } &&
39497 { ac_try='test -z "$ac_cxx_werror_flag"
39498 || test ! -s conftest.err'
39499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39500 (eval $ac_try) 2>&5
39501 ac_status=$?
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); }; } &&
39504 { ac_try='test -s conftest.$ac_objext'
39505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39506 (eval $ac_try) 2>&5
39507 ac_status=$?
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); }; }; then
39510 glibcxx_cv_func_finitef_use=yes
39511 else
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.$ac_ext >&5
39515 glibcxx_cv_func_finitef_use=no
39517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39518 ac_ext=c
39519 ac_cpp='$CPP $CPPFLAGS'
39520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
39529 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
39531 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39533 for ac_func in finitef
39535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39536 echo "$as_me:$LINENO: checking for $ac_func" >&5
39537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39538 if eval "test \"\${$as_ac_var+set}\" = set"; then
39539 echo $ECHO_N "(cached) $ECHO_C" >&6
39540 else
39541 if test x$gcc_no_link = xyes; then
39542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39544 { (exit 1); exit 1; }; }
39546 cat >conftest.$ac_ext <<_ACEOF
39547 /* confdefs.h. */
39548 _ACEOF
39549 cat confdefs.h >>conftest.$ac_ext
39550 cat >>conftest.$ac_ext <<_ACEOF
39551 /* end confdefs.h. */
39552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39554 #define $ac_func innocuous_$ac_func
39556 /* System header to define __stub macros and hopefully few prototypes,
39557 which can conflict with char $ac_func (); below.
39558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39559 <limits.h> exists even on freestanding compilers. */
39561 #ifdef __STDC__
39562 # include <limits.h>
39563 #else
39564 # include <assert.h>
39565 #endif
39567 #undef $ac_func
39569 /* Override any gcc2 internal prototype to avoid an error. */
39570 #ifdef __cplusplus
39571 extern "C"
39573 #endif
39574 /* We use char because int might match the return type of a gcc2
39575 builtin and then its argument prototype would still apply. */
39576 char $ac_func ();
39577 /* The GNU C library defines this for functions which it implements
39578 to always fail with ENOSYS. Some functions are actually named
39579 something starting with __ and the normal name is an alias. */
39580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39581 choke me
39582 #else
39583 char (*f) () = $ac_func;
39584 #endif
39585 #ifdef __cplusplus
39587 #endif
39590 main ()
39592 return f != $ac_func;
39594 return 0;
39596 _ACEOF
39597 rm -f conftest.$ac_objext conftest$ac_exeext
39598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39599 (eval $ac_link) 2>conftest.er1
39600 ac_status=$?
39601 grep -v '^ *+' conftest.er1 >conftest.err
39602 rm -f conftest.er1
39603 cat conftest.err >&5
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); } &&
39606 { ac_try='test -z "$ac_c_werror_flag"
39607 || test ! -s conftest.err'
39608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39609 (eval $ac_try) 2>&5
39610 ac_status=$?
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); }; } &&
39613 { ac_try='test -s conftest$ac_exeext'
39614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39615 (eval $ac_try) 2>&5
39616 ac_status=$?
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); }; }; then
39619 eval "$as_ac_var=yes"
39620 else
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39624 eval "$as_ac_var=no"
39626 rm -f conftest.err conftest.$ac_objext \
39627 conftest$ac_exeext conftest.$ac_ext
39629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39631 if test `eval echo '${'$as_ac_var'}'` = yes; then
39632 cat >>confdefs.h <<_ACEOF
39633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 _ACEOF
39637 done
39639 else
39641 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
39642 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
39643 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39644 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 else
39650 ac_ext=cc
39651 ac_cpp='$CXXCPP $CPPFLAGS'
39652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39656 cat >conftest.$ac_ext <<_ACEOF
39657 /* confdefs.h. */
39658 _ACEOF
39659 cat confdefs.h >>conftest.$ac_ext
39660 cat >>conftest.$ac_ext <<_ACEOF
39661 /* end confdefs.h. */
39662 #include <math.h>
39663 #ifdef HAVE_IEEEFP_H
39664 #include <ieeefp.h>
39665 #endif
39668 main ()
39670 _finitef(0);
39672 return 0;
39674 _ACEOF
39675 rm -f conftest.$ac_objext
39676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39677 (eval $ac_compile) 2>conftest.er1
39678 ac_status=$?
39679 grep -v '^ *+' conftest.er1 >conftest.err
39680 rm -f conftest.er1
39681 cat conftest.err >&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } &&
39684 { ac_try='test -z "$ac_cxx_werror_flag"
39685 || test ! -s conftest.err'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39688 ac_status=$?
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; } &&
39691 { ac_try='test -s conftest.$ac_objext'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39694 ac_status=$?
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; }; then
39697 glibcxx_cv_func__finitef_use=yes
39698 else
39699 echo "$as_me: failed program was:" >&5
39700 sed 's/^/| /' conftest.$ac_ext >&5
39702 glibcxx_cv_func__finitef_use=no
39704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39705 ac_ext=c
39706 ac_cpp='$CPP $CPPFLAGS'
39707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
39716 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
39718 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39720 for ac_func in _finitef
39722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39723 echo "$as_me:$LINENO: checking for $ac_func" >&5
39724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39725 if eval "test \"\${$as_ac_var+set}\" = set"; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728 if test x$gcc_no_link = xyes; then
39729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39731 { (exit 1); exit 1; }; }
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39741 #define $ac_func innocuous_$ac_func
39743 /* System header to define __stub macros and hopefully few prototypes,
39744 which can conflict with char $ac_func (); below.
39745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39746 <limits.h> exists even on freestanding compilers. */
39748 #ifdef __STDC__
39749 # include <limits.h>
39750 #else
39751 # include <assert.h>
39752 #endif
39754 #undef $ac_func
39756 /* Override any gcc2 internal prototype to avoid an error. */
39757 #ifdef __cplusplus
39758 extern "C"
39760 #endif
39761 /* We use char because int might match the return type of a gcc2
39762 builtin and then its argument prototype would still apply. */
39763 char $ac_func ();
39764 /* The GNU C library defines this for functions which it implements
39765 to always fail with ENOSYS. Some functions are actually named
39766 something starting with __ and the normal name is an alias. */
39767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39768 choke me
39769 #else
39770 char (*f) () = $ac_func;
39771 #endif
39772 #ifdef __cplusplus
39774 #endif
39777 main ()
39779 return f != $ac_func;
39781 return 0;
39783 _ACEOF
39784 rm -f conftest.$ac_objext conftest$ac_exeext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39786 (eval $ac_link) 2>conftest.er1
39787 ac_status=$?
39788 grep -v '^ *+' conftest.er1 >conftest.err
39789 rm -f conftest.er1
39790 cat conftest.err >&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try='test -z "$ac_c_werror_flag"
39794 || test ! -s conftest.err'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39797 ac_status=$?
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; } &&
39800 { ac_try='test -s conftest$ac_exeext'
39801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802 (eval $ac_try) 2>&5
39803 ac_status=$?
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); }; }; then
39806 eval "$as_ac_var=yes"
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39811 eval "$as_ac_var=no"
39813 rm -f conftest.err conftest.$ac_objext \
39814 conftest$ac_exeext conftest.$ac_ext
39816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39818 if test `eval echo '${'$as_ac_var'}'` = yes; then
39819 cat >>confdefs.h <<_ACEOF
39820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39821 _ACEOF
39824 done
39831 echo "$as_me:$LINENO: checking for long double trig functions" >&5
39832 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
39833 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
39834 echo $ECHO_N "(cached) $ECHO_C" >&6
39835 else
39839 ac_ext=cc
39840 ac_cpp='$CXXCPP $CPPFLAGS'
39841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39845 cat >conftest.$ac_ext <<_ACEOF
39846 /* confdefs.h. */
39847 _ACEOF
39848 cat confdefs.h >>conftest.$ac_ext
39849 cat >>conftest.$ac_ext <<_ACEOF
39850 /* end confdefs.h. */
39851 #include <math.h>
39853 main ()
39855 `for x in acosl asinl atanl \
39856 cosl sinl tanl \
39857 coshl sinhl tanhl; do echo "$x (0);"; done`
39859 return 0;
39861 _ACEOF
39862 rm -f conftest.$ac_objext
39863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39864 (eval $ac_compile) 2>conftest.er1
39865 ac_status=$?
39866 grep -v '^ *+' conftest.er1 >conftest.err
39867 rm -f conftest.er1
39868 cat conftest.err >&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } &&
39871 { ac_try='test -z "$ac_cxx_werror_flag"
39872 || test ! -s conftest.err'
39873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39874 (eval $ac_try) 2>&5
39875 ac_status=$?
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); }; } &&
39878 { ac_try='test -s conftest.$ac_objext'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; }; then
39884 glibcxx_cv_func_long_double_trig_use=yes
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39889 glibcxx_cv_func_long_double_trig_use=no
39891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_ext=c
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
39901 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
39902 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39912 for ac_func in acosl asinl atanl \
39913 cosl sinl tanl \
39914 coshl sinhl tanhl
39916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39917 echo "$as_me:$LINENO: checking for $ac_func" >&5
39918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39919 if eval "test \"\${$as_ac_var+set}\" = set"; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 else
39922 if test x$gcc_no_link = xyes; then
39923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39925 { (exit 1); exit 1; }; }
39927 cat >conftest.$ac_ext <<_ACEOF
39928 /* confdefs.h. */
39929 _ACEOF
39930 cat confdefs.h >>conftest.$ac_ext
39931 cat >>conftest.$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39935 #define $ac_func innocuous_$ac_func
39937 /* System header to define __stub macros and hopefully few prototypes,
39938 which can conflict with char $ac_func (); below.
39939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39940 <limits.h> exists even on freestanding compilers. */
39942 #ifdef __STDC__
39943 # include <limits.h>
39944 #else
39945 # include <assert.h>
39946 #endif
39948 #undef $ac_func
39950 /* Override any gcc2 internal prototype to avoid an error. */
39951 #ifdef __cplusplus
39952 extern "C"
39954 #endif
39955 /* We use char because int might match the return type of a gcc2
39956 builtin and then its argument prototype would still apply. */
39957 char $ac_func ();
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39962 choke me
39963 #else
39964 char (*f) () = $ac_func;
39965 #endif
39966 #ifdef __cplusplus
39968 #endif
39971 main ()
39973 return f != $ac_func;
39975 return 0;
39977 _ACEOF
39978 rm -f conftest.$ac_objext conftest$ac_exeext
39979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39980 (eval $ac_link) 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } &&
39987 { ac_try='test -z "$ac_c_werror_flag"
39988 || test ! -s conftest.err'
39989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39990 (eval $ac_try) 2>&5
39991 ac_status=$?
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); }; } &&
39994 { ac_try='test -s conftest$ac_exeext'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39997 ac_status=$?
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; }; then
40000 eval "$as_ac_var=yes"
40001 else
40002 echo "$as_me: failed program was:" >&5
40003 sed 's/^/| /' conftest.$ac_ext >&5
40005 eval "$as_ac_var=no"
40007 rm -f conftest.err conftest.$ac_objext \
40008 conftest$ac_exeext conftest.$ac_ext
40010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40012 if test `eval echo '${'$as_ac_var'}'` = yes; then
40013 cat >>confdefs.h <<_ACEOF
40014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40015 _ACEOF
40018 done
40023 echo "$as_me:$LINENO: checking for long double round functions" >&5
40024 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40025 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40031 ac_ext=cc
40032 ac_cpp='$CXXCPP $CPPFLAGS'
40033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40037 cat >conftest.$ac_ext <<_ACEOF
40038 /* confdefs.h. */
40039 _ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043 #include <math.h>
40045 main ()
40047 `for x in ceill floorl; do echo "$x (0);"; done`
40049 return 0;
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054 (eval $ac_compile) 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } &&
40061 { ac_try='test -z "$ac_cxx_werror_flag"
40062 || test ! -s conftest.err'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40065 ac_status=$?
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; } &&
40068 { ac_try='test -s conftest.$ac_objext'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40071 ac_status=$?
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; }; then
40074 glibcxx_cv_func_long_double_round_use=yes
40075 else
40076 echo "$as_me: failed program was:" >&5
40077 sed 's/^/| /' conftest.$ac_ext >&5
40079 glibcxx_cv_func_long_double_round_use=no
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40082 ac_ext=c
40083 ac_cpp='$CPP $CPPFLAGS'
40084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40091 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40092 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40095 for ac_func in ceill floorl
40097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 echo "$as_me:$LINENO: checking for $ac_func" >&5
40099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40100 if eval "test \"\${$as_ac_var+set}\" = set"; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103 if test x$gcc_no_link = xyes; then
40104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40106 { (exit 1); exit 1; }; }
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define $ac_func innocuous_$ac_func
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char $ac_func (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40123 #ifdef __STDC__
40124 # include <limits.h>
40125 #else
40126 # include <assert.h>
40127 #endif
40129 #undef $ac_func
40131 /* Override any gcc2 internal prototype to avoid an error. */
40132 #ifdef __cplusplus
40133 extern "C"
40135 #endif
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char $ac_func ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40143 choke me
40144 #else
40145 char (*f) () = $ac_func;
40146 #endif
40147 #ifdef __cplusplus
40149 #endif
40152 main ()
40154 return f != $ac_func;
40156 return 0;
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_c_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 eval "$as_ac_var=yes"
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 eval "$as_ac_var=no"
40188 rm -f conftest.err conftest.$ac_objext \
40189 conftest$ac_exeext conftest.$ac_ext
40191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40193 if test `eval echo '${'$as_ac_var'}'` = yes; then
40194 cat >>confdefs.h <<_ACEOF
40195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40196 _ACEOF
40199 done
40205 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
40206 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
40207 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40208 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 else
40214 ac_ext=cc
40215 ac_cpp='$CXXCPP $CPPFLAGS'
40216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 #include <math.h>
40227 #ifdef HAVE_IEEEFP_H
40228 #include <ieeefp.h>
40229 #endif
40232 main ()
40234 isnanl(0);
40236 return 0;
40238 _ACEOF
40239 rm -f conftest.$ac_objext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40241 (eval $ac_compile) 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try='test -z "$ac_cxx_werror_flag"
40249 || test ! -s conftest.err'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40252 ac_status=$?
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; } &&
40255 { ac_try='test -s conftest.$ac_objext'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; }; then
40261 glibcxx_cv_func_isnanl_use=yes
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40266 glibcxx_cv_func_isnanl_use=no
40268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40269 ac_ext=c
40270 ac_cpp='$CPP $CPPFLAGS'
40271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
40280 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
40282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40284 for ac_func in isnanl
40286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40287 echo "$as_me:$LINENO: checking for $ac_func" >&5
40288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40289 if eval "test \"\${$as_ac_var+set}\" = set"; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 else
40292 if test x$gcc_no_link = xyes; then
40293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40295 { (exit 1); exit 1; }; }
40297 cat >conftest.$ac_ext <<_ACEOF
40298 /* confdefs.h. */
40299 _ACEOF
40300 cat confdefs.h >>conftest.$ac_ext
40301 cat >>conftest.$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40305 #define $ac_func innocuous_$ac_func
40307 /* System header to define __stub macros and hopefully few prototypes,
40308 which can conflict with char $ac_func (); below.
40309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40310 <limits.h> exists even on freestanding compilers. */
40312 #ifdef __STDC__
40313 # include <limits.h>
40314 #else
40315 # include <assert.h>
40316 #endif
40318 #undef $ac_func
40320 /* Override any gcc2 internal prototype to avoid an error. */
40321 #ifdef __cplusplus
40322 extern "C"
40324 #endif
40325 /* We use char because int might match the return type of a gcc2
40326 builtin and then its argument prototype would still apply. */
40327 char $ac_func ();
40328 /* The GNU C library defines this for functions which it implements
40329 to always fail with ENOSYS. Some functions are actually named
40330 something starting with __ and the normal name is an alias. */
40331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40332 choke me
40333 #else
40334 char (*f) () = $ac_func;
40335 #endif
40336 #ifdef __cplusplus
40338 #endif
40341 main ()
40343 return f != $ac_func;
40345 return 0;
40347 _ACEOF
40348 rm -f conftest.$ac_objext conftest$ac_exeext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40350 (eval $ac_link) 2>conftest.er1
40351 ac_status=$?
40352 grep -v '^ *+' conftest.er1 >conftest.err
40353 rm -f conftest.er1
40354 cat conftest.err >&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } &&
40357 { ac_try='test -z "$ac_c_werror_flag"
40358 || test ! -s conftest.err'
40359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360 (eval $ac_try) 2>&5
40361 ac_status=$?
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); }; } &&
40364 { ac_try='test -s conftest$ac_exeext'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; }; then
40370 eval "$as_ac_var=yes"
40371 else
40372 echo "$as_me: failed program was:" >&5
40373 sed 's/^/| /' conftest.$ac_ext >&5
40375 eval "$as_ac_var=no"
40377 rm -f conftest.err conftest.$ac_objext \
40378 conftest$ac_exeext conftest.$ac_ext
40380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40382 if test `eval echo '${'$as_ac_var'}'` = yes; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40385 _ACEOF
40388 done
40390 else
40392 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
40393 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
40394 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40395 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40401 ac_ext=cc
40402 ac_cpp='$CXXCPP $CPPFLAGS'
40403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40407 cat >conftest.$ac_ext <<_ACEOF
40408 /* confdefs.h. */
40409 _ACEOF
40410 cat confdefs.h >>conftest.$ac_ext
40411 cat >>conftest.$ac_ext <<_ACEOF
40412 /* end confdefs.h. */
40413 #include <math.h>
40414 #ifdef HAVE_IEEEFP_H
40415 #include <ieeefp.h>
40416 #endif
40419 main ()
40421 _isnanl(0);
40423 return 0;
40425 _ACEOF
40426 rm -f conftest.$ac_objext
40427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40428 (eval $ac_compile) 2>conftest.er1
40429 ac_status=$?
40430 grep -v '^ *+' conftest.er1 >conftest.err
40431 rm -f conftest.er1
40432 cat conftest.err >&5
40433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40434 (exit $ac_status); } &&
40435 { ac_try='test -z "$ac_cxx_werror_flag"
40436 || test ! -s conftest.err'
40437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40438 (eval $ac_try) 2>&5
40439 ac_status=$?
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; } &&
40442 { ac_try='test -s conftest.$ac_objext'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40445 ac_status=$?
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; }; then
40448 glibcxx_cv_func__isnanl_use=yes
40449 else
40450 echo "$as_me: failed program was:" >&5
40451 sed 's/^/| /' conftest.$ac_ext >&5
40453 glibcxx_cv_func__isnanl_use=no
40455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40456 ac_ext=c
40457 ac_cpp='$CPP $CPPFLAGS'
40458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
40467 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
40469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40471 for ac_func in _isnanl
40473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40474 echo "$as_me:$LINENO: checking for $ac_func" >&5
40475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40476 if eval "test \"\${$as_ac_var+set}\" = set"; then
40477 echo $ECHO_N "(cached) $ECHO_C" >&6
40478 else
40479 if test x$gcc_no_link = xyes; then
40480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40482 { (exit 1); exit 1; }; }
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40492 #define $ac_func innocuous_$ac_func
40494 /* System header to define __stub macros and hopefully few prototypes,
40495 which can conflict with char $ac_func (); below.
40496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40497 <limits.h> exists even on freestanding compilers. */
40499 #ifdef __STDC__
40500 # include <limits.h>
40501 #else
40502 # include <assert.h>
40503 #endif
40505 #undef $ac_func
40507 /* Override any gcc2 internal prototype to avoid an error. */
40508 #ifdef __cplusplus
40509 extern "C"
40511 #endif
40512 /* We use char because int might match the return type of a gcc2
40513 builtin and then its argument prototype would still apply. */
40514 char $ac_func ();
40515 /* The GNU C library defines this for functions which it implements
40516 to always fail with ENOSYS. Some functions are actually named
40517 something starting with __ and the normal name is an alias. */
40518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40519 choke me
40520 #else
40521 char (*f) () = $ac_func;
40522 #endif
40523 #ifdef __cplusplus
40525 #endif
40528 main ()
40530 return f != $ac_func;
40532 return 0;
40534 _ACEOF
40535 rm -f conftest.$ac_objext conftest$ac_exeext
40536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40537 (eval $ac_link) 2>conftest.er1
40538 ac_status=$?
40539 grep -v '^ *+' conftest.er1 >conftest.err
40540 rm -f conftest.er1
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } &&
40544 { ac_try='test -z "$ac_c_werror_flag"
40545 || test ! -s conftest.err'
40546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40547 (eval $ac_try) 2>&5
40548 ac_status=$?
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); }; } &&
40551 { ac_try='test -s conftest$ac_exeext'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40554 ac_status=$?
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; }; then
40557 eval "$as_ac_var=yes"
40558 else
40559 echo "$as_me: failed program was:" >&5
40560 sed 's/^/| /' conftest.$ac_ext >&5
40562 eval "$as_ac_var=no"
40564 rm -f conftest.err conftest.$ac_objext \
40565 conftest$ac_exeext conftest.$ac_ext
40567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40569 if test `eval echo '${'$as_ac_var'}'` = yes; then
40570 cat >>confdefs.h <<_ACEOF
40571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40572 _ACEOF
40575 done
40582 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
40583 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
40584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40585 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40591 ac_ext=cc
40592 ac_cpp='$CXXCPP $CPPFLAGS'
40593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 #include <math.h>
40604 #ifdef HAVE_IEEEFP_H
40605 #include <ieeefp.h>
40606 #endif
40609 main ()
40611 isinfl(0);
40613 return 0;
40615 _ACEOF
40616 rm -f conftest.$ac_objext
40617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40618 (eval $ac_compile) 2>conftest.er1
40619 ac_status=$?
40620 grep -v '^ *+' conftest.er1 >conftest.err
40621 rm -f conftest.er1
40622 cat conftest.err >&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); } &&
40625 { ac_try='test -z "$ac_cxx_werror_flag"
40626 || test ! -s conftest.err'
40627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40628 (eval $ac_try) 2>&5
40629 ac_status=$?
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); }; } &&
40632 { ac_try='test -s conftest.$ac_objext'
40633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40634 (eval $ac_try) 2>&5
40635 ac_status=$?
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); }; }; then
40638 glibcxx_cv_func_isinfl_use=yes
40639 else
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40643 glibcxx_cv_func_isinfl_use=no
40645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40646 ac_ext=c
40647 ac_cpp='$CPP $CPPFLAGS'
40648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
40657 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
40659 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
40661 for ac_func in isinfl
40663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40664 echo "$as_me:$LINENO: checking for $ac_func" >&5
40665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40666 if eval "test \"\${$as_ac_var+set}\" = set"; then
40667 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 else
40669 if test x$gcc_no_link = xyes; then
40670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40672 { (exit 1); exit 1; }; }
40674 cat >conftest.$ac_ext <<_ACEOF
40675 /* confdefs.h. */
40676 _ACEOF
40677 cat confdefs.h >>conftest.$ac_ext
40678 cat >>conftest.$ac_ext <<_ACEOF
40679 /* end confdefs.h. */
40680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40682 #define $ac_func innocuous_$ac_func
40684 /* System header to define __stub macros and hopefully few prototypes,
40685 which can conflict with char $ac_func (); below.
40686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40687 <limits.h> exists even on freestanding compilers. */
40689 #ifdef __STDC__
40690 # include <limits.h>
40691 #else
40692 # include <assert.h>
40693 #endif
40695 #undef $ac_func
40697 /* Override any gcc2 internal prototype to avoid an error. */
40698 #ifdef __cplusplus
40699 extern "C"
40701 #endif
40702 /* We use char because int might match the return type of a gcc2
40703 builtin and then its argument prototype would still apply. */
40704 char $ac_func ();
40705 /* The GNU C library defines this for functions which it implements
40706 to always fail with ENOSYS. Some functions are actually named
40707 something starting with __ and the normal name is an alias. */
40708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40709 choke me
40710 #else
40711 char (*f) () = $ac_func;
40712 #endif
40713 #ifdef __cplusplus
40715 #endif
40718 main ()
40720 return f != $ac_func;
40722 return 0;
40724 _ACEOF
40725 rm -f conftest.$ac_objext conftest$ac_exeext
40726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40727 (eval $ac_link) 2>conftest.er1
40728 ac_status=$?
40729 grep -v '^ *+' conftest.er1 >conftest.err
40730 rm -f conftest.er1
40731 cat conftest.err >&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } &&
40734 { ac_try='test -z "$ac_c_werror_flag"
40735 || test ! -s conftest.err'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40738 ac_status=$?
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; } &&
40741 { ac_try='test -s conftest$ac_exeext'
40742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40743 (eval $ac_try) 2>&5
40744 ac_status=$?
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); }; }; then
40747 eval "$as_ac_var=yes"
40748 else
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40752 eval "$as_ac_var=no"
40754 rm -f conftest.err conftest.$ac_objext \
40755 conftest$ac_exeext conftest.$ac_ext
40757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40759 if test `eval echo '${'$as_ac_var'}'` = yes; then
40760 cat >>confdefs.h <<_ACEOF
40761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40762 _ACEOF
40765 done
40767 else
40769 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
40770 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
40771 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
40772 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40778 ac_ext=cc
40779 ac_cpp='$CXXCPP $CPPFLAGS'
40780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 #include <math.h>
40791 #ifdef HAVE_IEEEFP_H
40792 #include <ieeefp.h>
40793 #endif
40796 main ()
40798 _isinfl(0);
40800 return 0;
40802 _ACEOF
40803 rm -f conftest.$ac_objext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40805 (eval $ac_compile) 2>conftest.er1
40806 ac_status=$?
40807 grep -v '^ *+' conftest.er1 >conftest.err
40808 rm -f conftest.er1
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } &&
40812 { ac_try='test -z "$ac_cxx_werror_flag"
40813 || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40816 ac_status=$?
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try='test -s conftest.$ac_objext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40822 ac_status=$?
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 glibcxx_cv_func__isinfl_use=yes
40826 else
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.$ac_ext >&5
40830 glibcxx_cv_func__isinfl_use=no
40832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40833 ac_ext=c
40834 ac_cpp='$CPP $CPPFLAGS'
40835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
40844 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
40846 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
40848 for ac_func in _isinfl
40850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40851 echo "$as_me:$LINENO: checking for $ac_func" >&5
40852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40853 if eval "test \"\${$as_ac_var+set}\" = set"; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40855 else
40856 if test x$gcc_no_link = xyes; then
40857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40859 { (exit 1); exit 1; }; }
40861 cat >conftest.$ac_ext <<_ACEOF
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define $ac_func innocuous_$ac_func
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char $ac_func (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40876 #ifdef __STDC__
40877 # include <limits.h>
40878 #else
40879 # include <assert.h>
40880 #endif
40882 #undef $ac_func
40884 /* Override any gcc2 internal prototype to avoid an error. */
40885 #ifdef __cplusplus
40886 extern "C"
40888 #endif
40889 /* We use char because int might match the return type of a gcc2
40890 builtin and then its argument prototype would still apply. */
40891 char $ac_func ();
40892 /* The GNU C library defines this for functions which it implements
40893 to always fail with ENOSYS. Some functions are actually named
40894 something starting with __ and the normal name is an alias. */
40895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40896 choke me
40897 #else
40898 char (*f) () = $ac_func;
40899 #endif
40900 #ifdef __cplusplus
40902 #endif
40905 main ()
40907 return f != $ac_func;
40909 return 0;
40911 _ACEOF
40912 rm -f conftest.$ac_objext conftest$ac_exeext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40914 (eval $ac_link) 2>conftest.er1
40915 ac_status=$?
40916 grep -v '^ *+' conftest.er1 >conftest.err
40917 rm -f conftest.er1
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } &&
40921 { ac_try='test -z "$ac_c_werror_flag"
40922 || test ! -s conftest.err'
40923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924 (eval $ac_try) 2>&5
40925 ac_status=$?
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); }; } &&
40928 { ac_try='test -s conftest$ac_exeext'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; }; then
40934 eval "$as_ac_var=yes"
40935 else
40936 echo "$as_me: failed program was:" >&5
40937 sed 's/^/| /' conftest.$ac_ext >&5
40939 eval "$as_ac_var=no"
40941 rm -f conftest.err conftest.$ac_objext \
40942 conftest$ac_exeext conftest.$ac_ext
40944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40946 if test `eval echo '${'$as_ac_var'}'` = yes; then
40947 cat >>confdefs.h <<_ACEOF
40948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40949 _ACEOF
40952 done
40959 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
40960 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
40961 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
40962 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40968 ac_ext=cc
40969 ac_cpp='$CXXCPP $CPPFLAGS'
40970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h. */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40980 #include <math.h>
40982 main ()
40984 copysignl(0, 0);
40986 return 0;
40988 _ACEOF
40989 rm -f conftest.$ac_objext
40990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40991 (eval $ac_compile) 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } &&
40998 { ac_try='test -z "$ac_cxx_werror_flag"
40999 || test ! -s conftest.err'
41000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001 (eval $ac_try) 2>&5
41002 ac_status=$?
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); }; } &&
41005 { ac_try='test -s conftest.$ac_objext'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 glibcxx_cv_func_copysignl_use=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41016 glibcxx_cv_func_copysignl_use=no
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019 ac_ext=c
41020 ac_cpp='$CPP $CPPFLAGS'
41021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41030 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41032 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41034 for ac_func in copysignl
41036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41037 echo "$as_me:$LINENO: checking for $ac_func" >&5
41038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41039 if eval "test \"\${$as_ac_var+set}\" = set"; then
41040 echo $ECHO_N "(cached) $ECHO_C" >&6
41041 else
41042 if test x$gcc_no_link = xyes; then
41043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41045 { (exit 1); exit 1; }; }
41047 cat >conftest.$ac_ext <<_ACEOF
41048 /* confdefs.h. */
41049 _ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41055 #define $ac_func innocuous_$ac_func
41057 /* System header to define __stub macros and hopefully few prototypes,
41058 which can conflict with char $ac_func (); below.
41059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41060 <limits.h> exists even on freestanding compilers. */
41062 #ifdef __STDC__
41063 # include <limits.h>
41064 #else
41065 # include <assert.h>
41066 #endif
41068 #undef $ac_func
41070 /* Override any gcc2 internal prototype to avoid an error. */
41071 #ifdef __cplusplus
41072 extern "C"
41074 #endif
41075 /* We use char because int might match the return type of a gcc2
41076 builtin and then its argument prototype would still apply. */
41077 char $ac_func ();
41078 /* The GNU C library defines this for functions which it implements
41079 to always fail with ENOSYS. Some functions are actually named
41080 something starting with __ and the normal name is an alias. */
41081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41082 choke me
41083 #else
41084 char (*f) () = $ac_func;
41085 #endif
41086 #ifdef __cplusplus
41088 #endif
41091 main ()
41093 return f != $ac_func;
41095 return 0;
41097 _ACEOF
41098 rm -f conftest.$ac_objext conftest$ac_exeext
41099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41100 (eval $ac_link) 2>conftest.er1
41101 ac_status=$?
41102 grep -v '^ *+' conftest.er1 >conftest.err
41103 rm -f conftest.er1
41104 cat conftest.err >&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } &&
41107 { ac_try='test -z "$ac_c_werror_flag"
41108 || test ! -s conftest.err'
41109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41110 (eval $ac_try) 2>&5
41111 ac_status=$?
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); }; } &&
41114 { ac_try='test -s conftest$ac_exeext'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41117 ac_status=$?
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; }; then
41120 eval "$as_ac_var=yes"
41121 else
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41125 eval "$as_ac_var=no"
41127 rm -f conftest.err conftest.$ac_objext \
41128 conftest$ac_exeext conftest.$ac_ext
41130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41132 if test `eval echo '${'$as_ac_var'}'` = yes; then
41133 cat >>confdefs.h <<_ACEOF
41134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41135 _ACEOF
41138 done
41140 else
41142 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
41143 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
41144 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
41145 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41147 else
41151 ac_ext=cc
41152 ac_cpp='$CXXCPP $CPPFLAGS'
41153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163 #include <math.h>
41165 main ()
41167 _copysignl(0, 0);
41169 return 0;
41171 _ACEOF
41172 rm -f conftest.$ac_objext
41173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41174 (eval $ac_compile) 2>conftest.er1
41175 ac_status=$?
41176 grep -v '^ *+' conftest.er1 >conftest.err
41177 rm -f conftest.er1
41178 cat conftest.err >&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); } &&
41181 { ac_try='test -z "$ac_cxx_werror_flag"
41182 || test ! -s conftest.err'
41183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41184 (eval $ac_try) 2>&5
41185 ac_status=$?
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); }; } &&
41188 { ac_try='test -s conftest.$ac_objext'
41189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41190 (eval $ac_try) 2>&5
41191 ac_status=$?
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; }; then
41194 glibcxx_cv_func__copysignl_use=yes
41195 else
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41199 glibcxx_cv_func__copysignl_use=no
41201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41202 ac_ext=c
41203 ac_cpp='$CPP $CPPFLAGS'
41204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
41213 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
41215 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
41217 for ac_func in _copysignl
41219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41220 echo "$as_me:$LINENO: checking for $ac_func" >&5
41221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41222 if eval "test \"\${$as_ac_var+set}\" = set"; then
41223 echo $ECHO_N "(cached) $ECHO_C" >&6
41224 else
41225 if test x$gcc_no_link = xyes; then
41226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41228 { (exit 1); exit 1; }; }
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41238 #define $ac_func innocuous_$ac_func
41240 /* System header to define __stub macros and hopefully few prototypes,
41241 which can conflict with char $ac_func (); below.
41242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41243 <limits.h> exists even on freestanding compilers. */
41245 #ifdef __STDC__
41246 # include <limits.h>
41247 #else
41248 # include <assert.h>
41249 #endif
41251 #undef $ac_func
41253 /* Override any gcc2 internal prototype to avoid an error. */
41254 #ifdef __cplusplus
41255 extern "C"
41257 #endif
41258 /* We use char because int might match the return type of a gcc2
41259 builtin and then its argument prototype would still apply. */
41260 char $ac_func ();
41261 /* The GNU C library defines this for functions which it implements
41262 to always fail with ENOSYS. Some functions are actually named
41263 something starting with __ and the normal name is an alias. */
41264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41265 choke me
41266 #else
41267 char (*f) () = $ac_func;
41268 #endif
41269 #ifdef __cplusplus
41271 #endif
41274 main ()
41276 return f != $ac_func;
41278 return 0;
41280 _ACEOF
41281 rm -f conftest.$ac_objext conftest$ac_exeext
41282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41283 (eval $ac_link) 2>conftest.er1
41284 ac_status=$?
41285 grep -v '^ *+' conftest.er1 >conftest.err
41286 rm -f conftest.er1
41287 cat conftest.err >&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } &&
41290 { ac_try='test -z "$ac_c_werror_flag"
41291 || test ! -s conftest.err'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41294 ac_status=$?
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; } &&
41297 { ac_try='test -s conftest$ac_exeext'
41298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41299 (eval $ac_try) 2>&5
41300 ac_status=$?
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); }; }; then
41303 eval "$as_ac_var=yes"
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41308 eval "$as_ac_var=no"
41310 rm -f conftest.err conftest.$ac_objext \
41311 conftest$ac_exeext conftest.$ac_ext
41313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41315 if test `eval echo '${'$as_ac_var'}'` = yes; then
41316 cat >>confdefs.h <<_ACEOF
41317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41318 _ACEOF
41321 done
41328 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
41329 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
41330 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41331 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41337 ac_ext=cc
41338 ac_cpp='$CXXCPP $CPPFLAGS'
41339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41343 cat >conftest.$ac_ext <<_ACEOF
41344 /* confdefs.h. */
41345 _ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41349 #include <math.h>
41351 main ()
41353 atan2l(0, 0);
41355 return 0;
41357 _ACEOF
41358 rm -f conftest.$ac_objext
41359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41360 (eval $ac_compile) 2>conftest.er1
41361 ac_status=$?
41362 grep -v '^ *+' conftest.er1 >conftest.err
41363 rm -f conftest.er1
41364 cat conftest.err >&5
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); } &&
41367 { ac_try='test -z "$ac_cxx_werror_flag"
41368 || test ! -s conftest.err'
41369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41370 (eval $ac_try) 2>&5
41371 ac_status=$?
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); }; } &&
41374 { ac_try='test -s conftest.$ac_objext'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41377 ac_status=$?
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; }; then
41380 glibcxx_cv_func_atan2l_use=yes
41381 else
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41385 glibcxx_cv_func_atan2l_use=no
41387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41388 ac_ext=c
41389 ac_cpp='$CPP $CPPFLAGS'
41390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
41399 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
41401 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41403 for ac_func in atan2l
41405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41406 echo "$as_me:$LINENO: checking for $ac_func" >&5
41407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41408 if eval "test \"\${$as_ac_var+set}\" = set"; then
41409 echo $ECHO_N "(cached) $ECHO_C" >&6
41410 else
41411 if test x$gcc_no_link = xyes; then
41412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41414 { (exit 1); exit 1; }; }
41416 cat >conftest.$ac_ext <<_ACEOF
41417 /* confdefs.h. */
41418 _ACEOF
41419 cat confdefs.h >>conftest.$ac_ext
41420 cat >>conftest.$ac_ext <<_ACEOF
41421 /* end confdefs.h. */
41422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41424 #define $ac_func innocuous_$ac_func
41426 /* System header to define __stub macros and hopefully few prototypes,
41427 which can conflict with char $ac_func (); below.
41428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41429 <limits.h> exists even on freestanding compilers. */
41431 #ifdef __STDC__
41432 # include <limits.h>
41433 #else
41434 # include <assert.h>
41435 #endif
41437 #undef $ac_func
41439 /* Override any gcc2 internal prototype to avoid an error. */
41440 #ifdef __cplusplus
41441 extern "C"
41443 #endif
41444 /* We use char because int might match the return type of a gcc2
41445 builtin and then its argument prototype would still apply. */
41446 char $ac_func ();
41447 /* The GNU C library defines this for functions which it implements
41448 to always fail with ENOSYS. Some functions are actually named
41449 something starting with __ and the normal name is an alias. */
41450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41451 choke me
41452 #else
41453 char (*f) () = $ac_func;
41454 #endif
41455 #ifdef __cplusplus
41457 #endif
41460 main ()
41462 return f != $ac_func;
41464 return 0;
41466 _ACEOF
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41469 (eval $ac_link) 2>conftest.er1
41470 ac_status=$?
41471 grep -v '^ *+' conftest.er1 >conftest.err
41472 rm -f conftest.er1
41473 cat conftest.err >&5
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); } &&
41476 { ac_try='test -z "$ac_c_werror_flag"
41477 || test ! -s conftest.err'
41478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41479 (eval $ac_try) 2>&5
41480 ac_status=$?
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); }; } &&
41483 { ac_try='test -s conftest$ac_exeext'
41484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41485 (eval $ac_try) 2>&5
41486 ac_status=$?
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); }; }; then
41489 eval "$as_ac_var=yes"
41490 else
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41494 eval "$as_ac_var=no"
41496 rm -f conftest.err conftest.$ac_objext \
41497 conftest$ac_exeext conftest.$ac_ext
41499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41501 if test `eval echo '${'$as_ac_var'}'` = yes; then
41502 cat >>confdefs.h <<_ACEOF
41503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41504 _ACEOF
41507 done
41509 else
41511 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
41512 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
41513 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41514 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 else
41520 ac_ext=cc
41521 ac_cpp='$CXXCPP $CPPFLAGS'
41522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41526 cat >conftest.$ac_ext <<_ACEOF
41527 /* confdefs.h. */
41528 _ACEOF
41529 cat confdefs.h >>conftest.$ac_ext
41530 cat >>conftest.$ac_ext <<_ACEOF
41531 /* end confdefs.h. */
41532 #include <math.h>
41534 main ()
41536 _atan2l(0, 0);
41538 return 0;
41540 _ACEOF
41541 rm -f conftest.$ac_objext
41542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41543 (eval $ac_compile) 2>conftest.er1
41544 ac_status=$?
41545 grep -v '^ *+' conftest.er1 >conftest.err
41546 rm -f conftest.er1
41547 cat conftest.err >&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } &&
41550 { ac_try='test -z "$ac_cxx_werror_flag"
41551 || test ! -s conftest.err'
41552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41553 (eval $ac_try) 2>&5
41554 ac_status=$?
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); }; } &&
41557 { ac_try='test -s conftest.$ac_objext'
41558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559 (eval $ac_try) 2>&5
41560 ac_status=$?
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; }; then
41563 glibcxx_cv_func__atan2l_use=yes
41564 else
41565 echo "$as_me: failed program was:" >&5
41566 sed 's/^/| /' conftest.$ac_ext >&5
41568 glibcxx_cv_func__atan2l_use=no
41570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
41582 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
41584 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41586 for ac_func in _atan2l
41588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41589 echo "$as_me:$LINENO: checking for $ac_func" >&5
41590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41591 if eval "test \"\${$as_ac_var+set}\" = set"; then
41592 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 else
41594 if test x$gcc_no_link = xyes; then
41595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41597 { (exit 1); exit 1; }; }
41599 cat >conftest.$ac_ext <<_ACEOF
41600 /* confdefs.h. */
41601 _ACEOF
41602 cat confdefs.h >>conftest.$ac_ext
41603 cat >>conftest.$ac_ext <<_ACEOF
41604 /* end confdefs.h. */
41605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41607 #define $ac_func innocuous_$ac_func
41609 /* System header to define __stub macros and hopefully few prototypes,
41610 which can conflict with char $ac_func (); below.
41611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41612 <limits.h> exists even on freestanding compilers. */
41614 #ifdef __STDC__
41615 # include <limits.h>
41616 #else
41617 # include <assert.h>
41618 #endif
41620 #undef $ac_func
41622 /* Override any gcc2 internal prototype to avoid an error. */
41623 #ifdef __cplusplus
41624 extern "C"
41626 #endif
41627 /* We use char because int might match the return type of a gcc2
41628 builtin and then its argument prototype would still apply. */
41629 char $ac_func ();
41630 /* The GNU C library defines this for functions which it implements
41631 to always fail with ENOSYS. Some functions are actually named
41632 something starting with __ and the normal name is an alias. */
41633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41634 choke me
41635 #else
41636 char (*f) () = $ac_func;
41637 #endif
41638 #ifdef __cplusplus
41640 #endif
41643 main ()
41645 return f != $ac_func;
41647 return 0;
41649 _ACEOF
41650 rm -f conftest.$ac_objext conftest$ac_exeext
41651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41652 (eval $ac_link) 2>conftest.er1
41653 ac_status=$?
41654 grep -v '^ *+' conftest.er1 >conftest.err
41655 rm -f conftest.er1
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } &&
41659 { ac_try='test -z "$ac_c_werror_flag"
41660 || test ! -s conftest.err'
41661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41662 (eval $ac_try) 2>&5
41663 ac_status=$?
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; } &&
41666 { ac_try='test -s conftest$ac_exeext'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41669 ac_status=$?
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; }; then
41672 eval "$as_ac_var=yes"
41673 else
41674 echo "$as_me: failed program was:" >&5
41675 sed 's/^/| /' conftest.$ac_ext >&5
41677 eval "$as_ac_var=no"
41679 rm -f conftest.err conftest.$ac_objext \
41680 conftest$ac_exeext conftest.$ac_ext
41682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41684 if test `eval echo '${'$as_ac_var'}'` = yes; then
41685 cat >>confdefs.h <<_ACEOF
41686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41687 _ACEOF
41690 done
41697 echo "$as_me:$LINENO: checking for expl declaration" >&5
41698 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
41699 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41700 if test "${glibcxx_cv_func_expl_use+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41702 else
41706 ac_ext=cc
41707 ac_cpp='$CXXCPP $CPPFLAGS'
41708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41712 cat >conftest.$ac_ext <<_ACEOF
41713 /* confdefs.h. */
41714 _ACEOF
41715 cat confdefs.h >>conftest.$ac_ext
41716 cat >>conftest.$ac_ext <<_ACEOF
41717 /* end confdefs.h. */
41718 #include <math.h>
41719 #ifdef HAVE_IEEEFP_H
41720 #include <ieeefp.h>
41721 #endif
41724 main ()
41726 expl(0);
41728 return 0;
41730 _ACEOF
41731 rm -f conftest.$ac_objext
41732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41733 (eval $ac_compile) 2>conftest.er1
41734 ac_status=$?
41735 grep -v '^ *+' conftest.er1 >conftest.err
41736 rm -f conftest.er1
41737 cat conftest.err >&5
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); } &&
41740 { ac_try='test -z "$ac_cxx_werror_flag"
41741 || test ! -s conftest.err'
41742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41743 (eval $ac_try) 2>&5
41744 ac_status=$?
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; } &&
41747 { ac_try='test -s conftest.$ac_objext'
41748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41749 (eval $ac_try) 2>&5
41750 ac_status=$?
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); }; }; then
41753 glibcxx_cv_func_expl_use=yes
41754 else
41755 echo "$as_me: failed program was:" >&5
41756 sed 's/^/| /' conftest.$ac_ext >&5
41758 glibcxx_cv_func_expl_use=no
41760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41761 ac_ext=c
41762 ac_cpp='$CPP $CPPFLAGS'
41763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
41772 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
41774 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41776 for ac_func in expl
41778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41779 echo "$as_me:$LINENO: checking for $ac_func" >&5
41780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41781 if eval "test \"\${$as_ac_var+set}\" = set"; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 else
41784 if test x$gcc_no_link = xyes; then
41785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41787 { (exit 1); exit 1; }; }
41789 cat >conftest.$ac_ext <<_ACEOF
41790 /* confdefs.h. */
41791 _ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41797 #define $ac_func innocuous_$ac_func
41799 /* System header to define __stub macros and hopefully few prototypes,
41800 which can conflict with char $ac_func (); below.
41801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41802 <limits.h> exists even on freestanding compilers. */
41804 #ifdef __STDC__
41805 # include <limits.h>
41806 #else
41807 # include <assert.h>
41808 #endif
41810 #undef $ac_func
41812 /* Override any gcc2 internal prototype to avoid an error. */
41813 #ifdef __cplusplus
41814 extern "C"
41816 #endif
41817 /* We use char because int might match the return type of a gcc2
41818 builtin and then its argument prototype would still apply. */
41819 char $ac_func ();
41820 /* The GNU C library defines this for functions which it implements
41821 to always fail with ENOSYS. Some functions are actually named
41822 something starting with __ and the normal name is an alias. */
41823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41824 choke me
41825 #else
41826 char (*f) () = $ac_func;
41827 #endif
41828 #ifdef __cplusplus
41830 #endif
41833 main ()
41835 return f != $ac_func;
41837 return 0;
41839 _ACEOF
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41842 (eval $ac_link) 2>conftest.er1
41843 ac_status=$?
41844 grep -v '^ *+' conftest.er1 >conftest.err
41845 rm -f conftest.er1
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } &&
41849 { ac_try='test -z "$ac_c_werror_flag"
41850 || test ! -s conftest.err'
41851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41852 (eval $ac_try) 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; } &&
41856 { ac_try='test -s conftest$ac_exeext'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41859 ac_status=$?
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; }; then
41862 eval "$as_ac_var=yes"
41863 else
41864 echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.$ac_ext >&5
41867 eval "$as_ac_var=no"
41869 rm -f conftest.err conftest.$ac_objext \
41870 conftest$ac_exeext conftest.$ac_ext
41872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41874 if test `eval echo '${'$as_ac_var'}'` = yes; then
41875 cat >>confdefs.h <<_ACEOF
41876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41877 _ACEOF
41880 done
41882 else
41884 echo "$as_me:$LINENO: checking for _expl declaration" >&5
41885 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
41886 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41887 if test "${glibcxx_cv_func__expl_use+set}" = set; then
41888 echo $ECHO_N "(cached) $ECHO_C" >&6
41889 else
41893 ac_ext=cc
41894 ac_cpp='$CXXCPP $CPPFLAGS'
41895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41899 cat >conftest.$ac_ext <<_ACEOF
41900 /* confdefs.h. */
41901 _ACEOF
41902 cat confdefs.h >>conftest.$ac_ext
41903 cat >>conftest.$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 #include <math.h>
41906 #ifdef HAVE_IEEEFP_H
41907 #include <ieeefp.h>
41908 #endif
41911 main ()
41913 _expl(0);
41915 return 0;
41917 _ACEOF
41918 rm -f conftest.$ac_objext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41920 (eval $ac_compile) 2>conftest.er1
41921 ac_status=$?
41922 grep -v '^ *+' conftest.er1 >conftest.err
41923 rm -f conftest.er1
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } &&
41927 { ac_try='test -z "$ac_cxx_werror_flag"
41928 || test ! -s conftest.err'
41929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41930 (eval $ac_try) 2>&5
41931 ac_status=$?
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); }; } &&
41934 { ac_try='test -s conftest.$ac_objext'
41935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41936 (eval $ac_try) 2>&5
41937 ac_status=$?
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); }; }; then
41940 glibcxx_cv_func__expl_use=yes
41941 else
41942 echo "$as_me: failed program was:" >&5
41943 sed 's/^/| /' conftest.$ac_ext >&5
41945 glibcxx_cv_func__expl_use=no
41947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41948 ac_ext=c
41949 ac_cpp='$CPP $CPPFLAGS'
41950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
41959 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
41961 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41963 for ac_func in _expl
41965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41966 echo "$as_me:$LINENO: checking for $ac_func" >&5
41967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41968 if eval "test \"\${$as_ac_var+set}\" = set"; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41970 else
41971 if test x$gcc_no_link = xyes; then
41972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41974 { (exit 1); exit 1; }; }
41976 cat >conftest.$ac_ext <<_ACEOF
41977 /* confdefs.h. */
41978 _ACEOF
41979 cat confdefs.h >>conftest.$ac_ext
41980 cat >>conftest.$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41984 #define $ac_func innocuous_$ac_func
41986 /* System header to define __stub macros and hopefully few prototypes,
41987 which can conflict with char $ac_func (); below.
41988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41989 <limits.h> exists even on freestanding compilers. */
41991 #ifdef __STDC__
41992 # include <limits.h>
41993 #else
41994 # include <assert.h>
41995 #endif
41997 #undef $ac_func
41999 /* Override any gcc2 internal prototype to avoid an error. */
42000 #ifdef __cplusplus
42001 extern "C"
42003 #endif
42004 /* We use char because int might match the return type of a gcc2
42005 builtin and then its argument prototype would still apply. */
42006 char $ac_func ();
42007 /* The GNU C library defines this for functions which it implements
42008 to always fail with ENOSYS. Some functions are actually named
42009 something starting with __ and the normal name is an alias. */
42010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42011 choke me
42012 #else
42013 char (*f) () = $ac_func;
42014 #endif
42015 #ifdef __cplusplus
42017 #endif
42020 main ()
42022 return f != $ac_func;
42024 return 0;
42026 _ACEOF
42027 rm -f conftest.$ac_objext conftest$ac_exeext
42028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42029 (eval $ac_link) 2>conftest.er1
42030 ac_status=$?
42031 grep -v '^ *+' conftest.er1 >conftest.err
42032 rm -f conftest.er1
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } &&
42036 { ac_try='test -z "$ac_c_werror_flag"
42037 || test ! -s conftest.err'
42038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42039 (eval $ac_try) 2>&5
42040 ac_status=$?
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); }; } &&
42043 { ac_try='test -s conftest$ac_exeext'
42044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42045 (eval $ac_try) 2>&5
42046 ac_status=$?
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; }; then
42049 eval "$as_ac_var=yes"
42050 else
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42054 eval "$as_ac_var=no"
42056 rm -f conftest.err conftest.$ac_objext \
42057 conftest$ac_exeext conftest.$ac_ext
42059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42061 if test `eval echo '${'$as_ac_var'}'` = yes; then
42062 cat >>confdefs.h <<_ACEOF
42063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42064 _ACEOF
42067 done
42074 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42075 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42076 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42077 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42083 ac_ext=cc
42084 ac_cpp='$CXXCPP $CPPFLAGS'
42085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42089 cat >conftest.$ac_ext <<_ACEOF
42090 /* confdefs.h. */
42091 _ACEOF
42092 cat confdefs.h >>conftest.$ac_ext
42093 cat >>conftest.$ac_ext <<_ACEOF
42094 /* end confdefs.h. */
42095 #include <math.h>
42096 #ifdef HAVE_IEEEFP_H
42097 #include <ieeefp.h>
42098 #endif
42101 main ()
42103 fabsl(0);
42105 return 0;
42107 _ACEOF
42108 rm -f conftest.$ac_objext
42109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42110 (eval $ac_compile) 2>conftest.er1
42111 ac_status=$?
42112 grep -v '^ *+' conftest.er1 >conftest.err
42113 rm -f conftest.er1
42114 cat conftest.err >&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); } &&
42117 { ac_try='test -z "$ac_cxx_werror_flag"
42118 || test ! -s conftest.err'
42119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42120 (eval $ac_try) 2>&5
42121 ac_status=$?
42122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42123 (exit $ac_status); }; } &&
42124 { ac_try='test -s conftest.$ac_objext'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; }; then
42130 glibcxx_cv_func_fabsl_use=yes
42131 else
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42135 glibcxx_cv_func_fabsl_use=no
42137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
42149 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
42151 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42153 for ac_func in fabsl
42155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42156 echo "$as_me:$LINENO: checking for $ac_func" >&5
42157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42158 if eval "test \"\${$as_ac_var+set}\" = set"; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161 if test x$gcc_no_link = xyes; then
42162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42164 { (exit 1); exit 1; }; }
42166 cat >conftest.$ac_ext <<_ACEOF
42167 /* confdefs.h. */
42168 _ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define $ac_func innocuous_$ac_func
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char $ac_func (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42181 #ifdef __STDC__
42182 # include <limits.h>
42183 #else
42184 # include <assert.h>
42185 #endif
42187 #undef $ac_func
42189 /* Override any gcc2 internal prototype to avoid an error. */
42190 #ifdef __cplusplus
42191 extern "C"
42193 #endif
42194 /* We use char because int might match the return type of a gcc2
42195 builtin and then its argument prototype would still apply. */
42196 char $ac_func ();
42197 /* The GNU C library defines this for functions which it implements
42198 to always fail with ENOSYS. Some functions are actually named
42199 something starting with __ and the normal name is an alias. */
42200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42201 choke me
42202 #else
42203 char (*f) () = $ac_func;
42204 #endif
42205 #ifdef __cplusplus
42207 #endif
42210 main ()
42212 return f != $ac_func;
42214 return 0;
42216 _ACEOF
42217 rm -f conftest.$ac_objext conftest$ac_exeext
42218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42219 (eval $ac_link) 2>conftest.er1
42220 ac_status=$?
42221 grep -v '^ *+' conftest.er1 >conftest.err
42222 rm -f conftest.er1
42223 cat conftest.err >&5
42224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225 (exit $ac_status); } &&
42226 { ac_try='test -z "$ac_c_werror_flag"
42227 || test ! -s conftest.err'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42230 ac_status=$?
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; } &&
42233 { ac_try='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 eval "$as_ac_var=yes"
42240 else
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.$ac_ext >&5
42244 eval "$as_ac_var=no"
42246 rm -f conftest.err conftest.$ac_objext \
42247 conftest$ac_exeext conftest.$ac_ext
42249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42251 if test `eval echo '${'$as_ac_var'}'` = yes; then
42252 cat >>confdefs.h <<_ACEOF
42253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42254 _ACEOF
42257 done
42259 else
42261 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
42262 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
42263 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42264 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42266 else
42270 ac_ext=cc
42271 ac_cpp='$CXXCPP $CPPFLAGS'
42272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42276 cat >conftest.$ac_ext <<_ACEOF
42277 /* confdefs.h. */
42278 _ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42282 #include <math.h>
42283 #ifdef HAVE_IEEEFP_H
42284 #include <ieeefp.h>
42285 #endif
42288 main ()
42290 _fabsl(0);
42292 return 0;
42294 _ACEOF
42295 rm -f conftest.$ac_objext
42296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42297 (eval $ac_compile) 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } &&
42304 { ac_try='test -z "$ac_cxx_werror_flag"
42305 || test ! -s conftest.err'
42306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42307 (eval $ac_try) 2>&5
42308 ac_status=$?
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); }; } &&
42311 { ac_try='test -s conftest.$ac_objext'
42312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42313 (eval $ac_try) 2>&5
42314 ac_status=$?
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); }; }; then
42317 glibcxx_cv_func__fabsl_use=yes
42318 else
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42322 glibcxx_cv_func__fabsl_use=no
42324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42325 ac_ext=c
42326 ac_cpp='$CPP $CPPFLAGS'
42327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
42336 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
42338 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42340 for ac_func in _fabsl
42342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42343 echo "$as_me:$LINENO: checking for $ac_func" >&5
42344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42345 if eval "test \"\${$as_ac_var+set}\" = set"; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42347 else
42348 if test x$gcc_no_link = xyes; then
42349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42351 { (exit 1); exit 1; }; }
42353 cat >conftest.$ac_ext <<_ACEOF
42354 /* confdefs.h. */
42355 _ACEOF
42356 cat confdefs.h >>conftest.$ac_ext
42357 cat >>conftest.$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42361 #define $ac_func innocuous_$ac_func
42363 /* System header to define __stub macros and hopefully few prototypes,
42364 which can conflict with char $ac_func (); below.
42365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42366 <limits.h> exists even on freestanding compilers. */
42368 #ifdef __STDC__
42369 # include <limits.h>
42370 #else
42371 # include <assert.h>
42372 #endif
42374 #undef $ac_func
42376 /* Override any gcc2 internal prototype to avoid an error. */
42377 #ifdef __cplusplus
42378 extern "C"
42380 #endif
42381 /* We use char because int might match the return type of a gcc2
42382 builtin and then its argument prototype would still apply. */
42383 char $ac_func ();
42384 /* The GNU C library defines this for functions which it implements
42385 to always fail with ENOSYS. Some functions are actually named
42386 something starting with __ and the normal name is an alias. */
42387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42388 choke me
42389 #else
42390 char (*f) () = $ac_func;
42391 #endif
42392 #ifdef __cplusplus
42394 #endif
42397 main ()
42399 return f != $ac_func;
42401 return 0;
42403 _ACEOF
42404 rm -f conftest.$ac_objext conftest$ac_exeext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42406 (eval $ac_link) 2>conftest.er1
42407 ac_status=$?
42408 grep -v '^ *+' conftest.er1 >conftest.err
42409 rm -f conftest.er1
42410 cat conftest.err >&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } &&
42413 { ac_try='test -z "$ac_c_werror_flag"
42414 || test ! -s conftest.err'
42415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42416 (eval $ac_try) 2>&5
42417 ac_status=$?
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); }; } &&
42420 { ac_try='test -s conftest$ac_exeext'
42421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42422 (eval $ac_try) 2>&5
42423 ac_status=$?
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; }; then
42426 eval "$as_ac_var=yes"
42427 else
42428 echo "$as_me: failed program was:" >&5
42429 sed 's/^/| /' conftest.$ac_ext >&5
42431 eval "$as_ac_var=no"
42433 rm -f conftest.err conftest.$ac_objext \
42434 conftest$ac_exeext conftest.$ac_ext
42436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42438 if test `eval echo '${'$as_ac_var'}'` = yes; then
42439 cat >>confdefs.h <<_ACEOF
42440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42441 _ACEOF
42444 done
42451 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
42452 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
42453 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42454 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
42455 echo $ECHO_N "(cached) $ECHO_C" >&6
42456 else
42460 ac_ext=cc
42461 ac_cpp='$CXXCPP $CPPFLAGS'
42462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42466 cat >conftest.$ac_ext <<_ACEOF
42467 /* confdefs.h. */
42468 _ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 #include <math.h>
42474 main ()
42476 fmodl(0, 0);
42478 return 0;
42480 _ACEOF
42481 rm -f conftest.$ac_objext
42482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42483 (eval $ac_compile) 2>conftest.er1
42484 ac_status=$?
42485 grep -v '^ *+' conftest.er1 >conftest.err
42486 rm -f conftest.er1
42487 cat conftest.err >&5
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); } &&
42490 { ac_try='test -z "$ac_cxx_werror_flag"
42491 || test ! -s conftest.err'
42492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42493 (eval $ac_try) 2>&5
42494 ac_status=$?
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); }; } &&
42497 { ac_try='test -s conftest.$ac_objext'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42500 ac_status=$?
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; }; then
42503 glibcxx_cv_func_fmodl_use=yes
42504 else
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.$ac_ext >&5
42508 glibcxx_cv_func_fmodl_use=no
42510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42511 ac_ext=c
42512 ac_cpp='$CPP $CPPFLAGS'
42513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
42522 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
42524 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42526 for ac_func in fmodl
42528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42529 echo "$as_me:$LINENO: checking for $ac_func" >&5
42530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42531 if eval "test \"\${$as_ac_var+set}\" = set"; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 else
42534 if test x$gcc_no_link = xyes; then
42535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42537 { (exit 1); exit 1; }; }
42539 cat >conftest.$ac_ext <<_ACEOF
42540 /* confdefs.h. */
42541 _ACEOF
42542 cat confdefs.h >>conftest.$ac_ext
42543 cat >>conftest.$ac_ext <<_ACEOF
42544 /* end confdefs.h. */
42545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42547 #define $ac_func innocuous_$ac_func
42549 /* System header to define __stub macros and hopefully few prototypes,
42550 which can conflict with char $ac_func (); below.
42551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42552 <limits.h> exists even on freestanding compilers. */
42554 #ifdef __STDC__
42555 # include <limits.h>
42556 #else
42557 # include <assert.h>
42558 #endif
42560 #undef $ac_func
42562 /* Override any gcc2 internal prototype to avoid an error. */
42563 #ifdef __cplusplus
42564 extern "C"
42566 #endif
42567 /* We use char because int might match the return type of a gcc2
42568 builtin and then its argument prototype would still apply. */
42569 char $ac_func ();
42570 /* The GNU C library defines this for functions which it implements
42571 to always fail with ENOSYS. Some functions are actually named
42572 something starting with __ and the normal name is an alias. */
42573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42574 choke me
42575 #else
42576 char (*f) () = $ac_func;
42577 #endif
42578 #ifdef __cplusplus
42580 #endif
42583 main ()
42585 return f != $ac_func;
42587 return 0;
42589 _ACEOF
42590 rm -f conftest.$ac_objext conftest$ac_exeext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42592 (eval $ac_link) 2>conftest.er1
42593 ac_status=$?
42594 grep -v '^ *+' conftest.er1 >conftest.err
42595 rm -f conftest.er1
42596 cat conftest.err >&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); } &&
42599 { ac_try='test -z "$ac_c_werror_flag"
42600 || test ! -s conftest.err'
42601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602 (eval $ac_try) 2>&5
42603 ac_status=$?
42604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605 (exit $ac_status); }; } &&
42606 { ac_try='test -s conftest$ac_exeext'
42607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42608 (eval $ac_try) 2>&5
42609 ac_status=$?
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); }; }; then
42612 eval "$as_ac_var=yes"
42613 else
42614 echo "$as_me: failed program was:" >&5
42615 sed 's/^/| /' conftest.$ac_ext >&5
42617 eval "$as_ac_var=no"
42619 rm -f conftest.err conftest.$ac_objext \
42620 conftest$ac_exeext conftest.$ac_ext
42622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42624 if test `eval echo '${'$as_ac_var'}'` = yes; then
42625 cat >>confdefs.h <<_ACEOF
42626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42627 _ACEOF
42630 done
42632 else
42634 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
42635 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
42636 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42637 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 else
42643 ac_ext=cc
42644 ac_cpp='$CXXCPP $CPPFLAGS'
42645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42649 cat >conftest.$ac_ext <<_ACEOF
42650 /* confdefs.h. */
42651 _ACEOF
42652 cat confdefs.h >>conftest.$ac_ext
42653 cat >>conftest.$ac_ext <<_ACEOF
42654 /* end confdefs.h. */
42655 #include <math.h>
42657 main ()
42659 _fmodl(0, 0);
42661 return 0;
42663 _ACEOF
42664 rm -f conftest.$ac_objext
42665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42666 (eval $ac_compile) 2>conftest.er1
42667 ac_status=$?
42668 grep -v '^ *+' conftest.er1 >conftest.err
42669 rm -f conftest.er1
42670 cat conftest.err >&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } &&
42673 { ac_try='test -z "$ac_cxx_werror_flag"
42674 || test ! -s conftest.err'
42675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42676 (eval $ac_try) 2>&5
42677 ac_status=$?
42678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42679 (exit $ac_status); }; } &&
42680 { ac_try='test -s conftest.$ac_objext'
42681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42682 (eval $ac_try) 2>&5
42683 ac_status=$?
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); }; }; then
42686 glibcxx_cv_func__fmodl_use=yes
42687 else
42688 echo "$as_me: failed program was:" >&5
42689 sed 's/^/| /' conftest.$ac_ext >&5
42691 glibcxx_cv_func__fmodl_use=no
42693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42694 ac_ext=c
42695 ac_cpp='$CPP $CPPFLAGS'
42696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
42705 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
42707 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42709 for ac_func in _fmodl
42711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42712 echo "$as_me:$LINENO: checking for $ac_func" >&5
42713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42714 if eval "test \"\${$as_ac_var+set}\" = set"; then
42715 echo $ECHO_N "(cached) $ECHO_C" >&6
42716 else
42717 if test x$gcc_no_link = xyes; then
42718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42720 { (exit 1); exit 1; }; }
42722 cat >conftest.$ac_ext <<_ACEOF
42723 /* confdefs.h. */
42724 _ACEOF
42725 cat confdefs.h >>conftest.$ac_ext
42726 cat >>conftest.$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42730 #define $ac_func innocuous_$ac_func
42732 /* System header to define __stub macros and hopefully few prototypes,
42733 which can conflict with char $ac_func (); below.
42734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42735 <limits.h> exists even on freestanding compilers. */
42737 #ifdef __STDC__
42738 # include <limits.h>
42739 #else
42740 # include <assert.h>
42741 #endif
42743 #undef $ac_func
42745 /* Override any gcc2 internal prototype to avoid an error. */
42746 #ifdef __cplusplus
42747 extern "C"
42749 #endif
42750 /* We use char because int might match the return type of a gcc2
42751 builtin and then its argument prototype would still apply. */
42752 char $ac_func ();
42753 /* The GNU C library defines this for functions which it implements
42754 to always fail with ENOSYS. Some functions are actually named
42755 something starting with __ and the normal name is an alias. */
42756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42757 choke me
42758 #else
42759 char (*f) () = $ac_func;
42760 #endif
42761 #ifdef __cplusplus
42763 #endif
42766 main ()
42768 return f != $ac_func;
42770 return 0;
42772 _ACEOF
42773 rm -f conftest.$ac_objext conftest$ac_exeext
42774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42775 (eval $ac_link) 2>conftest.er1
42776 ac_status=$?
42777 grep -v '^ *+' conftest.er1 >conftest.err
42778 rm -f conftest.er1
42779 cat conftest.err >&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } &&
42782 { ac_try='test -z "$ac_c_werror_flag"
42783 || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 eval "$as_ac_var=yes"
42796 else
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42800 eval "$as_ac_var=no"
42802 rm -f conftest.err conftest.$ac_objext \
42803 conftest$ac_exeext conftest.$ac_ext
42805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42807 if test `eval echo '${'$as_ac_var'}'` = yes; then
42808 cat >>confdefs.h <<_ACEOF
42809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42810 _ACEOF
42813 done
42820 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
42821 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
42822 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42823 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
42824 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 else
42829 ac_ext=cc
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42835 cat >conftest.$ac_ext <<_ACEOF
42836 /* confdefs.h. */
42837 _ACEOF
42838 cat confdefs.h >>conftest.$ac_ext
42839 cat >>conftest.$ac_ext <<_ACEOF
42840 /* end confdefs.h. */
42841 #include <math.h>
42843 main ()
42845 frexpl(0, 0);
42847 return 0;
42849 _ACEOF
42850 rm -f conftest.$ac_objext
42851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42852 (eval $ac_compile) 2>conftest.er1
42853 ac_status=$?
42854 grep -v '^ *+' conftest.er1 >conftest.err
42855 rm -f conftest.er1
42856 cat conftest.err >&5
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); } &&
42859 { ac_try='test -z "$ac_cxx_werror_flag"
42860 || test ! -s conftest.err'
42861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42862 (eval $ac_try) 2>&5
42863 ac_status=$?
42864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42865 (exit $ac_status); }; } &&
42866 { ac_try='test -s conftest.$ac_objext'
42867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42868 (eval $ac_try) 2>&5
42869 ac_status=$?
42870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42871 (exit $ac_status); }; }; then
42872 glibcxx_cv_func_frexpl_use=yes
42873 else
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42877 glibcxx_cv_func_frexpl_use=no
42879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42880 ac_ext=c
42881 ac_cpp='$CPP $CPPFLAGS'
42882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
42891 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
42893 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42895 for ac_func in frexpl
42897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42898 echo "$as_me:$LINENO: checking for $ac_func" >&5
42899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42900 if eval "test \"\${$as_ac_var+set}\" = set"; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42902 else
42903 if test x$gcc_no_link = xyes; then
42904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42906 { (exit 1); exit 1; }; }
42908 cat >conftest.$ac_ext <<_ACEOF
42909 /* confdefs.h. */
42910 _ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42916 #define $ac_func innocuous_$ac_func
42918 /* System header to define __stub macros and hopefully few prototypes,
42919 which can conflict with char $ac_func (); below.
42920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42921 <limits.h> exists even on freestanding compilers. */
42923 #ifdef __STDC__
42924 # include <limits.h>
42925 #else
42926 # include <assert.h>
42927 #endif
42929 #undef $ac_func
42931 /* Override any gcc2 internal prototype to avoid an error. */
42932 #ifdef __cplusplus
42933 extern "C"
42935 #endif
42936 /* We use char because int might match the return type of a gcc2
42937 builtin and then its argument prototype would still apply. */
42938 char $ac_func ();
42939 /* The GNU C library defines this for functions which it implements
42940 to always fail with ENOSYS. Some functions are actually named
42941 something starting with __ and the normal name is an alias. */
42942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42943 choke me
42944 #else
42945 char (*f) () = $ac_func;
42946 #endif
42947 #ifdef __cplusplus
42949 #endif
42952 main ()
42954 return f != $ac_func;
42956 return 0;
42958 _ACEOF
42959 rm -f conftest.$ac_objext conftest$ac_exeext
42960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42961 (eval $ac_link) 2>conftest.er1
42962 ac_status=$?
42963 grep -v '^ *+' conftest.er1 >conftest.err
42964 rm -f conftest.er1
42965 cat conftest.err >&5
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); } &&
42968 { ac_try='test -z "$ac_c_werror_flag"
42969 || test ! -s conftest.err'
42970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42971 (eval $ac_try) 2>&5
42972 ac_status=$?
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); }; } &&
42975 { ac_try='test -s conftest$ac_exeext'
42976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42977 (eval $ac_try) 2>&5
42978 ac_status=$?
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); }; }; then
42981 eval "$as_ac_var=yes"
42982 else
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42986 eval "$as_ac_var=no"
42988 rm -f conftest.err conftest.$ac_objext \
42989 conftest$ac_exeext conftest.$ac_ext
42991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42993 if test `eval echo '${'$as_ac_var'}'` = yes; then
42994 cat >>confdefs.h <<_ACEOF
42995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42996 _ACEOF
42999 done
43001 else
43003 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43004 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43005 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43006 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43007 echo $ECHO_N "(cached) $ECHO_C" >&6
43008 else
43012 ac_ext=cc
43013 ac_cpp='$CXXCPP $CPPFLAGS'
43014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43018 cat >conftest.$ac_ext <<_ACEOF
43019 /* confdefs.h. */
43020 _ACEOF
43021 cat confdefs.h >>conftest.$ac_ext
43022 cat >>conftest.$ac_ext <<_ACEOF
43023 /* end confdefs.h. */
43024 #include <math.h>
43026 main ()
43028 _frexpl(0, 0);
43030 return 0;
43032 _ACEOF
43033 rm -f conftest.$ac_objext
43034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43035 (eval $ac_compile) 2>conftest.er1
43036 ac_status=$?
43037 grep -v '^ *+' conftest.er1 >conftest.err
43038 rm -f conftest.er1
43039 cat conftest.err >&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); } &&
43042 { ac_try='test -z "$ac_cxx_werror_flag"
43043 || test ! -s conftest.err'
43044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43045 (eval $ac_try) 2>&5
43046 ac_status=$?
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; } &&
43049 { ac_try='test -s conftest.$ac_objext'
43050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43051 (eval $ac_try) 2>&5
43052 ac_status=$?
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; }; then
43055 glibcxx_cv_func__frexpl_use=yes
43056 else
43057 echo "$as_me: failed program was:" >&5
43058 sed 's/^/| /' conftest.$ac_ext >&5
43060 glibcxx_cv_func__frexpl_use=no
43062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43063 ac_ext=c
43064 ac_cpp='$CPP $CPPFLAGS'
43065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43074 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43076 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43078 for ac_func in _frexpl
43080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43081 echo "$as_me:$LINENO: checking for $ac_func" >&5
43082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43083 if eval "test \"\${$as_ac_var+set}\" = set"; then
43084 echo $ECHO_N "(cached) $ECHO_C" >&6
43085 else
43086 if test x$gcc_no_link = xyes; then
43087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43089 { (exit 1); exit 1; }; }
43091 cat >conftest.$ac_ext <<_ACEOF
43092 /* confdefs.h. */
43093 _ACEOF
43094 cat confdefs.h >>conftest.$ac_ext
43095 cat >>conftest.$ac_ext <<_ACEOF
43096 /* end confdefs.h. */
43097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43099 #define $ac_func innocuous_$ac_func
43101 /* System header to define __stub macros and hopefully few prototypes,
43102 which can conflict with char $ac_func (); below.
43103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43104 <limits.h> exists even on freestanding compilers. */
43106 #ifdef __STDC__
43107 # include <limits.h>
43108 #else
43109 # include <assert.h>
43110 #endif
43112 #undef $ac_func
43114 /* Override any gcc2 internal prototype to avoid an error. */
43115 #ifdef __cplusplus
43116 extern "C"
43118 #endif
43119 /* We use char because int might match the return type of a gcc2
43120 builtin and then its argument prototype would still apply. */
43121 char $ac_func ();
43122 /* The GNU C library defines this for functions which it implements
43123 to always fail with ENOSYS. Some functions are actually named
43124 something starting with __ and the normal name is an alias. */
43125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43126 choke me
43127 #else
43128 char (*f) () = $ac_func;
43129 #endif
43130 #ifdef __cplusplus
43132 #endif
43135 main ()
43137 return f != $ac_func;
43139 return 0;
43141 _ACEOF
43142 rm -f conftest.$ac_objext conftest$ac_exeext
43143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43144 (eval $ac_link) 2>conftest.er1
43145 ac_status=$?
43146 grep -v '^ *+' conftest.er1 >conftest.err
43147 rm -f conftest.er1
43148 cat conftest.err >&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } &&
43151 { ac_try='test -z "$ac_c_werror_flag"
43152 || test ! -s conftest.err'
43153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43154 (eval $ac_try) 2>&5
43155 ac_status=$?
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; } &&
43158 { ac_try='test -s conftest$ac_exeext'
43159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43160 (eval $ac_try) 2>&5
43161 ac_status=$?
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); }; }; then
43164 eval "$as_ac_var=yes"
43165 else
43166 echo "$as_me: failed program was:" >&5
43167 sed 's/^/| /' conftest.$ac_ext >&5
43169 eval "$as_ac_var=no"
43171 rm -f conftest.err conftest.$ac_objext \
43172 conftest$ac_exeext conftest.$ac_ext
43174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43176 if test `eval echo '${'$as_ac_var'}'` = yes; then
43177 cat >>confdefs.h <<_ACEOF
43178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43179 _ACEOF
43182 done
43189 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
43190 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
43191 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43192 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43194 else
43198 ac_ext=cc
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43204 cat >conftest.$ac_ext <<_ACEOF
43205 /* confdefs.h. */
43206 _ACEOF
43207 cat confdefs.h >>conftest.$ac_ext
43208 cat >>conftest.$ac_ext <<_ACEOF
43209 /* end confdefs.h. */
43210 #include <math.h>
43212 main ()
43214 hypotl(0, 0);
43216 return 0;
43218 _ACEOF
43219 rm -f conftest.$ac_objext
43220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43221 (eval $ac_compile) 2>conftest.er1
43222 ac_status=$?
43223 grep -v '^ *+' conftest.er1 >conftest.err
43224 rm -f conftest.er1
43225 cat conftest.err >&5
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); } &&
43228 { ac_try='test -z "$ac_cxx_werror_flag"
43229 || test ! -s conftest.err'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43232 ac_status=$?
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; } &&
43235 { ac_try='test -s conftest.$ac_objext'
43236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237 (eval $ac_try) 2>&5
43238 ac_status=$?
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); }; }; then
43241 glibcxx_cv_func_hypotl_use=yes
43242 else
43243 echo "$as_me: failed program was:" >&5
43244 sed 's/^/| /' conftest.$ac_ext >&5
43246 glibcxx_cv_func_hypotl_use=no
43248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
43260 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
43262 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43264 for ac_func in hypotl
43266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43267 echo "$as_me:$LINENO: checking for $ac_func" >&5
43268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43269 if eval "test \"\${$as_ac_var+set}\" = set"; then
43270 echo $ECHO_N "(cached) $ECHO_C" >&6
43271 else
43272 if test x$gcc_no_link = xyes; then
43273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43275 { (exit 1); exit 1; }; }
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43285 #define $ac_func innocuous_$ac_func
43287 /* System header to define __stub macros and hopefully few prototypes,
43288 which can conflict with char $ac_func (); below.
43289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43290 <limits.h> exists even on freestanding compilers. */
43292 #ifdef __STDC__
43293 # include <limits.h>
43294 #else
43295 # include <assert.h>
43296 #endif
43298 #undef $ac_func
43300 /* Override any gcc2 internal prototype to avoid an error. */
43301 #ifdef __cplusplus
43302 extern "C"
43304 #endif
43305 /* We use char because int might match the return type of a gcc2
43306 builtin and then its argument prototype would still apply. */
43307 char $ac_func ();
43308 /* The GNU C library defines this for functions which it implements
43309 to always fail with ENOSYS. Some functions are actually named
43310 something starting with __ and the normal name is an alias. */
43311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43312 choke me
43313 #else
43314 char (*f) () = $ac_func;
43315 #endif
43316 #ifdef __cplusplus
43318 #endif
43321 main ()
43323 return f != $ac_func;
43325 return 0;
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43330 (eval $ac_link) 2>conftest.er1
43331 ac_status=$?
43332 grep -v '^ *+' conftest.er1 >conftest.err
43333 rm -f conftest.er1
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } &&
43337 { ac_try='test -z "$ac_c_werror_flag"
43338 || test ! -s conftest.err'
43339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43340 (eval $ac_try) 2>&5
43341 ac_status=$?
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); }; } &&
43344 { ac_try='test -s conftest$ac_exeext'
43345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43346 (eval $ac_try) 2>&5
43347 ac_status=$?
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 eval "$as_ac_var=yes"
43351 else
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43355 eval "$as_ac_var=no"
43357 rm -f conftest.err conftest.$ac_objext \
43358 conftest$ac_exeext conftest.$ac_ext
43360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43362 if test `eval echo '${'$as_ac_var'}'` = yes; then
43363 cat >>confdefs.h <<_ACEOF
43364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43365 _ACEOF
43368 done
43370 else
43372 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
43373 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
43374 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43375 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
43376 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 else
43381 ac_ext=cc
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 #include <math.h>
43395 main ()
43397 _hypotl(0, 0);
43399 return 0;
43401 _ACEOF
43402 rm -f conftest.$ac_objext
43403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43404 (eval $ac_compile) 2>conftest.er1
43405 ac_status=$?
43406 grep -v '^ *+' conftest.er1 >conftest.err
43407 rm -f conftest.er1
43408 cat conftest.err >&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); } &&
43411 { ac_try='test -z "$ac_cxx_werror_flag"
43412 || test ! -s conftest.err'
43413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43414 (eval $ac_try) 2>&5
43415 ac_status=$?
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; } &&
43418 { ac_try='test -s conftest.$ac_objext'
43419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43420 (eval $ac_try) 2>&5
43421 ac_status=$?
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); }; }; then
43424 glibcxx_cv_func__hypotl_use=yes
43425 else
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43429 glibcxx_cv_func__hypotl_use=no
43431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
43443 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
43445 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43447 for ac_func in _hypotl
43449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43450 echo "$as_me:$LINENO: checking for $ac_func" >&5
43451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43452 if eval "test \"\${$as_ac_var+set}\" = set"; then
43453 echo $ECHO_N "(cached) $ECHO_C" >&6
43454 else
43455 if test x$gcc_no_link = xyes; then
43456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43458 { (exit 1); exit 1; }; }
43460 cat >conftest.$ac_ext <<_ACEOF
43461 /* confdefs.h. */
43462 _ACEOF
43463 cat confdefs.h >>conftest.$ac_ext
43464 cat >>conftest.$ac_ext <<_ACEOF
43465 /* end confdefs.h. */
43466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43468 #define $ac_func innocuous_$ac_func
43470 /* System header to define __stub macros and hopefully few prototypes,
43471 which can conflict with char $ac_func (); below.
43472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43473 <limits.h> exists even on freestanding compilers. */
43475 #ifdef __STDC__
43476 # include <limits.h>
43477 #else
43478 # include <assert.h>
43479 #endif
43481 #undef $ac_func
43483 /* Override any gcc2 internal prototype to avoid an error. */
43484 #ifdef __cplusplus
43485 extern "C"
43487 #endif
43488 /* We use char because int might match the return type of a gcc2
43489 builtin and then its argument prototype would still apply. */
43490 char $ac_func ();
43491 /* The GNU C library defines this for functions which it implements
43492 to always fail with ENOSYS. Some functions are actually named
43493 something starting with __ and the normal name is an alias. */
43494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43495 choke me
43496 #else
43497 char (*f) () = $ac_func;
43498 #endif
43499 #ifdef __cplusplus
43501 #endif
43504 main ()
43506 return f != $ac_func;
43508 return 0;
43510 _ACEOF
43511 rm -f conftest.$ac_objext conftest$ac_exeext
43512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43513 (eval $ac_link) 2>conftest.er1
43514 ac_status=$?
43515 grep -v '^ *+' conftest.er1 >conftest.err
43516 rm -f conftest.er1
43517 cat conftest.err >&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); } &&
43520 { ac_try='test -z "$ac_c_werror_flag"
43521 || test ! -s conftest.err'
43522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43523 (eval $ac_try) 2>&5
43524 ac_status=$?
43525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43526 (exit $ac_status); }; } &&
43527 { ac_try='test -s conftest$ac_exeext'
43528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43529 (eval $ac_try) 2>&5
43530 ac_status=$?
43531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43532 (exit $ac_status); }; }; then
43533 eval "$as_ac_var=yes"
43534 else
43535 echo "$as_me: failed program was:" >&5
43536 sed 's/^/| /' conftest.$ac_ext >&5
43538 eval "$as_ac_var=no"
43540 rm -f conftest.err conftest.$ac_objext \
43541 conftest$ac_exeext conftest.$ac_ext
43543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43545 if test `eval echo '${'$as_ac_var'}'` = yes; then
43546 cat >>confdefs.h <<_ACEOF
43547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43548 _ACEOF
43551 done
43558 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
43559 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
43560 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43561 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
43562 echo $ECHO_N "(cached) $ECHO_C" >&6
43563 else
43567 ac_ext=cc
43568 ac_cpp='$CXXCPP $CPPFLAGS'
43569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43573 cat >conftest.$ac_ext <<_ACEOF
43574 /* confdefs.h. */
43575 _ACEOF
43576 cat confdefs.h >>conftest.$ac_ext
43577 cat >>conftest.$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43579 #include <math.h>
43581 main ()
43583 ldexpl(0, 0);
43585 return 0;
43587 _ACEOF
43588 rm -f conftest.$ac_objext
43589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43590 (eval $ac_compile) 2>conftest.er1
43591 ac_status=$?
43592 grep -v '^ *+' conftest.er1 >conftest.err
43593 rm -f conftest.er1
43594 cat conftest.err >&5
43595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43596 (exit $ac_status); } &&
43597 { ac_try='test -z "$ac_cxx_werror_flag"
43598 || test ! -s conftest.err'
43599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43600 (eval $ac_try) 2>&5
43601 ac_status=$?
43602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43603 (exit $ac_status); }; } &&
43604 { ac_try='test -s conftest.$ac_objext'
43605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43606 (eval $ac_try) 2>&5
43607 ac_status=$?
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); }; }; then
43610 glibcxx_cv_func_ldexpl_use=yes
43611 else
43612 echo "$as_me: failed program was:" >&5
43613 sed 's/^/| /' conftest.$ac_ext >&5
43615 glibcxx_cv_func_ldexpl_use=no
43617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43618 ac_ext=c
43619 ac_cpp='$CPP $CPPFLAGS'
43620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
43629 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
43631 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43633 for ac_func in ldexpl
43635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43636 echo "$as_me:$LINENO: checking for $ac_func" >&5
43637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43638 if eval "test \"\${$as_ac_var+set}\" = set"; then
43639 echo $ECHO_N "(cached) $ECHO_C" >&6
43640 else
43641 if test x$gcc_no_link = xyes; then
43642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43644 { (exit 1); exit 1; }; }
43646 cat >conftest.$ac_ext <<_ACEOF
43647 /* confdefs.h. */
43648 _ACEOF
43649 cat confdefs.h >>conftest.$ac_ext
43650 cat >>conftest.$ac_ext <<_ACEOF
43651 /* end confdefs.h. */
43652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43654 #define $ac_func innocuous_$ac_func
43656 /* System header to define __stub macros and hopefully few prototypes,
43657 which can conflict with char $ac_func (); below.
43658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43659 <limits.h> exists even on freestanding compilers. */
43661 #ifdef __STDC__
43662 # include <limits.h>
43663 #else
43664 # include <assert.h>
43665 #endif
43667 #undef $ac_func
43669 /* Override any gcc2 internal prototype to avoid an error. */
43670 #ifdef __cplusplus
43671 extern "C"
43673 #endif
43674 /* We use char because int might match the return type of a gcc2
43675 builtin and then its argument prototype would still apply. */
43676 char $ac_func ();
43677 /* The GNU C library defines this for functions which it implements
43678 to always fail with ENOSYS. Some functions are actually named
43679 something starting with __ and the normal name is an alias. */
43680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43681 choke me
43682 #else
43683 char (*f) () = $ac_func;
43684 #endif
43685 #ifdef __cplusplus
43687 #endif
43690 main ()
43692 return f != $ac_func;
43694 return 0;
43696 _ACEOF
43697 rm -f conftest.$ac_objext conftest$ac_exeext
43698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43699 (eval $ac_link) 2>conftest.er1
43700 ac_status=$?
43701 grep -v '^ *+' conftest.er1 >conftest.err
43702 rm -f conftest.er1
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } &&
43706 { ac_try='test -z "$ac_c_werror_flag"
43707 || test ! -s conftest.err'
43708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43709 (eval $ac_try) 2>&5
43710 ac_status=$?
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); }; } &&
43713 { ac_try='test -s conftest$ac_exeext'
43714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43715 (eval $ac_try) 2>&5
43716 ac_status=$?
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); }; }; then
43719 eval "$as_ac_var=yes"
43720 else
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43724 eval "$as_ac_var=no"
43726 rm -f conftest.err conftest.$ac_objext \
43727 conftest$ac_exeext conftest.$ac_ext
43729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43731 if test `eval echo '${'$as_ac_var'}'` = yes; then
43732 cat >>confdefs.h <<_ACEOF
43733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43734 _ACEOF
43737 done
43739 else
43741 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
43742 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
43743 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43744 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43746 else
43750 ac_ext=cc
43751 ac_cpp='$CXXCPP $CPPFLAGS'
43752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43756 cat >conftest.$ac_ext <<_ACEOF
43757 /* confdefs.h. */
43758 _ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h. */
43762 #include <math.h>
43764 main ()
43766 _ldexpl(0, 0);
43768 return 0;
43770 _ACEOF
43771 rm -f conftest.$ac_objext
43772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43773 (eval $ac_compile) 2>conftest.er1
43774 ac_status=$?
43775 grep -v '^ *+' conftest.er1 >conftest.err
43776 rm -f conftest.er1
43777 cat conftest.err >&5
43778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43779 (exit $ac_status); } &&
43780 { ac_try='test -z "$ac_cxx_werror_flag"
43781 || test ! -s conftest.err'
43782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43783 (eval $ac_try) 2>&5
43784 ac_status=$?
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); }; } &&
43787 { ac_try='test -s conftest.$ac_objext'
43788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43789 (eval $ac_try) 2>&5
43790 ac_status=$?
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; }; then
43793 glibcxx_cv_func__ldexpl_use=yes
43794 else
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43798 glibcxx_cv_func__ldexpl_use=no
43800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43801 ac_ext=c
43802 ac_cpp='$CPP $CPPFLAGS'
43803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
43812 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
43814 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43816 for ac_func in _ldexpl
43818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43819 echo "$as_me:$LINENO: checking for $ac_func" >&5
43820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43821 if eval "test \"\${$as_ac_var+set}\" = set"; then
43822 echo $ECHO_N "(cached) $ECHO_C" >&6
43823 else
43824 if test x$gcc_no_link = xyes; then
43825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43827 { (exit 1); exit 1; }; }
43829 cat >conftest.$ac_ext <<_ACEOF
43830 /* confdefs.h. */
43831 _ACEOF
43832 cat confdefs.h >>conftest.$ac_ext
43833 cat >>conftest.$ac_ext <<_ACEOF
43834 /* end confdefs.h. */
43835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43837 #define $ac_func innocuous_$ac_func
43839 /* System header to define __stub macros and hopefully few prototypes,
43840 which can conflict with char $ac_func (); below.
43841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43842 <limits.h> exists even on freestanding compilers. */
43844 #ifdef __STDC__
43845 # include <limits.h>
43846 #else
43847 # include <assert.h>
43848 #endif
43850 #undef $ac_func
43852 /* Override any gcc2 internal prototype to avoid an error. */
43853 #ifdef __cplusplus
43854 extern "C"
43856 #endif
43857 /* We use char because int might match the return type of a gcc2
43858 builtin and then its argument prototype would still apply. */
43859 char $ac_func ();
43860 /* The GNU C library defines this for functions which it implements
43861 to always fail with ENOSYS. Some functions are actually named
43862 something starting with __ and the normal name is an alias. */
43863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43864 choke me
43865 #else
43866 char (*f) () = $ac_func;
43867 #endif
43868 #ifdef __cplusplus
43870 #endif
43873 main ()
43875 return f != $ac_func;
43877 return 0;
43879 _ACEOF
43880 rm -f conftest.$ac_objext conftest$ac_exeext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43882 (eval $ac_link) 2>conftest.er1
43883 ac_status=$?
43884 grep -v '^ *+' conftest.er1 >conftest.err
43885 rm -f conftest.er1
43886 cat conftest.err >&5
43887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888 (exit $ac_status); } &&
43889 { ac_try='test -z "$ac_c_werror_flag"
43890 || test ! -s conftest.err'
43891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43892 (eval $ac_try) 2>&5
43893 ac_status=$?
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); }; } &&
43896 { ac_try='test -s conftest$ac_exeext'
43897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43898 (eval $ac_try) 2>&5
43899 ac_status=$?
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); }; }; then
43902 eval "$as_ac_var=yes"
43903 else
43904 echo "$as_me: failed program was:" >&5
43905 sed 's/^/| /' conftest.$ac_ext >&5
43907 eval "$as_ac_var=no"
43909 rm -f conftest.err conftest.$ac_objext \
43910 conftest$ac_exeext conftest.$ac_ext
43912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43914 if test `eval echo '${'$as_ac_var'}'` = yes; then
43915 cat >>confdefs.h <<_ACEOF
43916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43917 _ACEOF
43920 done
43927 echo "$as_me:$LINENO: checking for logl declaration" >&5
43928 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
43929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43930 if test "${glibcxx_cv_func_logl_use+set}" = set; then
43931 echo $ECHO_N "(cached) $ECHO_C" >&6
43932 else
43936 ac_ext=cc
43937 ac_cpp='$CXXCPP $CPPFLAGS'
43938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43942 cat >conftest.$ac_ext <<_ACEOF
43943 /* confdefs.h. */
43944 _ACEOF
43945 cat confdefs.h >>conftest.$ac_ext
43946 cat >>conftest.$ac_ext <<_ACEOF
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43954 main ()
43956 logl(0);
43958 return 0;
43960 _ACEOF
43961 rm -f conftest.$ac_objext
43962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43963 (eval $ac_compile) 2>conftest.er1
43964 ac_status=$?
43965 grep -v '^ *+' conftest.er1 >conftest.err
43966 rm -f conftest.er1
43967 cat conftest.err >&5
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); } &&
43970 { ac_try='test -z "$ac_cxx_werror_flag"
43971 || test ! -s conftest.err'
43972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43973 (eval $ac_try) 2>&5
43974 ac_status=$?
43975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43976 (exit $ac_status); }; } &&
43977 { ac_try='test -s conftest.$ac_objext'
43978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43979 (eval $ac_try) 2>&5
43980 ac_status=$?
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); }; }; then
43983 glibcxx_cv_func_logl_use=yes
43984 else
43985 echo "$as_me: failed program was:" >&5
43986 sed 's/^/| /' conftest.$ac_ext >&5
43988 glibcxx_cv_func_logl_use=no
43990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44002 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44004 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44006 for ac_func in logl
44008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44009 echo "$as_me:$LINENO: checking for $ac_func" >&5
44010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44011 if eval "test \"\${$as_ac_var+set}\" = set"; then
44012 echo $ECHO_N "(cached) $ECHO_C" >&6
44013 else
44014 if test x$gcc_no_link = xyes; then
44015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44017 { (exit 1); exit 1; }; }
44019 cat >conftest.$ac_ext <<_ACEOF
44020 /* confdefs.h. */
44021 _ACEOF
44022 cat confdefs.h >>conftest.$ac_ext
44023 cat >>conftest.$ac_ext <<_ACEOF
44024 /* end confdefs.h. */
44025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44027 #define $ac_func innocuous_$ac_func
44029 /* System header to define __stub macros and hopefully few prototypes,
44030 which can conflict with char $ac_func (); below.
44031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44032 <limits.h> exists even on freestanding compilers. */
44034 #ifdef __STDC__
44035 # include <limits.h>
44036 #else
44037 # include <assert.h>
44038 #endif
44040 #undef $ac_func
44042 /* Override any gcc2 internal prototype to avoid an error. */
44043 #ifdef __cplusplus
44044 extern "C"
44046 #endif
44047 /* We use char because int might match the return type of a gcc2
44048 builtin and then its argument prototype would still apply. */
44049 char $ac_func ();
44050 /* The GNU C library defines this for functions which it implements
44051 to always fail with ENOSYS. Some functions are actually named
44052 something starting with __ and the normal name is an alias. */
44053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44054 choke me
44055 #else
44056 char (*f) () = $ac_func;
44057 #endif
44058 #ifdef __cplusplus
44060 #endif
44063 main ()
44065 return f != $ac_func;
44067 return 0;
44069 _ACEOF
44070 rm -f conftest.$ac_objext conftest$ac_exeext
44071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44072 (eval $ac_link) 2>conftest.er1
44073 ac_status=$?
44074 grep -v '^ *+' conftest.er1 >conftest.err
44075 rm -f conftest.er1
44076 cat conftest.err >&5
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); } &&
44079 { ac_try='test -z "$ac_c_werror_flag"
44080 || test ! -s conftest.err'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44083 ac_status=$?
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; } &&
44086 { ac_try='test -s conftest$ac_exeext'
44087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44088 (eval $ac_try) 2>&5
44089 ac_status=$?
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); }; }; then
44092 eval "$as_ac_var=yes"
44093 else
44094 echo "$as_me: failed program was:" >&5
44095 sed 's/^/| /' conftest.$ac_ext >&5
44097 eval "$as_ac_var=no"
44099 rm -f conftest.err conftest.$ac_objext \
44100 conftest$ac_exeext conftest.$ac_ext
44102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44104 if test `eval echo '${'$as_ac_var'}'` = yes; then
44105 cat >>confdefs.h <<_ACEOF
44106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44107 _ACEOF
44110 done
44112 else
44114 echo "$as_me:$LINENO: checking for _logl declaration" >&5
44115 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
44116 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44117 if test "${glibcxx_cv_func__logl_use+set}" = set; then
44118 echo $ECHO_N "(cached) $ECHO_C" >&6
44119 else
44123 ac_ext=cc
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44129 cat >conftest.$ac_ext <<_ACEOF
44130 /* confdefs.h. */
44131 _ACEOF
44132 cat confdefs.h >>conftest.$ac_ext
44133 cat >>conftest.$ac_ext <<_ACEOF
44134 /* end confdefs.h. */
44135 #include <math.h>
44136 #ifdef HAVE_IEEEFP_H
44137 #include <ieeefp.h>
44138 #endif
44141 main ()
44143 _logl(0);
44145 return 0;
44147 _ACEOF
44148 rm -f conftest.$ac_objext
44149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44150 (eval $ac_compile) 2>conftest.er1
44151 ac_status=$?
44152 grep -v '^ *+' conftest.er1 >conftest.err
44153 rm -f conftest.er1
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } &&
44157 { ac_try='test -z "$ac_cxx_werror_flag"
44158 || test ! -s conftest.err'
44159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44160 (eval $ac_try) 2>&5
44161 ac_status=$?
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); }; } &&
44164 { ac_try='test -s conftest.$ac_objext'
44165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44166 (eval $ac_try) 2>&5
44167 ac_status=$?
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); }; }; then
44170 glibcxx_cv_func__logl_use=yes
44171 else
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44175 glibcxx_cv_func__logl_use=no
44177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44178 ac_ext=c
44179 ac_cpp='$CPP $CPPFLAGS'
44180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
44189 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
44191 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44193 for ac_func in _logl
44195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44196 echo "$as_me:$LINENO: checking for $ac_func" >&5
44197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44198 if eval "test \"\${$as_ac_var+set}\" = set"; then
44199 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 else
44201 if test x$gcc_no_link = xyes; then
44202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44204 { (exit 1); exit 1; }; }
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define $ac_func innocuous_$ac_func
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char $ac_func (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44221 #ifdef __STDC__
44222 # include <limits.h>
44223 #else
44224 # include <assert.h>
44225 #endif
44227 #undef $ac_func
44229 /* Override any gcc2 internal prototype to avoid an error. */
44230 #ifdef __cplusplus
44231 extern "C"
44233 #endif
44234 /* We use char because int might match the return type of a gcc2
44235 builtin and then its argument prototype would still apply. */
44236 char $ac_func ();
44237 /* The GNU C library defines this for functions which it implements
44238 to always fail with ENOSYS. Some functions are actually named
44239 something starting with __ and the normal name is an alias. */
44240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44241 choke me
44242 #else
44243 char (*f) () = $ac_func;
44244 #endif
44245 #ifdef __cplusplus
44247 #endif
44250 main ()
44252 return f != $ac_func;
44254 return 0;
44256 _ACEOF
44257 rm -f conftest.$ac_objext conftest$ac_exeext
44258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44259 (eval $ac_link) 2>conftest.er1
44260 ac_status=$?
44261 grep -v '^ *+' conftest.er1 >conftest.err
44262 rm -f conftest.er1
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } &&
44266 { ac_try='test -z "$ac_c_werror_flag"
44267 || test ! -s conftest.err'
44268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44269 (eval $ac_try) 2>&5
44270 ac_status=$?
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); }; } &&
44273 { ac_try='test -s conftest$ac_exeext'
44274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44275 (eval $ac_try) 2>&5
44276 ac_status=$?
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); }; }; then
44279 eval "$as_ac_var=yes"
44280 else
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.$ac_ext >&5
44284 eval "$as_ac_var=no"
44286 rm -f conftest.err conftest.$ac_objext \
44287 conftest$ac_exeext conftest.$ac_ext
44289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44291 if test `eval echo '${'$as_ac_var'}'` = yes; then
44292 cat >>confdefs.h <<_ACEOF
44293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44294 _ACEOF
44297 done
44304 echo "$as_me:$LINENO: checking for log10l declaration" >&5
44305 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
44306 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44307 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
44308 echo $ECHO_N "(cached) $ECHO_C" >&6
44309 else
44313 ac_ext=cc
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44319 cat >conftest.$ac_ext <<_ACEOF
44320 /* confdefs.h. */
44321 _ACEOF
44322 cat confdefs.h >>conftest.$ac_ext
44323 cat >>conftest.$ac_ext <<_ACEOF
44324 /* end confdefs.h. */
44325 #include <math.h>
44326 #ifdef HAVE_IEEEFP_H
44327 #include <ieeefp.h>
44328 #endif
44331 main ()
44333 log10l(0);
44335 return 0;
44337 _ACEOF
44338 rm -f conftest.$ac_objext
44339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44340 (eval $ac_compile) 2>conftest.er1
44341 ac_status=$?
44342 grep -v '^ *+' conftest.er1 >conftest.err
44343 rm -f conftest.er1
44344 cat conftest.err >&5
44345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44346 (exit $ac_status); } &&
44347 { ac_try='test -z "$ac_cxx_werror_flag"
44348 || test ! -s conftest.err'
44349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44350 (eval $ac_try) 2>&5
44351 ac_status=$?
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); }; } &&
44354 { ac_try='test -s conftest.$ac_objext'
44355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44356 (eval $ac_try) 2>&5
44357 ac_status=$?
44358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44359 (exit $ac_status); }; }; then
44360 glibcxx_cv_func_log10l_use=yes
44361 else
44362 echo "$as_me: failed program was:" >&5
44363 sed 's/^/| /' conftest.$ac_ext >&5
44365 glibcxx_cv_func_log10l_use=no
44367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44368 ac_ext=c
44369 ac_cpp='$CPP $CPPFLAGS'
44370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
44379 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
44381 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44383 for ac_func in log10l
44385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44386 echo "$as_me:$LINENO: checking for $ac_func" >&5
44387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44388 if eval "test \"\${$as_ac_var+set}\" = set"; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 else
44391 if test x$gcc_no_link = xyes; then
44392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44394 { (exit 1); exit 1; }; }
44396 cat >conftest.$ac_ext <<_ACEOF
44397 /* confdefs.h. */
44398 _ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44404 #define $ac_func innocuous_$ac_func
44406 /* System header to define __stub macros and hopefully few prototypes,
44407 which can conflict with char $ac_func (); below.
44408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44409 <limits.h> exists even on freestanding compilers. */
44411 #ifdef __STDC__
44412 # include <limits.h>
44413 #else
44414 # include <assert.h>
44415 #endif
44417 #undef $ac_func
44419 /* Override any gcc2 internal prototype to avoid an error. */
44420 #ifdef __cplusplus
44421 extern "C"
44423 #endif
44424 /* We use char because int might match the return type of a gcc2
44425 builtin and then its argument prototype would still apply. */
44426 char $ac_func ();
44427 /* The GNU C library defines this for functions which it implements
44428 to always fail with ENOSYS. Some functions are actually named
44429 something starting with __ and the normal name is an alias. */
44430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44431 choke me
44432 #else
44433 char (*f) () = $ac_func;
44434 #endif
44435 #ifdef __cplusplus
44437 #endif
44440 main ()
44442 return f != $ac_func;
44444 return 0;
44446 _ACEOF
44447 rm -f conftest.$ac_objext conftest$ac_exeext
44448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44449 (eval $ac_link) 2>conftest.er1
44450 ac_status=$?
44451 grep -v '^ *+' conftest.er1 >conftest.err
44452 rm -f conftest.er1
44453 cat conftest.err >&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); } &&
44456 { ac_try='test -z "$ac_c_werror_flag"
44457 || test ! -s conftest.err'
44458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44459 (eval $ac_try) 2>&5
44460 ac_status=$?
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); }; } &&
44463 { ac_try='test -s conftest$ac_exeext'
44464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44465 (eval $ac_try) 2>&5
44466 ac_status=$?
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; }; then
44469 eval "$as_ac_var=yes"
44470 else
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44474 eval "$as_ac_var=no"
44476 rm -f conftest.err conftest.$ac_objext \
44477 conftest$ac_exeext conftest.$ac_ext
44479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44481 if test `eval echo '${'$as_ac_var'}'` = yes; then
44482 cat >>confdefs.h <<_ACEOF
44483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44484 _ACEOF
44487 done
44489 else
44491 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
44492 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
44493 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44494 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
44495 echo $ECHO_N "(cached) $ECHO_C" >&6
44496 else
44500 ac_ext=cc
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506 cat >conftest.$ac_ext <<_ACEOF
44507 /* confdefs.h. */
44508 _ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512 #include <math.h>
44513 #ifdef HAVE_IEEEFP_H
44514 #include <ieeefp.h>
44515 #endif
44518 main ()
44520 _log10l(0);
44522 return 0;
44524 _ACEOF
44525 rm -f conftest.$ac_objext
44526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44527 (eval $ac_compile) 2>conftest.er1
44528 ac_status=$?
44529 grep -v '^ *+' conftest.er1 >conftest.err
44530 rm -f conftest.er1
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } &&
44534 { ac_try='test -z "$ac_cxx_werror_flag"
44535 || test ! -s conftest.err'
44536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44537 (eval $ac_try) 2>&5
44538 ac_status=$?
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); }; } &&
44541 { ac_try='test -s conftest.$ac_objext'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; }; then
44547 glibcxx_cv_func__log10l_use=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44552 glibcxx_cv_func__log10l_use=no
44554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44555 ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
44566 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
44568 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44570 for ac_func in _log10l
44572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44573 echo "$as_me:$LINENO: checking for $ac_func" >&5
44574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44575 if eval "test \"\${$as_ac_var+set}\" = set"; then
44576 echo $ECHO_N "(cached) $ECHO_C" >&6
44577 else
44578 if test x$gcc_no_link = xyes; then
44579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44581 { (exit 1); exit 1; }; }
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44591 #define $ac_func innocuous_$ac_func
44593 /* System header to define __stub macros and hopefully few prototypes,
44594 which can conflict with char $ac_func (); below.
44595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44596 <limits.h> exists even on freestanding compilers. */
44598 #ifdef __STDC__
44599 # include <limits.h>
44600 #else
44601 # include <assert.h>
44602 #endif
44604 #undef $ac_func
44606 /* Override any gcc2 internal prototype to avoid an error. */
44607 #ifdef __cplusplus
44608 extern "C"
44610 #endif
44611 /* We use char because int might match the return type of a gcc2
44612 builtin and then its argument prototype would still apply. */
44613 char $ac_func ();
44614 /* The GNU C library defines this for functions which it implements
44615 to always fail with ENOSYS. Some functions are actually named
44616 something starting with __ and the normal name is an alias. */
44617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44618 choke me
44619 #else
44620 char (*f) () = $ac_func;
44621 #endif
44622 #ifdef __cplusplus
44624 #endif
44627 main ()
44629 return f != $ac_func;
44631 return 0;
44633 _ACEOF
44634 rm -f conftest.$ac_objext conftest$ac_exeext
44635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44636 (eval $ac_link) 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } &&
44643 { ac_try='test -z "$ac_c_werror_flag"
44644 || test ! -s conftest.err'
44645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646 (eval $ac_try) 2>&5
44647 ac_status=$?
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); }; } &&
44650 { ac_try='test -s conftest$ac_exeext'
44651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44652 (eval $ac_try) 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44656 eval "$as_ac_var=yes"
44657 else
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.$ac_ext >&5
44661 eval "$as_ac_var=no"
44663 rm -f conftest.err conftest.$ac_objext \
44664 conftest$ac_exeext conftest.$ac_ext
44666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44668 if test `eval echo '${'$as_ac_var'}'` = yes; then
44669 cat >>confdefs.h <<_ACEOF
44670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44671 _ACEOF
44674 done
44681 echo "$as_me:$LINENO: checking for modfl declaration" >&5
44682 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
44683 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44684 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 else
44690 ac_ext=cc
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696 cat >conftest.$ac_ext <<_ACEOF
44697 /* confdefs.h. */
44698 _ACEOF
44699 cat confdefs.h >>conftest.$ac_ext
44700 cat >>conftest.$ac_ext <<_ACEOF
44701 /* end confdefs.h. */
44702 #include <math.h>
44704 main ()
44706 modfl(0, 0);
44708 return 0;
44710 _ACEOF
44711 rm -f conftest.$ac_objext
44712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44713 (eval $ac_compile) 2>conftest.er1
44714 ac_status=$?
44715 grep -v '^ *+' conftest.er1 >conftest.err
44716 rm -f conftest.er1
44717 cat conftest.err >&5
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); } &&
44720 { ac_try='test -z "$ac_cxx_werror_flag"
44721 || test ! -s conftest.err'
44722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44723 (eval $ac_try) 2>&5
44724 ac_status=$?
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); }; } &&
44727 { ac_try='test -s conftest.$ac_objext'
44728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44729 (eval $ac_try) 2>&5
44730 ac_status=$?
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); }; }; then
44733 glibcxx_cv_func_modfl_use=yes
44734 else
44735 echo "$as_me: failed program was:" >&5
44736 sed 's/^/| /' conftest.$ac_ext >&5
44738 glibcxx_cv_func_modfl_use=no
44740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44741 ac_ext=c
44742 ac_cpp='$CPP $CPPFLAGS'
44743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
44752 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
44754 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44756 for ac_func in modfl
44758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44759 echo "$as_me:$LINENO: checking for $ac_func" >&5
44760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44761 if eval "test \"\${$as_ac_var+set}\" = set"; then
44762 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 else
44764 if test x$gcc_no_link = xyes; then
44765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44767 { (exit 1); exit 1; }; }
44769 cat >conftest.$ac_ext <<_ACEOF
44770 /* confdefs.h. */
44771 _ACEOF
44772 cat confdefs.h >>conftest.$ac_ext
44773 cat >>conftest.$ac_ext <<_ACEOF
44774 /* end confdefs.h. */
44775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44777 #define $ac_func innocuous_$ac_func
44779 /* System header to define __stub macros and hopefully few prototypes,
44780 which can conflict with char $ac_func (); below.
44781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44782 <limits.h> exists even on freestanding compilers. */
44784 #ifdef __STDC__
44785 # include <limits.h>
44786 #else
44787 # include <assert.h>
44788 #endif
44790 #undef $ac_func
44792 /* Override any gcc2 internal prototype to avoid an error. */
44793 #ifdef __cplusplus
44794 extern "C"
44796 #endif
44797 /* We use char because int might match the return type of a gcc2
44798 builtin and then its argument prototype would still apply. */
44799 char $ac_func ();
44800 /* The GNU C library defines this for functions which it implements
44801 to always fail with ENOSYS. Some functions are actually named
44802 something starting with __ and the normal name is an alias. */
44803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44804 choke me
44805 #else
44806 char (*f) () = $ac_func;
44807 #endif
44808 #ifdef __cplusplus
44810 #endif
44813 main ()
44815 return f != $ac_func;
44817 return 0;
44819 _ACEOF
44820 rm -f conftest.$ac_objext conftest$ac_exeext
44821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44822 (eval $ac_link) 2>conftest.er1
44823 ac_status=$?
44824 grep -v '^ *+' conftest.er1 >conftest.err
44825 rm -f conftest.er1
44826 cat conftest.err >&5
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } &&
44829 { ac_try='test -z "$ac_c_werror_flag"
44830 || test ! -s conftest.err'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44833 ac_status=$?
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; } &&
44836 { ac_try='test -s conftest$ac_exeext'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44839 ac_status=$?
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; }; then
44842 eval "$as_ac_var=yes"
44843 else
44844 echo "$as_me: failed program was:" >&5
44845 sed 's/^/| /' conftest.$ac_ext >&5
44847 eval "$as_ac_var=no"
44849 rm -f conftest.err conftest.$ac_objext \
44850 conftest$ac_exeext conftest.$ac_ext
44852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44854 if test `eval echo '${'$as_ac_var'}'` = yes; then
44855 cat >>confdefs.h <<_ACEOF
44856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44857 _ACEOF
44860 done
44862 else
44864 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
44865 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
44866 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44867 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
44868 echo $ECHO_N "(cached) $ECHO_C" >&6
44869 else
44873 ac_ext=cc
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h. */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44885 #include <math.h>
44887 main ()
44889 _modfl(0, 0);
44891 return 0;
44893 _ACEOF
44894 rm -f conftest.$ac_objext
44895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44896 (eval $ac_compile) 2>conftest.er1
44897 ac_status=$?
44898 grep -v '^ *+' conftest.er1 >conftest.err
44899 rm -f conftest.er1
44900 cat conftest.err >&5
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); } &&
44903 { ac_try='test -z "$ac_cxx_werror_flag"
44904 || test ! -s conftest.err'
44905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44906 (eval $ac_try) 2>&5
44907 ac_status=$?
44908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909 (exit $ac_status); }; } &&
44910 { ac_try='test -s conftest.$ac_objext'
44911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44912 (eval $ac_try) 2>&5
44913 ac_status=$?
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); }; }; then
44916 glibcxx_cv_func__modfl_use=yes
44917 else
44918 echo "$as_me: failed program was:" >&5
44919 sed 's/^/| /' conftest.$ac_ext >&5
44921 glibcxx_cv_func__modfl_use=no
44923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44924 ac_ext=c
44925 ac_cpp='$CPP $CPPFLAGS'
44926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
44935 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
44937 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44939 for ac_func in _modfl
44941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44942 echo "$as_me:$LINENO: checking for $ac_func" >&5
44943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44944 if eval "test \"\${$as_ac_var+set}\" = set"; then
44945 echo $ECHO_N "(cached) $ECHO_C" >&6
44946 else
44947 if test x$gcc_no_link = xyes; then
44948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44950 { (exit 1); exit 1; }; }
44952 cat >conftest.$ac_ext <<_ACEOF
44953 /* confdefs.h. */
44954 _ACEOF
44955 cat confdefs.h >>conftest.$ac_ext
44956 cat >>conftest.$ac_ext <<_ACEOF
44957 /* end confdefs.h. */
44958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44960 #define $ac_func innocuous_$ac_func
44962 /* System header to define __stub macros and hopefully few prototypes,
44963 which can conflict with char $ac_func (); below.
44964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44965 <limits.h> exists even on freestanding compilers. */
44967 #ifdef __STDC__
44968 # include <limits.h>
44969 #else
44970 # include <assert.h>
44971 #endif
44973 #undef $ac_func
44975 /* Override any gcc2 internal prototype to avoid an error. */
44976 #ifdef __cplusplus
44977 extern "C"
44979 #endif
44980 /* We use char because int might match the return type of a gcc2
44981 builtin and then its argument prototype would still apply. */
44982 char $ac_func ();
44983 /* The GNU C library defines this for functions which it implements
44984 to always fail with ENOSYS. Some functions are actually named
44985 something starting with __ and the normal name is an alias. */
44986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44987 choke me
44988 #else
44989 char (*f) () = $ac_func;
44990 #endif
44991 #ifdef __cplusplus
44993 #endif
44996 main ()
44998 return f != $ac_func;
45000 return 0;
45002 _ACEOF
45003 rm -f conftest.$ac_objext conftest$ac_exeext
45004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45005 (eval $ac_link) 2>conftest.er1
45006 ac_status=$?
45007 grep -v '^ *+' conftest.er1 >conftest.err
45008 rm -f conftest.er1
45009 cat conftest.err >&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } &&
45012 { ac_try='test -z "$ac_c_werror_flag"
45013 || test ! -s conftest.err'
45014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45015 (eval $ac_try) 2>&5
45016 ac_status=$?
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); }; } &&
45019 { ac_try='test -s conftest$ac_exeext'
45020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45021 (eval $ac_try) 2>&5
45022 ac_status=$?
45023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024 (exit $ac_status); }; }; then
45025 eval "$as_ac_var=yes"
45026 else
45027 echo "$as_me: failed program was:" >&5
45028 sed 's/^/| /' conftest.$ac_ext >&5
45030 eval "$as_ac_var=no"
45032 rm -f conftest.err conftest.$ac_objext \
45033 conftest$ac_exeext conftest.$ac_ext
45035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45037 if test `eval echo '${'$as_ac_var'}'` = yes; then
45038 cat >>confdefs.h <<_ACEOF
45039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45040 _ACEOF
45043 done
45050 echo "$as_me:$LINENO: checking for powl declaration" >&5
45051 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45052 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45053 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45054 echo $ECHO_N "(cached) $ECHO_C" >&6
45055 else
45059 ac_ext=cc
45060 ac_cpp='$CXXCPP $CPPFLAGS'
45061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45065 cat >conftest.$ac_ext <<_ACEOF
45066 /* confdefs.h. */
45067 _ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45071 #include <math.h>
45073 main ()
45075 powl(0, 0);
45077 return 0;
45079 _ACEOF
45080 rm -f conftest.$ac_objext
45081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45082 (eval $ac_compile) 2>conftest.er1
45083 ac_status=$?
45084 grep -v '^ *+' conftest.er1 >conftest.err
45085 rm -f conftest.er1
45086 cat conftest.err >&5
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); } &&
45089 { ac_try='test -z "$ac_cxx_werror_flag"
45090 || test ! -s conftest.err'
45091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092 (eval $ac_try) 2>&5
45093 ac_status=$?
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); }; } &&
45096 { ac_try='test -s conftest.$ac_objext'
45097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45098 (eval $ac_try) 2>&5
45099 ac_status=$?
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; }; then
45102 glibcxx_cv_func_powl_use=yes
45103 else
45104 echo "$as_me: failed program was:" >&5
45105 sed 's/^/| /' conftest.$ac_ext >&5
45107 glibcxx_cv_func_powl_use=no
45109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45110 ac_ext=c
45111 ac_cpp='$CPP $CPPFLAGS'
45112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
45121 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
45123 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45125 for ac_func in powl
45127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45128 echo "$as_me:$LINENO: checking for $ac_func" >&5
45129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45130 if eval "test \"\${$as_ac_var+set}\" = set"; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45133 if test x$gcc_no_link = xyes; then
45134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45136 { (exit 1); exit 1; }; }
45138 cat >conftest.$ac_ext <<_ACEOF
45139 /* confdefs.h. */
45140 _ACEOF
45141 cat confdefs.h >>conftest.$ac_ext
45142 cat >>conftest.$ac_ext <<_ACEOF
45143 /* end confdefs.h. */
45144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45146 #define $ac_func innocuous_$ac_func
45148 /* System header to define __stub macros and hopefully few prototypes,
45149 which can conflict with char $ac_func (); below.
45150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45151 <limits.h> exists even on freestanding compilers. */
45153 #ifdef __STDC__
45154 # include <limits.h>
45155 #else
45156 # include <assert.h>
45157 #endif
45159 #undef $ac_func
45161 /* Override any gcc2 internal prototype to avoid an error. */
45162 #ifdef __cplusplus
45163 extern "C"
45165 #endif
45166 /* We use char because int might match the return type of a gcc2
45167 builtin and then its argument prototype would still apply. */
45168 char $ac_func ();
45169 /* The GNU C library defines this for functions which it implements
45170 to always fail with ENOSYS. Some functions are actually named
45171 something starting with __ and the normal name is an alias. */
45172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45173 choke me
45174 #else
45175 char (*f) () = $ac_func;
45176 #endif
45177 #ifdef __cplusplus
45179 #endif
45182 main ()
45184 return f != $ac_func;
45186 return 0;
45188 _ACEOF
45189 rm -f conftest.$ac_objext conftest$ac_exeext
45190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45191 (eval $ac_link) 2>conftest.er1
45192 ac_status=$?
45193 grep -v '^ *+' conftest.er1 >conftest.err
45194 rm -f conftest.er1
45195 cat conftest.err >&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); } &&
45198 { ac_try='test -z "$ac_c_werror_flag"
45199 || test ! -s conftest.err'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; } &&
45205 { ac_try='test -s conftest$ac_exeext'
45206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207 (eval $ac_try) 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; }; then
45211 eval "$as_ac_var=yes"
45212 else
45213 echo "$as_me: failed program was:" >&5
45214 sed 's/^/| /' conftest.$ac_ext >&5
45216 eval "$as_ac_var=no"
45218 rm -f conftest.err conftest.$ac_objext \
45219 conftest$ac_exeext conftest.$ac_ext
45221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45223 if test `eval echo '${'$as_ac_var'}'` = yes; then
45224 cat >>confdefs.h <<_ACEOF
45225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226 _ACEOF
45229 done
45231 else
45233 echo "$as_me:$LINENO: checking for _powl declaration" >&5
45234 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
45235 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45236 if test "${glibcxx_cv_func__powl_use+set}" = set; then
45237 echo $ECHO_N "(cached) $ECHO_C" >&6
45238 else
45242 ac_ext=cc
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45248 cat >conftest.$ac_ext <<_ACEOF
45249 /* confdefs.h. */
45250 _ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h. */
45254 #include <math.h>
45256 main ()
45258 _powl(0, 0);
45260 return 0;
45262 _ACEOF
45263 rm -f conftest.$ac_objext
45264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45265 (eval $ac_compile) 2>conftest.er1
45266 ac_status=$?
45267 grep -v '^ *+' conftest.er1 >conftest.err
45268 rm -f conftest.er1
45269 cat conftest.err >&5
45270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271 (exit $ac_status); } &&
45272 { ac_try='test -z "$ac_cxx_werror_flag"
45273 || test ! -s conftest.err'
45274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275 (eval $ac_try) 2>&5
45276 ac_status=$?
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); }; } &&
45279 { ac_try='test -s conftest.$ac_objext'
45280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45281 (eval $ac_try) 2>&5
45282 ac_status=$?
45283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284 (exit $ac_status); }; }; then
45285 glibcxx_cv_func__powl_use=yes
45286 else
45287 echo "$as_me: failed program was:" >&5
45288 sed 's/^/| /' conftest.$ac_ext >&5
45290 glibcxx_cv_func__powl_use=no
45292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45293 ac_ext=c
45294 ac_cpp='$CPP $CPPFLAGS'
45295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
45304 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
45306 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45308 for ac_func in _powl
45310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45311 echo "$as_me:$LINENO: checking for $ac_func" >&5
45312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45313 if eval "test \"\${$as_ac_var+set}\" = set"; then
45314 echo $ECHO_N "(cached) $ECHO_C" >&6
45315 else
45316 if test x$gcc_no_link = xyes; then
45317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45319 { (exit 1); exit 1; }; }
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45329 #define $ac_func innocuous_$ac_func
45331 /* System header to define __stub macros and hopefully few prototypes,
45332 which can conflict with char $ac_func (); below.
45333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45334 <limits.h> exists even on freestanding compilers. */
45336 #ifdef __STDC__
45337 # include <limits.h>
45338 #else
45339 # include <assert.h>
45340 #endif
45342 #undef $ac_func
45344 /* Override any gcc2 internal prototype to avoid an error. */
45345 #ifdef __cplusplus
45346 extern "C"
45348 #endif
45349 /* We use char because int might match the return type of a gcc2
45350 builtin and then its argument prototype would still apply. */
45351 char $ac_func ();
45352 /* The GNU C library defines this for functions which it implements
45353 to always fail with ENOSYS. Some functions are actually named
45354 something starting with __ and the normal name is an alias. */
45355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45356 choke me
45357 #else
45358 char (*f) () = $ac_func;
45359 #endif
45360 #ifdef __cplusplus
45362 #endif
45365 main ()
45367 return f != $ac_func;
45369 return 0;
45371 _ACEOF
45372 rm -f conftest.$ac_objext conftest$ac_exeext
45373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45374 (eval $ac_link) 2>conftest.er1
45375 ac_status=$?
45376 grep -v '^ *+' conftest.er1 >conftest.err
45377 rm -f conftest.er1
45378 cat conftest.err >&5
45379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380 (exit $ac_status); } &&
45381 { ac_try='test -z "$ac_c_werror_flag"
45382 || test ! -s conftest.err'
45383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45384 (eval $ac_try) 2>&5
45385 ac_status=$?
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); }; } &&
45388 { ac_try='test -s conftest$ac_exeext'
45389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45390 (eval $ac_try) 2>&5
45391 ac_status=$?
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); }; }; then
45394 eval "$as_ac_var=yes"
45395 else
45396 echo "$as_me: failed program was:" >&5
45397 sed 's/^/| /' conftest.$ac_ext >&5
45399 eval "$as_ac_var=no"
45401 rm -f conftest.err conftest.$ac_objext \
45402 conftest$ac_exeext conftest.$ac_ext
45404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45406 if test `eval echo '${'$as_ac_var'}'` = yes; then
45407 cat >>confdefs.h <<_ACEOF
45408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45409 _ACEOF
45412 done
45419 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
45420 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
45421 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45422 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
45423 echo $ECHO_N "(cached) $ECHO_C" >&6
45424 else
45428 ac_ext=cc
45429 ac_cpp='$CXXCPP $CPPFLAGS'
45430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45434 cat >conftest.$ac_ext <<_ACEOF
45435 /* confdefs.h. */
45436 _ACEOF
45437 cat confdefs.h >>conftest.$ac_ext
45438 cat >>conftest.$ac_ext <<_ACEOF
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45446 main ()
45448 sqrtl(0);
45450 return 0;
45452 _ACEOF
45453 rm -f conftest.$ac_objext
45454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45455 (eval $ac_compile) 2>conftest.er1
45456 ac_status=$?
45457 grep -v '^ *+' conftest.er1 >conftest.err
45458 rm -f conftest.er1
45459 cat conftest.err >&5
45460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45461 (exit $ac_status); } &&
45462 { ac_try='test -z "$ac_cxx_werror_flag"
45463 || test ! -s conftest.err'
45464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45465 (eval $ac_try) 2>&5
45466 ac_status=$?
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); }; } &&
45469 { ac_try='test -s conftest.$ac_objext'
45470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45471 (eval $ac_try) 2>&5
45472 ac_status=$?
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); }; }; then
45475 glibcxx_cv_func_sqrtl_use=yes
45476 else
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.$ac_ext >&5
45480 glibcxx_cv_func_sqrtl_use=no
45482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45483 ac_ext=c
45484 ac_cpp='$CPP $CPPFLAGS'
45485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
45494 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
45496 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45498 for ac_func in sqrtl
45500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45501 echo "$as_me:$LINENO: checking for $ac_func" >&5
45502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45503 if eval "test \"\${$as_ac_var+set}\" = set"; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45505 else
45506 if test x$gcc_no_link = xyes; then
45507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45509 { (exit 1); exit 1; }; }
45511 cat >conftest.$ac_ext <<_ACEOF
45512 /* confdefs.h. */
45513 _ACEOF
45514 cat confdefs.h >>conftest.$ac_ext
45515 cat >>conftest.$ac_ext <<_ACEOF
45516 /* end confdefs.h. */
45517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45519 #define $ac_func innocuous_$ac_func
45521 /* System header to define __stub macros and hopefully few prototypes,
45522 which can conflict with char $ac_func (); below.
45523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45524 <limits.h> exists even on freestanding compilers. */
45526 #ifdef __STDC__
45527 # include <limits.h>
45528 #else
45529 # include <assert.h>
45530 #endif
45532 #undef $ac_func
45534 /* Override any gcc2 internal prototype to avoid an error. */
45535 #ifdef __cplusplus
45536 extern "C"
45538 #endif
45539 /* We use char because int might match the return type of a gcc2
45540 builtin and then its argument prototype would still apply. */
45541 char $ac_func ();
45542 /* The GNU C library defines this for functions which it implements
45543 to always fail with ENOSYS. Some functions are actually named
45544 something starting with __ and the normal name is an alias. */
45545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45546 choke me
45547 #else
45548 char (*f) () = $ac_func;
45549 #endif
45550 #ifdef __cplusplus
45552 #endif
45555 main ()
45557 return f != $ac_func;
45559 return 0;
45561 _ACEOF
45562 rm -f conftest.$ac_objext conftest$ac_exeext
45563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45564 (eval $ac_link) 2>conftest.er1
45565 ac_status=$?
45566 grep -v '^ *+' conftest.er1 >conftest.err
45567 rm -f conftest.er1
45568 cat conftest.err >&5
45569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45570 (exit $ac_status); } &&
45571 { ac_try='test -z "$ac_c_werror_flag"
45572 || test ! -s conftest.err'
45573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45574 (eval $ac_try) 2>&5
45575 ac_status=$?
45576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45577 (exit $ac_status); }; } &&
45578 { ac_try='test -s conftest$ac_exeext'
45579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45580 (eval $ac_try) 2>&5
45581 ac_status=$?
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); }; }; then
45584 eval "$as_ac_var=yes"
45585 else
45586 echo "$as_me: failed program was:" >&5
45587 sed 's/^/| /' conftest.$ac_ext >&5
45589 eval "$as_ac_var=no"
45591 rm -f conftest.err conftest.$ac_objext \
45592 conftest$ac_exeext conftest.$ac_ext
45594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45596 if test `eval echo '${'$as_ac_var'}'` = yes; then
45597 cat >>confdefs.h <<_ACEOF
45598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45599 _ACEOF
45602 done
45604 else
45606 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
45607 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
45608 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45609 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
45610 echo $ECHO_N "(cached) $ECHO_C" >&6
45611 else
45615 ac_ext=cc
45616 ac_cpp='$CXXCPP $CPPFLAGS'
45617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45621 cat >conftest.$ac_ext <<_ACEOF
45622 /* confdefs.h. */
45623 _ACEOF
45624 cat confdefs.h >>conftest.$ac_ext
45625 cat >>conftest.$ac_ext <<_ACEOF
45626 /* end confdefs.h. */
45627 #include <math.h>
45628 #ifdef HAVE_IEEEFP_H
45629 #include <ieeefp.h>
45630 #endif
45633 main ()
45635 _sqrtl(0);
45637 return 0;
45639 _ACEOF
45640 rm -f conftest.$ac_objext
45641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45642 (eval $ac_compile) 2>conftest.er1
45643 ac_status=$?
45644 grep -v '^ *+' conftest.er1 >conftest.err
45645 rm -f conftest.er1
45646 cat conftest.err >&5
45647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45648 (exit $ac_status); } &&
45649 { ac_try='test -z "$ac_cxx_werror_flag"
45650 || test ! -s conftest.err'
45651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45652 (eval $ac_try) 2>&5
45653 ac_status=$?
45654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45655 (exit $ac_status); }; } &&
45656 { ac_try='test -s conftest.$ac_objext'
45657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45658 (eval $ac_try) 2>&5
45659 ac_status=$?
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); }; }; then
45662 glibcxx_cv_func__sqrtl_use=yes
45663 else
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45667 glibcxx_cv_func__sqrtl_use=no
45669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45670 ac_ext=c
45671 ac_cpp='$CPP $CPPFLAGS'
45672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
45681 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
45683 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45685 for ac_func in _sqrtl
45687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45688 echo "$as_me:$LINENO: checking for $ac_func" >&5
45689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45690 if eval "test \"\${$as_ac_var+set}\" = set"; then
45691 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 else
45693 if test x$gcc_no_link = xyes; then
45694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45696 { (exit 1); exit 1; }; }
45698 cat >conftest.$ac_ext <<_ACEOF
45699 /* confdefs.h. */
45700 _ACEOF
45701 cat confdefs.h >>conftest.$ac_ext
45702 cat >>conftest.$ac_ext <<_ACEOF
45703 /* end confdefs.h. */
45704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45706 #define $ac_func innocuous_$ac_func
45708 /* System header to define __stub macros and hopefully few prototypes,
45709 which can conflict with char $ac_func (); below.
45710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45711 <limits.h> exists even on freestanding compilers. */
45713 #ifdef __STDC__
45714 # include <limits.h>
45715 #else
45716 # include <assert.h>
45717 #endif
45719 #undef $ac_func
45721 /* Override any gcc2 internal prototype to avoid an error. */
45722 #ifdef __cplusplus
45723 extern "C"
45725 #endif
45726 /* We use char because int might match the return type of a gcc2
45727 builtin and then its argument prototype would still apply. */
45728 char $ac_func ();
45729 /* The GNU C library defines this for functions which it implements
45730 to always fail with ENOSYS. Some functions are actually named
45731 something starting with __ and the normal name is an alias. */
45732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45733 choke me
45734 #else
45735 char (*f) () = $ac_func;
45736 #endif
45737 #ifdef __cplusplus
45739 #endif
45742 main ()
45744 return f != $ac_func;
45746 return 0;
45748 _ACEOF
45749 rm -f conftest.$ac_objext conftest$ac_exeext
45750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45751 (eval $ac_link) 2>conftest.er1
45752 ac_status=$?
45753 grep -v '^ *+' conftest.er1 >conftest.err
45754 rm -f conftest.er1
45755 cat conftest.err >&5
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); } &&
45758 { ac_try='test -z "$ac_c_werror_flag"
45759 || test ! -s conftest.err'
45760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45761 (eval $ac_try) 2>&5
45762 ac_status=$?
45763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45764 (exit $ac_status); }; } &&
45765 { ac_try='test -s conftest$ac_exeext'
45766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45767 (eval $ac_try) 2>&5
45768 ac_status=$?
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); }; }; then
45771 eval "$as_ac_var=yes"
45772 else
45773 echo "$as_me: failed program was:" >&5
45774 sed 's/^/| /' conftest.$ac_ext >&5
45776 eval "$as_ac_var=no"
45778 rm -f conftest.err conftest.$ac_objext \
45779 conftest$ac_exeext conftest.$ac_ext
45781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45783 if test `eval echo '${'$as_ac_var'}'` = yes; then
45784 cat >>confdefs.h <<_ACEOF
45785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45786 _ACEOF
45789 done
45796 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
45797 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
45798 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45799 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
45800 echo $ECHO_N "(cached) $ECHO_C" >&6
45801 else
45805 ac_ext=cc
45806 ac_cpp='$CXXCPP $CPPFLAGS'
45807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45811 cat >conftest.$ac_ext <<_ACEOF
45812 /* confdefs.h. */
45813 _ACEOF
45814 cat confdefs.h >>conftest.$ac_ext
45815 cat >>conftest.$ac_ext <<_ACEOF
45816 /* end confdefs.h. */
45817 #include <math.h>
45819 main ()
45821 sincosl(0, 0, 0);
45823 return 0;
45825 _ACEOF
45826 rm -f conftest.$ac_objext
45827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45828 (eval $ac_compile) 2>conftest.er1
45829 ac_status=$?
45830 grep -v '^ *+' conftest.er1 >conftest.err
45831 rm -f conftest.er1
45832 cat conftest.err >&5
45833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45834 (exit $ac_status); } &&
45835 { ac_try='test -z "$ac_cxx_werror_flag"
45836 || test ! -s conftest.err'
45837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45838 (eval $ac_try) 2>&5
45839 ac_status=$?
45840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45841 (exit $ac_status); }; } &&
45842 { ac_try='test -s conftest.$ac_objext'
45843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45844 (eval $ac_try) 2>&5
45845 ac_status=$?
45846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45847 (exit $ac_status); }; }; then
45848 glibcxx_cv_func_sincosl_use=yes
45849 else
45850 echo "$as_me: failed program was:" >&5
45851 sed 's/^/| /' conftest.$ac_ext >&5
45853 glibcxx_cv_func_sincosl_use=no
45855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45856 ac_ext=c
45857 ac_cpp='$CPP $CPPFLAGS'
45858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
45867 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
45869 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45871 for ac_func in sincosl
45873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45874 echo "$as_me:$LINENO: checking for $ac_func" >&5
45875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45876 if eval "test \"\${$as_ac_var+set}\" = set"; then
45877 echo $ECHO_N "(cached) $ECHO_C" >&6
45878 else
45879 if test x$gcc_no_link = xyes; then
45880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45882 { (exit 1); exit 1; }; }
45884 cat >conftest.$ac_ext <<_ACEOF
45885 /* confdefs.h. */
45886 _ACEOF
45887 cat confdefs.h >>conftest.$ac_ext
45888 cat >>conftest.$ac_ext <<_ACEOF
45889 /* end confdefs.h. */
45890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45892 #define $ac_func innocuous_$ac_func
45894 /* System header to define __stub macros and hopefully few prototypes,
45895 which can conflict with char $ac_func (); below.
45896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45897 <limits.h> exists even on freestanding compilers. */
45899 #ifdef __STDC__
45900 # include <limits.h>
45901 #else
45902 # include <assert.h>
45903 #endif
45905 #undef $ac_func
45907 /* Override any gcc2 internal prototype to avoid an error. */
45908 #ifdef __cplusplus
45909 extern "C"
45911 #endif
45912 /* We use char because int might match the return type of a gcc2
45913 builtin and then its argument prototype would still apply. */
45914 char $ac_func ();
45915 /* The GNU C library defines this for functions which it implements
45916 to always fail with ENOSYS. Some functions are actually named
45917 something starting with __ and the normal name is an alias. */
45918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45919 choke me
45920 #else
45921 char (*f) () = $ac_func;
45922 #endif
45923 #ifdef __cplusplus
45925 #endif
45928 main ()
45930 return f != $ac_func;
45932 return 0;
45934 _ACEOF
45935 rm -f conftest.$ac_objext conftest$ac_exeext
45936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45937 (eval $ac_link) 2>conftest.er1
45938 ac_status=$?
45939 grep -v '^ *+' conftest.er1 >conftest.err
45940 rm -f conftest.er1
45941 cat conftest.err >&5
45942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45943 (exit $ac_status); } &&
45944 { ac_try='test -z "$ac_c_werror_flag"
45945 || test ! -s conftest.err'
45946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45947 (eval $ac_try) 2>&5
45948 ac_status=$?
45949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45950 (exit $ac_status); }; } &&
45951 { ac_try='test -s conftest$ac_exeext'
45952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45953 (eval $ac_try) 2>&5
45954 ac_status=$?
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); }; }; then
45957 eval "$as_ac_var=yes"
45958 else
45959 echo "$as_me: failed program was:" >&5
45960 sed 's/^/| /' conftest.$ac_ext >&5
45962 eval "$as_ac_var=no"
45964 rm -f conftest.err conftest.$ac_objext \
45965 conftest$ac_exeext conftest.$ac_ext
45967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45969 if test `eval echo '${'$as_ac_var'}'` = yes; then
45970 cat >>confdefs.h <<_ACEOF
45971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45972 _ACEOF
45975 done
45977 else
45979 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
45980 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
45981 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45982 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
45983 echo $ECHO_N "(cached) $ECHO_C" >&6
45984 else
45988 ac_ext=cc
45989 ac_cpp='$CXXCPP $CPPFLAGS'
45990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45994 cat >conftest.$ac_ext <<_ACEOF
45995 /* confdefs.h. */
45996 _ACEOF
45997 cat confdefs.h >>conftest.$ac_ext
45998 cat >>conftest.$ac_ext <<_ACEOF
45999 /* end confdefs.h. */
46000 #include <math.h>
46002 main ()
46004 _sincosl(0, 0, 0);
46006 return 0;
46008 _ACEOF
46009 rm -f conftest.$ac_objext
46010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46011 (eval $ac_compile) 2>conftest.er1
46012 ac_status=$?
46013 grep -v '^ *+' conftest.er1 >conftest.err
46014 rm -f conftest.er1
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } &&
46018 { ac_try='test -z "$ac_cxx_werror_flag"
46019 || test ! -s conftest.err'
46020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46021 (eval $ac_try) 2>&5
46022 ac_status=$?
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); }; } &&
46025 { ac_try='test -s conftest.$ac_objext'
46026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027 (eval $ac_try) 2>&5
46028 ac_status=$?
46029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030 (exit $ac_status); }; }; then
46031 glibcxx_cv_func__sincosl_use=yes
46032 else
46033 echo "$as_me: failed program was:" >&5
46034 sed 's/^/| /' conftest.$ac_ext >&5
46036 glibcxx_cv_func__sincosl_use=no
46038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46039 ac_ext=c
46040 ac_cpp='$CPP $CPPFLAGS'
46041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46050 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46052 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46054 for ac_func in _sincosl
46056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46057 echo "$as_me:$LINENO: checking for $ac_func" >&5
46058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46059 if eval "test \"\${$as_ac_var+set}\" = set"; then
46060 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 else
46062 if test x$gcc_no_link = xyes; then
46063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46065 { (exit 1); exit 1; }; }
46067 cat >conftest.$ac_ext <<_ACEOF
46068 /* confdefs.h. */
46069 _ACEOF
46070 cat confdefs.h >>conftest.$ac_ext
46071 cat >>conftest.$ac_ext <<_ACEOF
46072 /* end confdefs.h. */
46073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46075 #define $ac_func innocuous_$ac_func
46077 /* System header to define __stub macros and hopefully few prototypes,
46078 which can conflict with char $ac_func (); below.
46079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46080 <limits.h> exists even on freestanding compilers. */
46082 #ifdef __STDC__
46083 # include <limits.h>
46084 #else
46085 # include <assert.h>
46086 #endif
46088 #undef $ac_func
46090 /* Override any gcc2 internal prototype to avoid an error. */
46091 #ifdef __cplusplus
46092 extern "C"
46094 #endif
46095 /* We use char because int might match the return type of a gcc2
46096 builtin and then its argument prototype would still apply. */
46097 char $ac_func ();
46098 /* The GNU C library defines this for functions which it implements
46099 to always fail with ENOSYS. Some functions are actually named
46100 something starting with __ and the normal name is an alias. */
46101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46102 choke me
46103 #else
46104 char (*f) () = $ac_func;
46105 #endif
46106 #ifdef __cplusplus
46108 #endif
46111 main ()
46113 return f != $ac_func;
46115 return 0;
46117 _ACEOF
46118 rm -f conftest.$ac_objext conftest$ac_exeext
46119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46120 (eval $ac_link) 2>conftest.er1
46121 ac_status=$?
46122 grep -v '^ *+' conftest.er1 >conftest.err
46123 rm -f conftest.er1
46124 cat conftest.err >&5
46125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46126 (exit $ac_status); } &&
46127 { ac_try='test -z "$ac_c_werror_flag"
46128 || test ! -s conftest.err'
46129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46130 (eval $ac_try) 2>&5
46131 ac_status=$?
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); }; } &&
46134 { ac_try='test -s conftest$ac_exeext'
46135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136 (eval $ac_try) 2>&5
46137 ac_status=$?
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; }; then
46140 eval "$as_ac_var=yes"
46141 else
46142 echo "$as_me: failed program was:" >&5
46143 sed 's/^/| /' conftest.$ac_ext >&5
46145 eval "$as_ac_var=no"
46147 rm -f conftest.err conftest.$ac_objext \
46148 conftest$ac_exeext conftest.$ac_ext
46150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46152 if test `eval echo '${'$as_ac_var'}'` = yes; then
46153 cat >>confdefs.h <<_ACEOF
46154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46155 _ACEOF
46158 done
46165 echo "$as_me:$LINENO: checking for finitel declaration" >&5
46166 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
46167 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46168 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
46169 echo $ECHO_N "(cached) $ECHO_C" >&6
46170 else
46174 ac_ext=cc
46175 ac_cpp='$CXXCPP $CPPFLAGS'
46176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46180 cat >conftest.$ac_ext <<_ACEOF
46181 /* confdefs.h. */
46182 _ACEOF
46183 cat confdefs.h >>conftest.$ac_ext
46184 cat >>conftest.$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186 #include <math.h>
46187 #ifdef HAVE_IEEEFP_H
46188 #include <ieeefp.h>
46189 #endif
46192 main ()
46194 finitel(0);
46196 return 0;
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46201 (eval $ac_compile) 2>conftest.er1
46202 ac_status=$?
46203 grep -v '^ *+' conftest.er1 >conftest.err
46204 rm -f conftest.er1
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } &&
46208 { ac_try='test -z "$ac_cxx_werror_flag"
46209 || test ! -s conftest.err'
46210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211 (eval $ac_try) 2>&5
46212 ac_status=$?
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); }; } &&
46215 { ac_try='test -s conftest.$ac_objext'
46216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217 (eval $ac_try) 2>&5
46218 ac_status=$?
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); }; }; then
46221 glibcxx_cv_func_finitel_use=yes
46222 else
46223 echo "$as_me: failed program was:" >&5
46224 sed 's/^/| /' conftest.$ac_ext >&5
46226 glibcxx_cv_func_finitel_use=no
46228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46229 ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
46240 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
46242 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46244 for ac_func in finitel
46246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46247 echo "$as_me:$LINENO: checking for $ac_func" >&5
46248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46249 if eval "test \"\${$as_ac_var+set}\" = set"; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46251 else
46252 if test x$gcc_no_link = xyes; then
46253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46255 { (exit 1); exit 1; }; }
46257 cat >conftest.$ac_ext <<_ACEOF
46258 /* confdefs.h. */
46259 _ACEOF
46260 cat confdefs.h >>conftest.$ac_ext
46261 cat >>conftest.$ac_ext <<_ACEOF
46262 /* end confdefs.h. */
46263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46265 #define $ac_func innocuous_$ac_func
46267 /* System header to define __stub macros and hopefully few prototypes,
46268 which can conflict with char $ac_func (); below.
46269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46270 <limits.h> exists even on freestanding compilers. */
46272 #ifdef __STDC__
46273 # include <limits.h>
46274 #else
46275 # include <assert.h>
46276 #endif
46278 #undef $ac_func
46280 /* Override any gcc2 internal prototype to avoid an error. */
46281 #ifdef __cplusplus
46282 extern "C"
46284 #endif
46285 /* We use char because int might match the return type of a gcc2
46286 builtin and then its argument prototype would still apply. */
46287 char $ac_func ();
46288 /* The GNU C library defines this for functions which it implements
46289 to always fail with ENOSYS. Some functions are actually named
46290 something starting with __ and the normal name is an alias. */
46291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46292 choke me
46293 #else
46294 char (*f) () = $ac_func;
46295 #endif
46296 #ifdef __cplusplus
46298 #endif
46301 main ()
46303 return f != $ac_func;
46305 return 0;
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46310 (eval $ac_link) 2>conftest.er1
46311 ac_status=$?
46312 grep -v '^ *+' conftest.er1 >conftest.err
46313 rm -f conftest.er1
46314 cat conftest.err >&5
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); } &&
46317 { ac_try='test -z "$ac_c_werror_flag"
46318 || test ! -s conftest.err'
46319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46320 (eval $ac_try) 2>&5
46321 ac_status=$?
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); }; } &&
46324 { ac_try='test -s conftest$ac_exeext'
46325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46326 (eval $ac_try) 2>&5
46327 ac_status=$?
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); }; }; then
46330 eval "$as_ac_var=yes"
46331 else
46332 echo "$as_me: failed program was:" >&5
46333 sed 's/^/| /' conftest.$ac_ext >&5
46335 eval "$as_ac_var=no"
46337 rm -f conftest.err conftest.$ac_objext \
46338 conftest$ac_exeext conftest.$ac_ext
46340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46342 if test `eval echo '${'$as_ac_var'}'` = yes; then
46343 cat >>confdefs.h <<_ACEOF
46344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46345 _ACEOF
46348 done
46350 else
46352 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
46353 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
46354 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46355 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
46356 echo $ECHO_N "(cached) $ECHO_C" >&6
46357 else
46361 ac_ext=cc
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367 cat >conftest.$ac_ext <<_ACEOF
46368 /* confdefs.h. */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h. */
46373 #include <math.h>
46374 #ifdef HAVE_IEEEFP_H
46375 #include <ieeefp.h>
46376 #endif
46379 main ()
46381 _finitel(0);
46383 return 0;
46385 _ACEOF
46386 rm -f conftest.$ac_objext
46387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46388 (eval $ac_compile) 2>conftest.er1
46389 ac_status=$?
46390 grep -v '^ *+' conftest.er1 >conftest.err
46391 rm -f conftest.er1
46392 cat conftest.err >&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } &&
46395 { ac_try='test -z "$ac_cxx_werror_flag"
46396 || test ! -s conftest.err'
46397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46398 (eval $ac_try) 2>&5
46399 ac_status=$?
46400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401 (exit $ac_status); }; } &&
46402 { ac_try='test -s conftest.$ac_objext'
46403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404 (eval $ac_try) 2>&5
46405 ac_status=$?
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); }; }; then
46408 glibcxx_cv_func__finitel_use=yes
46409 else
46410 echo "$as_me: failed program was:" >&5
46411 sed 's/^/| /' conftest.$ac_ext >&5
46413 glibcxx_cv_func__finitel_use=no
46415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
46427 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
46429 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46431 for ac_func in _finitel
46433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46434 echo "$as_me:$LINENO: checking for $ac_func" >&5
46435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46436 if eval "test \"\${$as_ac_var+set}\" = set"; then
46437 echo $ECHO_N "(cached) $ECHO_C" >&6
46438 else
46439 if test x$gcc_no_link = xyes; then
46440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46442 { (exit 1); exit 1; }; }
46444 cat >conftest.$ac_ext <<_ACEOF
46445 /* confdefs.h. */
46446 _ACEOF
46447 cat confdefs.h >>conftest.$ac_ext
46448 cat >>conftest.$ac_ext <<_ACEOF
46449 /* end confdefs.h. */
46450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46452 #define $ac_func innocuous_$ac_func
46454 /* System header to define __stub macros and hopefully few prototypes,
46455 which can conflict with char $ac_func (); below.
46456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46457 <limits.h> exists even on freestanding compilers. */
46459 #ifdef __STDC__
46460 # include <limits.h>
46461 #else
46462 # include <assert.h>
46463 #endif
46465 #undef $ac_func
46467 /* Override any gcc2 internal prototype to avoid an error. */
46468 #ifdef __cplusplus
46469 extern "C"
46471 #endif
46472 /* We use char because int might match the return type of a gcc2
46473 builtin and then its argument prototype would still apply. */
46474 char $ac_func ();
46475 /* The GNU C library defines this for functions which it implements
46476 to always fail with ENOSYS. Some functions are actually named
46477 something starting with __ and the normal name is an alias. */
46478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46479 choke me
46480 #else
46481 char (*f) () = $ac_func;
46482 #endif
46483 #ifdef __cplusplus
46485 #endif
46488 main ()
46490 return f != $ac_func;
46492 return 0;
46494 _ACEOF
46495 rm -f conftest.$ac_objext conftest$ac_exeext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46497 (eval $ac_link) 2>conftest.er1
46498 ac_status=$?
46499 grep -v '^ *+' conftest.er1 >conftest.err
46500 rm -f conftest.er1
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } &&
46504 { ac_try='test -z "$ac_c_werror_flag"
46505 || test ! -s conftest.err'
46506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46507 (eval $ac_try) 2>&5
46508 ac_status=$?
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); }; } &&
46511 { ac_try='test -s conftest$ac_exeext'
46512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513 (eval $ac_try) 2>&5
46514 ac_status=$?
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); }; }; then
46517 eval "$as_ac_var=yes"
46518 else
46519 echo "$as_me: failed program was:" >&5
46520 sed 's/^/| /' conftest.$ac_ext >&5
46522 eval "$as_ac_var=no"
46524 rm -f conftest.err conftest.$ac_objext \
46525 conftest$ac_exeext conftest.$ac_ext
46527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46529 if test `eval echo '${'$as_ac_var'}'` = yes; then
46530 cat >>confdefs.h <<_ACEOF
46531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46532 _ACEOF
46535 done
46543 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46544 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46545 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46546 echo $ECHO_N "(cached) $ECHO_C" >&6
46547 else
46551 ac_ext=cc
46552 ac_cpp='$CXXCPP $CPPFLAGS'
46553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46557 cat >conftest.$ac_ext <<_ACEOF
46558 /* confdefs.h. */
46559 _ACEOF
46560 cat confdefs.h >>conftest.$ac_ext
46561 cat >>conftest.$ac_ext <<_ACEOF
46562 /* end confdefs.h. */
46563 #include <math.h>
46565 main ()
46567 `for x in _acosf _asinf _atanf \
46568 _cosf _sinf _tanf \
46569 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
46571 return 0;
46573 _ACEOF
46574 rm -f conftest.$ac_objext
46575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46576 (eval $ac_compile) 2>conftest.er1
46577 ac_status=$?
46578 grep -v '^ *+' conftest.er1 >conftest.err
46579 rm -f conftest.er1
46580 cat conftest.err >&5
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); } &&
46583 { ac_try='test -z "$ac_cxx_werror_flag"
46584 || test ! -s conftest.err'
46585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46586 (eval $ac_try) 2>&5
46587 ac_status=$?
46588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46589 (exit $ac_status); }; } &&
46590 { ac_try='test -s conftest.$ac_objext'
46591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46592 (eval $ac_try) 2>&5
46593 ac_status=$?
46594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46595 (exit $ac_status); }; }; then
46596 glibcxx_cv_func__float_trig_use=yes
46597 else
46598 echo "$as_me: failed program was:" >&5
46599 sed 's/^/| /' conftest.$ac_ext >&5
46601 glibcxx_cv_func__float_trig_use=no
46603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46613 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46614 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46624 for ac_func in _acosf _asinf _atanf \
46625 _cosf _sinf _tanf \
46626 _coshf _sinhf _tanhf
46628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46629 echo "$as_me:$LINENO: checking for $ac_func" >&5
46630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46631 if eval "test \"\${$as_ac_var+set}\" = set"; then
46632 echo $ECHO_N "(cached) $ECHO_C" >&6
46633 else
46634 if test x$gcc_no_link = xyes; then
46635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46637 { (exit 1); exit 1; }; }
46639 cat >conftest.$ac_ext <<_ACEOF
46640 /* confdefs.h. */
46641 _ACEOF
46642 cat confdefs.h >>conftest.$ac_ext
46643 cat >>conftest.$ac_ext <<_ACEOF
46644 /* end confdefs.h. */
46645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46647 #define $ac_func innocuous_$ac_func
46649 /* System header to define __stub macros and hopefully few prototypes,
46650 which can conflict with char $ac_func (); below.
46651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46652 <limits.h> exists even on freestanding compilers. */
46654 #ifdef __STDC__
46655 # include <limits.h>
46656 #else
46657 # include <assert.h>
46658 #endif
46660 #undef $ac_func
46662 /* Override any gcc2 internal prototype to avoid an error. */
46663 #ifdef __cplusplus
46664 extern "C"
46666 #endif
46667 /* We use char because int might match the return type of a gcc2
46668 builtin and then its argument prototype would still apply. */
46669 char $ac_func ();
46670 /* The GNU C library defines this for functions which it implements
46671 to always fail with ENOSYS. Some functions are actually named
46672 something starting with __ and the normal name is an alias. */
46673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46674 choke me
46675 #else
46676 char (*f) () = $ac_func;
46677 #endif
46678 #ifdef __cplusplus
46680 #endif
46683 main ()
46685 return f != $ac_func;
46687 return 0;
46689 _ACEOF
46690 rm -f conftest.$ac_objext conftest$ac_exeext
46691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46692 (eval $ac_link) 2>conftest.er1
46693 ac_status=$?
46694 grep -v '^ *+' conftest.er1 >conftest.err
46695 rm -f conftest.er1
46696 cat conftest.err >&5
46697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698 (exit $ac_status); } &&
46699 { ac_try='test -z "$ac_c_werror_flag"
46700 || test ! -s conftest.err'
46701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702 (eval $ac_try) 2>&5
46703 ac_status=$?
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); }; } &&
46706 { ac_try='test -s conftest$ac_exeext'
46707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46708 (eval $ac_try) 2>&5
46709 ac_status=$?
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); }; }; then
46712 eval "$as_ac_var=yes"
46713 else
46714 echo "$as_me: failed program was:" >&5
46715 sed 's/^/| /' conftest.$ac_ext >&5
46717 eval "$as_ac_var=no"
46719 rm -f conftest.err conftest.$ac_objext \
46720 conftest$ac_exeext conftest.$ac_ext
46722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46724 if test `eval echo '${'$as_ac_var'}'` = yes; then
46725 cat >>confdefs.h <<_ACEOF
46726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46727 _ACEOF
46730 done
46735 echo "$as_me:$LINENO: checking for _float round functions" >&5
46736 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46737 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46739 else
46743 ac_ext=cc
46744 ac_cpp='$CXXCPP $CPPFLAGS'
46745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46749 cat >conftest.$ac_ext <<_ACEOF
46750 /* confdefs.h. */
46751 _ACEOF
46752 cat confdefs.h >>conftest.$ac_ext
46753 cat >>conftest.$ac_ext <<_ACEOF
46754 /* end confdefs.h. */
46755 #include <math.h>
46757 main ()
46759 `for x in _ceilf _floorf; do echo "$x (0);"; done`
46761 return 0;
46763 _ACEOF
46764 rm -f conftest.$ac_objext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46766 (eval $ac_compile) 2>conftest.er1
46767 ac_status=$?
46768 grep -v '^ *+' conftest.er1 >conftest.err
46769 rm -f conftest.er1
46770 cat conftest.err >&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); } &&
46773 { ac_try='test -z "$ac_cxx_werror_flag"
46774 || test ! -s conftest.err'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46777 ac_status=$?
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; } &&
46780 { ac_try='test -s conftest.$ac_objext'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; }; then
46786 glibcxx_cv_func__float_round_use=yes
46787 else
46788 echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46791 glibcxx_cv_func__float_round_use=no
46793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46794 ac_ext=c
46795 ac_cpp='$CPP $CPPFLAGS'
46796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46803 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46804 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46807 for ac_func in _ceilf _floorf
46809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46810 echo "$as_me:$LINENO: checking for $ac_func" >&5
46811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46812 if eval "test \"\${$as_ac_var+set}\" = set"; then
46813 echo $ECHO_N "(cached) $ECHO_C" >&6
46814 else
46815 if test x$gcc_no_link = xyes; then
46816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46818 { (exit 1); exit 1; }; }
46820 cat >conftest.$ac_ext <<_ACEOF
46821 /* confdefs.h. */
46822 _ACEOF
46823 cat confdefs.h >>conftest.$ac_ext
46824 cat >>conftest.$ac_ext <<_ACEOF
46825 /* end confdefs.h. */
46826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46828 #define $ac_func innocuous_$ac_func
46830 /* System header to define __stub macros and hopefully few prototypes,
46831 which can conflict with char $ac_func (); below.
46832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46833 <limits.h> exists even on freestanding compilers. */
46835 #ifdef __STDC__
46836 # include <limits.h>
46837 #else
46838 # include <assert.h>
46839 #endif
46841 #undef $ac_func
46843 /* Override any gcc2 internal prototype to avoid an error. */
46844 #ifdef __cplusplus
46845 extern "C"
46847 #endif
46848 /* We use char because int might match the return type of a gcc2
46849 builtin and then its argument prototype would still apply. */
46850 char $ac_func ();
46851 /* The GNU C library defines this for functions which it implements
46852 to always fail with ENOSYS. Some functions are actually named
46853 something starting with __ and the normal name is an alias. */
46854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46855 choke me
46856 #else
46857 char (*f) () = $ac_func;
46858 #endif
46859 #ifdef __cplusplus
46861 #endif
46864 main ()
46866 return f != $ac_func;
46868 return 0;
46870 _ACEOF
46871 rm -f conftest.$ac_objext conftest$ac_exeext
46872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46873 (eval $ac_link) 2>conftest.er1
46874 ac_status=$?
46875 grep -v '^ *+' conftest.er1 >conftest.err
46876 rm -f conftest.er1
46877 cat conftest.err >&5
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); } &&
46880 { ac_try='test -z "$ac_c_werror_flag"
46881 || test ! -s conftest.err'
46882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46883 (eval $ac_try) 2>&5
46884 ac_status=$?
46885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46886 (exit $ac_status); }; } &&
46887 { ac_try='test -s conftest$ac_exeext'
46888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46889 (eval $ac_try) 2>&5
46890 ac_status=$?
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); }; }; then
46893 eval "$as_ac_var=yes"
46894 else
46895 echo "$as_me: failed program was:" >&5
46896 sed 's/^/| /' conftest.$ac_ext >&5
46898 eval "$as_ac_var=no"
46900 rm -f conftest.err conftest.$ac_objext \
46901 conftest$ac_exeext conftest.$ac_ext
46903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46905 if test `eval echo '${'$as_ac_var'}'` = yes; then
46906 cat >>confdefs.h <<_ACEOF
46907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46908 _ACEOF
46911 done
46917 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
46918 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
46919 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
46920 echo $ECHO_N "(cached) $ECHO_C" >&6
46921 else
46925 ac_ext=cc
46926 ac_cpp='$CXXCPP $CPPFLAGS'
46927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46931 cat >conftest.$ac_ext <<_ACEOF
46932 /* confdefs.h. */
46933 _ACEOF
46934 cat confdefs.h >>conftest.$ac_ext
46935 cat >>conftest.$ac_ext <<_ACEOF
46936 /* end confdefs.h. */
46937 #include <math.h>
46939 main ()
46941 `for x in _acosl _asinl _atanl \
46942 _cosl _sinl _tanl \
46943 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
46945 return 0;
46947 _ACEOF
46948 rm -f conftest.$ac_objext
46949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46950 (eval $ac_compile) 2>conftest.er1
46951 ac_status=$?
46952 grep -v '^ *+' conftest.er1 >conftest.err
46953 rm -f conftest.er1
46954 cat conftest.err >&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } &&
46957 { ac_try='test -z "$ac_cxx_werror_flag"
46958 || test ! -s conftest.err'
46959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46960 (eval $ac_try) 2>&5
46961 ac_status=$?
46962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46963 (exit $ac_status); }; } &&
46964 { ac_try='test -s conftest.$ac_objext'
46965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966 (eval $ac_try) 2>&5
46967 ac_status=$?
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; }; then
46970 glibcxx_cv_func__long_double_trig_use=yes
46971 else
46972 echo "$as_me: failed program was:" >&5
46973 sed 's/^/| /' conftest.$ac_ext >&5
46975 glibcxx_cv_func__long_double_trig_use=no
46977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46978 ac_ext=c
46979 ac_cpp='$CPP $CPPFLAGS'
46980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
46987 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
46988 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46998 for ac_func in _acosl _asinl _atanl \
46999 _cosl _sinl _tanl \
47000 _coshl _sinhl _tanhl
47002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47003 echo "$as_me:$LINENO: checking for $ac_func" >&5
47004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47005 if eval "test \"\${$as_ac_var+set}\" = set"; then
47006 echo $ECHO_N "(cached) $ECHO_C" >&6
47007 else
47008 if test x$gcc_no_link = xyes; then
47009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47011 { (exit 1); exit 1; }; }
47013 cat >conftest.$ac_ext <<_ACEOF
47014 /* confdefs.h. */
47015 _ACEOF
47016 cat confdefs.h >>conftest.$ac_ext
47017 cat >>conftest.$ac_ext <<_ACEOF
47018 /* end confdefs.h. */
47019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47021 #define $ac_func innocuous_$ac_func
47023 /* System header to define __stub macros and hopefully few prototypes,
47024 which can conflict with char $ac_func (); below.
47025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47026 <limits.h> exists even on freestanding compilers. */
47028 #ifdef __STDC__
47029 # include <limits.h>
47030 #else
47031 # include <assert.h>
47032 #endif
47034 #undef $ac_func
47036 /* Override any gcc2 internal prototype to avoid an error. */
47037 #ifdef __cplusplus
47038 extern "C"
47040 #endif
47041 /* We use char because int might match the return type of a gcc2
47042 builtin and then its argument prototype would still apply. */
47043 char $ac_func ();
47044 /* The GNU C library defines this for functions which it implements
47045 to always fail with ENOSYS. Some functions are actually named
47046 something starting with __ and the normal name is an alias. */
47047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47048 choke me
47049 #else
47050 char (*f) () = $ac_func;
47051 #endif
47052 #ifdef __cplusplus
47054 #endif
47057 main ()
47059 return f != $ac_func;
47061 return 0;
47063 _ACEOF
47064 rm -f conftest.$ac_objext conftest$ac_exeext
47065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47066 (eval $ac_link) 2>conftest.er1
47067 ac_status=$?
47068 grep -v '^ *+' conftest.er1 >conftest.err
47069 rm -f conftest.er1
47070 cat conftest.err >&5
47071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47072 (exit $ac_status); } &&
47073 { ac_try='test -z "$ac_c_werror_flag"
47074 || test ! -s conftest.err'
47075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47076 (eval $ac_try) 2>&5
47077 ac_status=$?
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); }; } &&
47080 { ac_try='test -s conftest$ac_exeext'
47081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082 (eval $ac_try) 2>&5
47083 ac_status=$?
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); }; }; then
47086 eval "$as_ac_var=yes"
47087 else
47088 echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47091 eval "$as_ac_var=no"
47093 rm -f conftest.err conftest.$ac_objext \
47094 conftest$ac_exeext conftest.$ac_ext
47096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47098 if test `eval echo '${'$as_ac_var'}'` = yes; then
47099 cat >>confdefs.h <<_ACEOF
47100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47101 _ACEOF
47104 done
47109 echo "$as_me:$LINENO: checking for _long double round functions" >&5
47110 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
47111 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
47112 echo $ECHO_N "(cached) $ECHO_C" >&6
47113 else
47117 ac_ext=cc
47118 ac_cpp='$CXXCPP $CPPFLAGS'
47119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47123 cat >conftest.$ac_ext <<_ACEOF
47124 /* confdefs.h. */
47125 _ACEOF
47126 cat confdefs.h >>conftest.$ac_ext
47127 cat >>conftest.$ac_ext <<_ACEOF
47128 /* end confdefs.h. */
47129 #include <math.h>
47131 main ()
47133 `for x in _ceill _floorl; do echo "$x (0);"; done`
47135 return 0;
47137 _ACEOF
47138 rm -f conftest.$ac_objext
47139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47140 (eval $ac_compile) 2>conftest.er1
47141 ac_status=$?
47142 grep -v '^ *+' conftest.er1 >conftest.err
47143 rm -f conftest.er1
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } &&
47147 { ac_try='test -z "$ac_cxx_werror_flag"
47148 || test ! -s conftest.err'
47149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47150 (eval $ac_try) 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; } &&
47154 { ac_try='test -s conftest.$ac_objext'
47155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47156 (eval $ac_try) 2>&5
47157 ac_status=$?
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); }; }; then
47160 glibcxx_cv_func__long_double_round_use=yes
47161 else
47162 echo "$as_me: failed program was:" >&5
47163 sed 's/^/| /' conftest.$ac_ext >&5
47165 glibcxx_cv_func__long_double_round_use=no
47167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
47177 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
47178 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
47181 for ac_func in _ceill _floorl
47183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47184 echo "$as_me:$LINENO: checking for $ac_func" >&5
47185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47186 if eval "test \"\${$as_ac_var+set}\" = set"; then
47187 echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189 if test x$gcc_no_link = xyes; then
47190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47192 { (exit 1); exit 1; }; }
47194 cat >conftest.$ac_ext <<_ACEOF
47195 /* confdefs.h. */
47196 _ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h. */
47200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47202 #define $ac_func innocuous_$ac_func
47204 /* System header to define __stub macros and hopefully few prototypes,
47205 which can conflict with char $ac_func (); below.
47206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47207 <limits.h> exists even on freestanding compilers. */
47209 #ifdef __STDC__
47210 # include <limits.h>
47211 #else
47212 # include <assert.h>
47213 #endif
47215 #undef $ac_func
47217 /* Override any gcc2 internal prototype to avoid an error. */
47218 #ifdef __cplusplus
47219 extern "C"
47221 #endif
47222 /* We use char because int might match the return type of a gcc2
47223 builtin and then its argument prototype would still apply. */
47224 char $ac_func ();
47225 /* The GNU C library defines this for functions which it implements
47226 to always fail with ENOSYS. Some functions are actually named
47227 something starting with __ and the normal name is an alias. */
47228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47229 choke me
47230 #else
47231 char (*f) () = $ac_func;
47232 #endif
47233 #ifdef __cplusplus
47235 #endif
47238 main ()
47240 return f != $ac_func;
47242 return 0;
47244 _ACEOF
47245 rm -f conftest.$ac_objext conftest$ac_exeext
47246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47247 (eval $ac_link) 2>conftest.er1
47248 ac_status=$?
47249 grep -v '^ *+' conftest.er1 >conftest.err
47250 rm -f conftest.er1
47251 cat conftest.err >&5
47252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47253 (exit $ac_status); } &&
47254 { ac_try='test -z "$ac_c_werror_flag"
47255 || test ! -s conftest.err'
47256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47257 (eval $ac_try) 2>&5
47258 ac_status=$?
47259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260 (exit $ac_status); }; } &&
47261 { ac_try='test -s conftest$ac_exeext'
47262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47263 (eval $ac_try) 2>&5
47264 ac_status=$?
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); }; }; then
47267 eval "$as_ac_var=yes"
47268 else
47269 echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.$ac_ext >&5
47272 eval "$as_ac_var=no"
47274 rm -f conftest.err conftest.$ac_objext \
47275 conftest$ac_exeext conftest.$ac_ext
47277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47279 if test `eval echo '${'$as_ac_var'}'` = yes; then
47280 cat >>confdefs.h <<_ACEOF
47281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47285 done
47290 LIBS="$ac_save_LIBS"
47291 CXXFLAGS="$ac_save_CXXFLAGS"
47295 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
47296 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
47297 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
47298 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
47299 echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47304 ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47310 cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h. */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h. */
47316 #include <math.h>
47318 main ()
47320 __builtin_abs(0);
47322 return 0;
47324 _ACEOF
47325 rm -f conftest.$ac_objext
47326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47327 (eval $ac_compile) 2>conftest.er1
47328 ac_status=$?
47329 grep -v '^ *+' conftest.er1 >conftest.err
47330 rm -f conftest.er1
47331 cat conftest.err >&5
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); } &&
47334 { ac_try='test -z "$ac_cxx_werror_flag"
47335 || test ! -s conftest.err'
47336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47337 (eval $ac_try) 2>&5
47338 ac_status=$?
47339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47340 (exit $ac_status); }; } &&
47341 { ac_try='test -s conftest.$ac_objext'
47342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47343 (eval $ac_try) 2>&5
47344 ac_status=$?
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); }; }; then
47347 glibcxx_cv_func___builtin_abs_use=yes
47348 else
47349 echo "$as_me: failed program was:" >&5
47350 sed 's/^/| /' conftest.$ac_ext >&5
47352 glibcxx_cv_func___builtin_abs_use=no
47354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
47366 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
47367 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
47368 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
47369 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
47370 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
47371 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
47372 echo $ECHO_N "(cached) $ECHO_C" >&6
47373 else
47375 if test x$gcc_no_link = xyes; then
47376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47378 { (exit 1); exit 1; }; }
47380 cat >conftest.$ac_ext <<_ACEOF
47381 /* confdefs.h. */
47382 _ACEOF
47383 cat confdefs.h >>conftest.$ac_ext
47384 cat >>conftest.$ac_ext <<_ACEOF
47385 /* end confdefs.h. */
47386 #include <math.h>
47388 main ()
47390 __builtin_abs(0);
47392 return 0;
47394 _ACEOF
47395 rm -f conftest.$ac_objext conftest$ac_exeext
47396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47397 (eval $ac_link) 2>conftest.er1
47398 ac_status=$?
47399 grep -v '^ *+' conftest.er1 >conftest.err
47400 rm -f conftest.er1
47401 cat conftest.err >&5
47402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47403 (exit $ac_status); } &&
47404 { ac_try='test -z "$ac_c_werror_flag"
47405 || test ! -s conftest.err'
47406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47407 (eval $ac_try) 2>&5
47408 ac_status=$?
47409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410 (exit $ac_status); }; } &&
47411 { ac_try='test -s conftest$ac_exeext'
47412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47413 (eval $ac_try) 2>&5
47414 ac_status=$?
47415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47416 (exit $ac_status); }; }; then
47417 glibcxx_cv_func___builtin_abs_link=yes
47418 else
47419 echo "$as_me: failed program was:" >&5
47420 sed 's/^/| /' conftest.$ac_ext >&5
47422 glibcxx_cv_func___builtin_abs_link=no
47424 rm -f conftest.err conftest.$ac_objext \
47425 conftest$ac_exeext conftest.$ac_ext
47430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
47431 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
47432 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
47433 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47435 cat >>confdefs.h <<_ACEOF
47436 #define ${ac_tr_func} 1
47437 _ACEOF
47443 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
47444 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
47445 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
47446 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47448 else
47452 ac_ext=cc
47453 ac_cpp='$CXXCPP $CPPFLAGS'
47454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47458 cat >conftest.$ac_ext <<_ACEOF
47459 /* confdefs.h. */
47460 _ACEOF
47461 cat confdefs.h >>conftest.$ac_ext
47462 cat >>conftest.$ac_ext <<_ACEOF
47463 /* end confdefs.h. */
47464 #include <math.h>
47466 main ()
47468 __builtin_fabsf(0);
47470 return 0;
47472 _ACEOF
47473 rm -f conftest.$ac_objext
47474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47475 (eval $ac_compile) 2>conftest.er1
47476 ac_status=$?
47477 grep -v '^ *+' conftest.er1 >conftest.err
47478 rm -f conftest.er1
47479 cat conftest.err >&5
47480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47481 (exit $ac_status); } &&
47482 { ac_try='test -z "$ac_cxx_werror_flag"
47483 || test ! -s conftest.err'
47484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47485 (eval $ac_try) 2>&5
47486 ac_status=$?
47487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47488 (exit $ac_status); }; } &&
47489 { ac_try='test -s conftest.$ac_objext'
47490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47491 (eval $ac_try) 2>&5
47492 ac_status=$?
47493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494 (exit $ac_status); }; }; then
47495 glibcxx_cv_func___builtin_fabsf_use=yes
47496 else
47497 echo "$as_me: failed program was:" >&5
47498 sed 's/^/| /' conftest.$ac_ext >&5
47500 glibcxx_cv_func___builtin_fabsf_use=no
47502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47503 ac_ext=c
47504 ac_cpp='$CPP $CPPFLAGS'
47505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
47514 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
47515 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
47516 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
47517 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
47518 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
47519 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
47520 echo $ECHO_N "(cached) $ECHO_C" >&6
47521 else
47523 if test x$gcc_no_link = xyes; then
47524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47526 { (exit 1); exit 1; }; }
47528 cat >conftest.$ac_ext <<_ACEOF
47529 /* confdefs.h. */
47530 _ACEOF
47531 cat confdefs.h >>conftest.$ac_ext
47532 cat >>conftest.$ac_ext <<_ACEOF
47533 /* end confdefs.h. */
47534 #include <math.h>
47536 main ()
47538 __builtin_fabsf(0);
47540 return 0;
47542 _ACEOF
47543 rm -f conftest.$ac_objext conftest$ac_exeext
47544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47545 (eval $ac_link) 2>conftest.er1
47546 ac_status=$?
47547 grep -v '^ *+' conftest.er1 >conftest.err
47548 rm -f conftest.er1
47549 cat conftest.err >&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); } &&
47552 { ac_try='test -z "$ac_c_werror_flag"
47553 || test ! -s conftest.err'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47556 ac_status=$?
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; } &&
47559 { ac_try='test -s conftest$ac_exeext'
47560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561 (eval $ac_try) 2>&5
47562 ac_status=$?
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); }; }; then
47565 glibcxx_cv_func___builtin_fabsf_link=yes
47566 else
47567 echo "$as_me: failed program was:" >&5
47568 sed 's/^/| /' conftest.$ac_ext >&5
47570 glibcxx_cv_func___builtin_fabsf_link=no
47572 rm -f conftest.err conftest.$ac_objext \
47573 conftest$ac_exeext conftest.$ac_ext
47578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
47579 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
47580 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
47581 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47583 cat >>confdefs.h <<_ACEOF
47584 #define ${ac_tr_func} 1
47585 _ACEOF
47591 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
47592 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
47593 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
47594 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
47595 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 else
47600 ac_ext=cc
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47606 cat >conftest.$ac_ext <<_ACEOF
47607 /* confdefs.h. */
47608 _ACEOF
47609 cat confdefs.h >>conftest.$ac_ext
47610 cat >>conftest.$ac_ext <<_ACEOF
47611 /* end confdefs.h. */
47612 #include <math.h>
47614 main ()
47616 __builtin_fabs(0);
47618 return 0;
47620 _ACEOF
47621 rm -f conftest.$ac_objext
47622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47623 (eval $ac_compile) 2>conftest.er1
47624 ac_status=$?
47625 grep -v '^ *+' conftest.er1 >conftest.err
47626 rm -f conftest.er1
47627 cat conftest.err >&5
47628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629 (exit $ac_status); } &&
47630 { ac_try='test -z "$ac_cxx_werror_flag"
47631 || test ! -s conftest.err'
47632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47633 (eval $ac_try) 2>&5
47634 ac_status=$?
47635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); }; } &&
47637 { ac_try='test -s conftest.$ac_objext'
47638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47639 (eval $ac_try) 2>&5
47640 ac_status=$?
47641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642 (exit $ac_status); }; }; then
47643 glibcxx_cv_func___builtin_fabs_use=yes
47644 else
47645 echo "$as_me: failed program was:" >&5
47646 sed 's/^/| /' conftest.$ac_ext >&5
47648 glibcxx_cv_func___builtin_fabs_use=no
47650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47651 ac_ext=c
47652 ac_cpp='$CPP $CPPFLAGS'
47653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47661 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
47662 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
47663 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
47664 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
47665 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
47666 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
47667 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 else
47671 if test x$gcc_no_link = xyes; then
47672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47674 { (exit 1); exit 1; }; }
47676 cat >conftest.$ac_ext <<_ACEOF
47677 /* confdefs.h. */
47678 _ACEOF
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682 #include <math.h>
47684 main ()
47686 __builtin_fabs(0);
47688 return 0;
47690 _ACEOF
47691 rm -f conftest.$ac_objext conftest$ac_exeext
47692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47693 (eval $ac_link) 2>conftest.er1
47694 ac_status=$?
47695 grep -v '^ *+' conftest.er1 >conftest.err
47696 rm -f conftest.er1
47697 cat conftest.err >&5
47698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699 (exit $ac_status); } &&
47700 { ac_try='test -z "$ac_c_werror_flag"
47701 || test ! -s conftest.err'
47702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47703 (eval $ac_try) 2>&5
47704 ac_status=$?
47705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47706 (exit $ac_status); }; } &&
47707 { ac_try='test -s conftest$ac_exeext'
47708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47709 (eval $ac_try) 2>&5
47710 ac_status=$?
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); }; }; then
47713 glibcxx_cv_func___builtin_fabs_link=yes
47714 else
47715 echo "$as_me: failed program was:" >&5
47716 sed 's/^/| /' conftest.$ac_ext >&5
47718 glibcxx_cv_func___builtin_fabs_link=no
47720 rm -f conftest.err conftest.$ac_objext \
47721 conftest$ac_exeext conftest.$ac_ext
47726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
47727 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
47728 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
47729 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47731 cat >>confdefs.h <<_ACEOF
47732 #define ${ac_tr_func} 1
47733 _ACEOF
47739 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
47740 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
47741 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
47742 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47748 ac_ext=cc
47749 ac_cpp='$CXXCPP $CPPFLAGS'
47750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47754 cat >conftest.$ac_ext <<_ACEOF
47755 /* confdefs.h. */
47756 _ACEOF
47757 cat confdefs.h >>conftest.$ac_ext
47758 cat >>conftest.$ac_ext <<_ACEOF
47759 /* end confdefs.h. */
47760 #include <math.h>
47762 main ()
47764 __builtin_fabsl(0);
47766 return 0;
47768 _ACEOF
47769 rm -f conftest.$ac_objext
47770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47771 (eval $ac_compile) 2>conftest.er1
47772 ac_status=$?
47773 grep -v '^ *+' conftest.er1 >conftest.err
47774 rm -f conftest.er1
47775 cat conftest.err >&5
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); } &&
47778 { ac_try='test -z "$ac_cxx_werror_flag"
47779 || test ! -s conftest.err'
47780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47781 (eval $ac_try) 2>&5
47782 ac_status=$?
47783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784 (exit $ac_status); }; } &&
47785 { ac_try='test -s conftest.$ac_objext'
47786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47787 (eval $ac_try) 2>&5
47788 ac_status=$?
47789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790 (exit $ac_status); }; }; then
47791 glibcxx_cv_func___builtin_fabsl_use=yes
47792 else
47793 echo "$as_me: failed program was:" >&5
47794 sed 's/^/| /' conftest.$ac_ext >&5
47796 glibcxx_cv_func___builtin_fabsl_use=no
47798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47799 ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
47810 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
47811 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
47812 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
47813 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
47814 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
47815 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
47816 echo $ECHO_N "(cached) $ECHO_C" >&6
47817 else
47819 if test x$gcc_no_link = xyes; then
47820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47822 { (exit 1); exit 1; }; }
47824 cat >conftest.$ac_ext <<_ACEOF
47825 /* confdefs.h. */
47826 _ACEOF
47827 cat confdefs.h >>conftest.$ac_ext
47828 cat >>conftest.$ac_ext <<_ACEOF
47829 /* end confdefs.h. */
47830 #include <math.h>
47832 main ()
47834 __builtin_fabsl(0);
47836 return 0;
47838 _ACEOF
47839 rm -f conftest.$ac_objext conftest$ac_exeext
47840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47841 (eval $ac_link) 2>conftest.er1
47842 ac_status=$?
47843 grep -v '^ *+' conftest.er1 >conftest.err
47844 rm -f conftest.er1
47845 cat conftest.err >&5
47846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47847 (exit $ac_status); } &&
47848 { ac_try='test -z "$ac_c_werror_flag"
47849 || test ! -s conftest.err'
47850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47851 (eval $ac_try) 2>&5
47852 ac_status=$?
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); }; } &&
47855 { ac_try='test -s conftest$ac_exeext'
47856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47857 (eval $ac_try) 2>&5
47858 ac_status=$?
47859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860 (exit $ac_status); }; }; then
47861 glibcxx_cv_func___builtin_fabsl_link=yes
47862 else
47863 echo "$as_me: failed program was:" >&5
47864 sed 's/^/| /' conftest.$ac_ext >&5
47866 glibcxx_cv_func___builtin_fabsl_link=no
47868 rm -f conftest.err conftest.$ac_objext \
47869 conftest$ac_exeext conftest.$ac_ext
47874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
47875 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
47876 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
47877 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47879 cat >>confdefs.h <<_ACEOF
47880 #define ${ac_tr_func} 1
47881 _ACEOF
47887 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
47888 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
47889 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
47890 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
47891 echo $ECHO_N "(cached) $ECHO_C" >&6
47892 else
47896 ac_ext=cc
47897 ac_cpp='$CXXCPP $CPPFLAGS'
47898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47902 cat >conftest.$ac_ext <<_ACEOF
47903 /* confdefs.h. */
47904 _ACEOF
47905 cat confdefs.h >>conftest.$ac_ext
47906 cat >>conftest.$ac_ext <<_ACEOF
47907 /* end confdefs.h. */
47908 #include <math.h>
47910 main ()
47912 __builtin_labs(0);
47914 return 0;
47916 _ACEOF
47917 rm -f conftest.$ac_objext
47918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47919 (eval $ac_compile) 2>conftest.er1
47920 ac_status=$?
47921 grep -v '^ *+' conftest.er1 >conftest.err
47922 rm -f conftest.er1
47923 cat conftest.err >&5
47924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47925 (exit $ac_status); } &&
47926 { ac_try='test -z "$ac_cxx_werror_flag"
47927 || test ! -s conftest.err'
47928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47929 (eval $ac_try) 2>&5
47930 ac_status=$?
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); }; } &&
47933 { ac_try='test -s conftest.$ac_objext'
47934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47935 (eval $ac_try) 2>&5
47936 ac_status=$?
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); }; }; then
47939 glibcxx_cv_func___builtin_labs_use=yes
47940 else
47941 echo "$as_me: failed program was:" >&5
47942 sed 's/^/| /' conftest.$ac_ext >&5
47944 glibcxx_cv_func___builtin_labs_use=no
47946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47947 ac_ext=c
47948 ac_cpp='$CPP $CPPFLAGS'
47949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
47958 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
47959 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
47960 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
47961 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
47962 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
47963 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47965 else
47967 if test x$gcc_no_link = xyes; then
47968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47970 { (exit 1); exit 1; }; }
47972 cat >conftest.$ac_ext <<_ACEOF
47973 /* confdefs.h. */
47974 _ACEOF
47975 cat confdefs.h >>conftest.$ac_ext
47976 cat >>conftest.$ac_ext <<_ACEOF
47977 /* end confdefs.h. */
47978 #include <math.h>
47980 main ()
47982 __builtin_labs(0);
47984 return 0;
47986 _ACEOF
47987 rm -f conftest.$ac_objext conftest$ac_exeext
47988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47989 (eval $ac_link) 2>conftest.er1
47990 ac_status=$?
47991 grep -v '^ *+' conftest.er1 >conftest.err
47992 rm -f conftest.er1
47993 cat conftest.err >&5
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); } &&
47996 { ac_try='test -z "$ac_c_werror_flag"
47997 || test ! -s conftest.err'
47998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47999 (eval $ac_try) 2>&5
48000 ac_status=$?
48001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48002 (exit $ac_status); }; } &&
48003 { ac_try='test -s conftest$ac_exeext'
48004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48005 (eval $ac_try) 2>&5
48006 ac_status=$?
48007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008 (exit $ac_status); }; }; then
48009 glibcxx_cv_func___builtin_labs_link=yes
48010 else
48011 echo "$as_me: failed program was:" >&5
48012 sed 's/^/| /' conftest.$ac_ext >&5
48014 glibcxx_cv_func___builtin_labs_link=no
48016 rm -f conftest.err conftest.$ac_objext \
48017 conftest$ac_exeext conftest.$ac_ext
48022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48023 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48024 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48025 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48027 cat >>confdefs.h <<_ACEOF
48028 #define ${ac_tr_func} 1
48029 _ACEOF
48036 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48037 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48038 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48039 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48040 echo $ECHO_N "(cached) $ECHO_C" >&6
48041 else
48045 ac_ext=cc
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48051 cat >conftest.$ac_ext <<_ACEOF
48052 /* confdefs.h. */
48053 _ACEOF
48054 cat confdefs.h >>conftest.$ac_ext
48055 cat >>conftest.$ac_ext <<_ACEOF
48056 /* end confdefs.h. */
48057 #include <math.h>
48059 main ()
48061 __builtin_sqrtf(0);
48063 return 0;
48065 _ACEOF
48066 rm -f conftest.$ac_objext
48067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48068 (eval $ac_compile) 2>conftest.er1
48069 ac_status=$?
48070 grep -v '^ *+' conftest.er1 >conftest.err
48071 rm -f conftest.er1
48072 cat conftest.err >&5
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); } &&
48075 { ac_try='test -z "$ac_cxx_werror_flag"
48076 || test ! -s conftest.err'
48077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078 (eval $ac_try) 2>&5
48079 ac_status=$?
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); }; } &&
48082 { ac_try='test -s conftest.$ac_objext'
48083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48084 (eval $ac_try) 2>&5
48085 ac_status=$?
48086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087 (exit $ac_status); }; }; then
48088 glibcxx_cv_func___builtin_sqrtf_use=yes
48089 else
48090 echo "$as_me: failed program was:" >&5
48091 sed 's/^/| /' conftest.$ac_ext >&5
48093 glibcxx_cv_func___builtin_sqrtf_use=no
48095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48096 ac_ext=c
48097 ac_cpp='$CPP $CPPFLAGS'
48098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
48107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
48108 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
48109 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
48110 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
48111 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
48112 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
48113 echo $ECHO_N "(cached) $ECHO_C" >&6
48114 else
48116 if test x$gcc_no_link = xyes; then
48117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48119 { (exit 1); exit 1; }; }
48121 cat >conftest.$ac_ext <<_ACEOF
48122 /* confdefs.h. */
48123 _ACEOF
48124 cat confdefs.h >>conftest.$ac_ext
48125 cat >>conftest.$ac_ext <<_ACEOF
48126 /* end confdefs.h. */
48127 #include <math.h>
48129 main ()
48131 __builtin_sqrtf(0);
48133 return 0;
48135 _ACEOF
48136 rm -f conftest.$ac_objext conftest$ac_exeext
48137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48138 (eval $ac_link) 2>conftest.er1
48139 ac_status=$?
48140 grep -v '^ *+' conftest.er1 >conftest.err
48141 rm -f conftest.er1
48142 cat conftest.err >&5
48143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48144 (exit $ac_status); } &&
48145 { ac_try='test -z "$ac_c_werror_flag"
48146 || test ! -s conftest.err'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; } &&
48152 { ac_try='test -s conftest$ac_exeext'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; }; then
48158 glibcxx_cv_func___builtin_sqrtf_link=yes
48159 else
48160 echo "$as_me: failed program was:" >&5
48161 sed 's/^/| /' conftest.$ac_ext >&5
48163 glibcxx_cv_func___builtin_sqrtf_link=no
48165 rm -f conftest.err conftest.$ac_objext \
48166 conftest$ac_exeext conftest.$ac_ext
48171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
48172 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
48173 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
48174 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48176 cat >>confdefs.h <<_ACEOF
48177 #define ${ac_tr_func} 1
48178 _ACEOF
48184 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
48185 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
48186 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
48187 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
48188 echo $ECHO_N "(cached) $ECHO_C" >&6
48189 else
48193 ac_ext=cc
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48199 cat >conftest.$ac_ext <<_ACEOF
48200 /* confdefs.h. */
48201 _ACEOF
48202 cat confdefs.h >>conftest.$ac_ext
48203 cat >>conftest.$ac_ext <<_ACEOF
48204 /* end confdefs.h. */
48205 #include <math.h>
48207 main ()
48209 __builtin_sqrt(0);
48211 return 0;
48213 _ACEOF
48214 rm -f conftest.$ac_objext
48215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48216 (eval $ac_compile) 2>conftest.er1
48217 ac_status=$?
48218 grep -v '^ *+' conftest.er1 >conftest.err
48219 rm -f conftest.er1
48220 cat conftest.err >&5
48221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48222 (exit $ac_status); } &&
48223 { ac_try='test -z "$ac_cxx_werror_flag"
48224 || test ! -s conftest.err'
48225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48226 (eval $ac_try) 2>&5
48227 ac_status=$?
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); }; } &&
48230 { ac_try='test -s conftest.$ac_objext'
48231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48232 (eval $ac_try) 2>&5
48233 ac_status=$?
48234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235 (exit $ac_status); }; }; then
48236 glibcxx_cv_func___builtin_sqrt_use=yes
48237 else
48238 echo "$as_me: failed program was:" >&5
48239 sed 's/^/| /' conftest.$ac_ext >&5
48241 glibcxx_cv_func___builtin_sqrt_use=no
48243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48244 ac_ext=c
48245 ac_cpp='$CPP $CPPFLAGS'
48246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
48255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
48256 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
48257 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
48258 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
48259 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
48260 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
48261 echo $ECHO_N "(cached) $ECHO_C" >&6
48262 else
48264 if test x$gcc_no_link = xyes; then
48265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48267 { (exit 1); exit 1; }; }
48269 cat >conftest.$ac_ext <<_ACEOF
48270 /* confdefs.h. */
48271 _ACEOF
48272 cat confdefs.h >>conftest.$ac_ext
48273 cat >>conftest.$ac_ext <<_ACEOF
48274 /* end confdefs.h. */
48275 #include <math.h>
48277 main ()
48279 __builtin_sqrt(0);
48281 return 0;
48283 _ACEOF
48284 rm -f conftest.$ac_objext conftest$ac_exeext
48285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48286 (eval $ac_link) 2>conftest.er1
48287 ac_status=$?
48288 grep -v '^ *+' conftest.er1 >conftest.err
48289 rm -f conftest.er1
48290 cat conftest.err >&5
48291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48292 (exit $ac_status); } &&
48293 { ac_try='test -z "$ac_c_werror_flag"
48294 || test ! -s conftest.err'
48295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48296 (eval $ac_try) 2>&5
48297 ac_status=$?
48298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48299 (exit $ac_status); }; } &&
48300 { ac_try='test -s conftest$ac_exeext'
48301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48302 (eval $ac_try) 2>&5
48303 ac_status=$?
48304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48305 (exit $ac_status); }; }; then
48306 glibcxx_cv_func___builtin_sqrt_link=yes
48307 else
48308 echo "$as_me: failed program was:" >&5
48309 sed 's/^/| /' conftest.$ac_ext >&5
48311 glibcxx_cv_func___builtin_sqrt_link=no
48313 rm -f conftest.err conftest.$ac_objext \
48314 conftest$ac_exeext conftest.$ac_ext
48319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
48320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
48321 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
48322 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48324 cat >>confdefs.h <<_ACEOF
48325 #define ${ac_tr_func} 1
48326 _ACEOF
48332 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
48333 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
48334 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
48335 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
48336 echo $ECHO_N "(cached) $ECHO_C" >&6
48337 else
48341 ac_ext=cc
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347 cat >conftest.$ac_ext <<_ACEOF
48348 /* confdefs.h. */
48349 _ACEOF
48350 cat confdefs.h >>conftest.$ac_ext
48351 cat >>conftest.$ac_ext <<_ACEOF
48352 /* end confdefs.h. */
48353 #include <math.h>
48355 main ()
48357 __builtin_sqrtl(0);
48359 return 0;
48361 _ACEOF
48362 rm -f conftest.$ac_objext
48363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48364 (eval $ac_compile) 2>conftest.er1
48365 ac_status=$?
48366 grep -v '^ *+' conftest.er1 >conftest.err
48367 rm -f conftest.er1
48368 cat conftest.err >&5
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); } &&
48371 { ac_try='test -z "$ac_cxx_werror_flag"
48372 || test ! -s conftest.err'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48375 ac_status=$?
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; } &&
48378 { ac_try='test -s conftest.$ac_objext'
48379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48380 (eval $ac_try) 2>&5
48381 ac_status=$?
48382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383 (exit $ac_status); }; }; then
48384 glibcxx_cv_func___builtin_sqrtl_use=yes
48385 else
48386 echo "$as_me: failed program was:" >&5
48387 sed 's/^/| /' conftest.$ac_ext >&5
48389 glibcxx_cv_func___builtin_sqrtl_use=no
48391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48392 ac_ext=c
48393 ac_cpp='$CPP $CPPFLAGS'
48394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
48403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
48404 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
48405 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
48406 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
48407 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
48408 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
48409 echo $ECHO_N "(cached) $ECHO_C" >&6
48410 else
48412 if test x$gcc_no_link = xyes; then
48413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48415 { (exit 1); exit 1; }; }
48417 cat >conftest.$ac_ext <<_ACEOF
48418 /* confdefs.h. */
48419 _ACEOF
48420 cat confdefs.h >>conftest.$ac_ext
48421 cat >>conftest.$ac_ext <<_ACEOF
48422 /* end confdefs.h. */
48423 #include <math.h>
48425 main ()
48427 __builtin_sqrtl(0);
48429 return 0;
48431 _ACEOF
48432 rm -f conftest.$ac_objext conftest$ac_exeext
48433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48434 (eval $ac_link) 2>conftest.er1
48435 ac_status=$?
48436 grep -v '^ *+' conftest.er1 >conftest.err
48437 rm -f conftest.er1
48438 cat conftest.err >&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); } &&
48441 { ac_try='test -z "$ac_c_werror_flag"
48442 || test ! -s conftest.err'
48443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48444 (eval $ac_try) 2>&5
48445 ac_status=$?
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); }; } &&
48448 { ac_try='test -s conftest$ac_exeext'
48449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450 (eval $ac_try) 2>&5
48451 ac_status=$?
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); }; }; then
48454 glibcxx_cv_func___builtin_sqrtl_link=yes
48455 else
48456 echo "$as_me: failed program was:" >&5
48457 sed 's/^/| /' conftest.$ac_ext >&5
48459 glibcxx_cv_func___builtin_sqrtl_link=no
48461 rm -f conftest.err conftest.$ac_objext \
48462 conftest$ac_exeext conftest.$ac_ext
48467 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
48468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
48469 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
48470 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48472 cat >>confdefs.h <<_ACEOF
48473 #define ${ac_tr_func} 1
48474 _ACEOF
48481 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
48482 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
48483 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
48484 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
48485 echo $ECHO_N "(cached) $ECHO_C" >&6
48486 else
48490 ac_ext=cc
48491 ac_cpp='$CXXCPP $CPPFLAGS'
48492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48496 cat >conftest.$ac_ext <<_ACEOF
48497 /* confdefs.h. */
48498 _ACEOF
48499 cat confdefs.h >>conftest.$ac_ext
48500 cat >>conftest.$ac_ext <<_ACEOF
48501 /* end confdefs.h. */
48502 #include <math.h>
48504 main ()
48506 __builtin_sinf(0);
48508 return 0;
48510 _ACEOF
48511 rm -f conftest.$ac_objext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48513 (eval $ac_compile) 2>conftest.er1
48514 ac_status=$?
48515 grep -v '^ *+' conftest.er1 >conftest.err
48516 rm -f conftest.er1
48517 cat conftest.err >&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } &&
48520 { ac_try='test -z "$ac_cxx_werror_flag"
48521 || test ! -s conftest.err'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; } &&
48527 { ac_try='test -s conftest.$ac_objext'
48528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529 (eval $ac_try) 2>&5
48530 ac_status=$?
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); }; }; then
48533 glibcxx_cv_func___builtin_sinf_use=yes
48534 else
48535 echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48538 glibcxx_cv_func___builtin_sinf_use=no
48540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
48552 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
48553 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
48554 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
48555 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
48556 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
48557 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 else
48561 if test x$gcc_no_link = xyes; then
48562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48564 { (exit 1); exit 1; }; }
48566 cat >conftest.$ac_ext <<_ACEOF
48567 /* confdefs.h. */
48568 _ACEOF
48569 cat confdefs.h >>conftest.$ac_ext
48570 cat >>conftest.$ac_ext <<_ACEOF
48571 /* end confdefs.h. */
48572 #include <math.h>
48574 main ()
48576 __builtin_sinf(0);
48578 return 0;
48580 _ACEOF
48581 rm -f conftest.$ac_objext conftest$ac_exeext
48582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48583 (eval $ac_link) 2>conftest.er1
48584 ac_status=$?
48585 grep -v '^ *+' conftest.er1 >conftest.err
48586 rm -f conftest.er1
48587 cat conftest.err >&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); } &&
48590 { ac_try='test -z "$ac_c_werror_flag"
48591 || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest$ac_exeext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603 glibcxx_cv_func___builtin_sinf_link=yes
48604 else
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48608 glibcxx_cv_func___builtin_sinf_link=no
48610 rm -f conftest.err conftest.$ac_objext \
48611 conftest$ac_exeext conftest.$ac_ext
48616 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
48617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
48618 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
48619 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48621 cat >>confdefs.h <<_ACEOF
48622 #define ${ac_tr_func} 1
48623 _ACEOF
48629 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
48630 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
48631 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
48632 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
48633 echo $ECHO_N "(cached) $ECHO_C" >&6
48634 else
48638 ac_ext=cc
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48644 cat >conftest.$ac_ext <<_ACEOF
48645 /* confdefs.h. */
48646 _ACEOF
48647 cat confdefs.h >>conftest.$ac_ext
48648 cat >>conftest.$ac_ext <<_ACEOF
48649 /* end confdefs.h. */
48650 #include <math.h>
48652 main ()
48654 __builtin_sin(0);
48656 return 0;
48658 _ACEOF
48659 rm -f conftest.$ac_objext
48660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48661 (eval $ac_compile) 2>conftest.er1
48662 ac_status=$?
48663 grep -v '^ *+' conftest.er1 >conftest.err
48664 rm -f conftest.er1
48665 cat conftest.err >&5
48666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48667 (exit $ac_status); } &&
48668 { ac_try='test -z "$ac_cxx_werror_flag"
48669 || test ! -s conftest.err'
48670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48671 (eval $ac_try) 2>&5
48672 ac_status=$?
48673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674 (exit $ac_status); }; } &&
48675 { ac_try='test -s conftest.$ac_objext'
48676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48677 (eval $ac_try) 2>&5
48678 ac_status=$?
48679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48680 (exit $ac_status); }; }; then
48681 glibcxx_cv_func___builtin_sin_use=yes
48682 else
48683 echo "$as_me: failed program was:" >&5
48684 sed 's/^/| /' conftest.$ac_ext >&5
48686 glibcxx_cv_func___builtin_sin_use=no
48688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48689 ac_ext=c
48690 ac_cpp='$CPP $CPPFLAGS'
48691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
48700 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
48701 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
48702 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
48703 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
48704 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
48705 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
48706 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 else
48709 if test x$gcc_no_link = xyes; then
48710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48712 { (exit 1); exit 1; }; }
48714 cat >conftest.$ac_ext <<_ACEOF
48715 /* confdefs.h. */
48716 _ACEOF
48717 cat confdefs.h >>conftest.$ac_ext
48718 cat >>conftest.$ac_ext <<_ACEOF
48719 /* end confdefs.h. */
48720 #include <math.h>
48722 main ()
48724 __builtin_sin(0);
48726 return 0;
48728 _ACEOF
48729 rm -f conftest.$ac_objext conftest$ac_exeext
48730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48731 (eval $ac_link) 2>conftest.er1
48732 ac_status=$?
48733 grep -v '^ *+' conftest.er1 >conftest.err
48734 rm -f conftest.er1
48735 cat conftest.err >&5
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); } &&
48738 { ac_try='test -z "$ac_c_werror_flag"
48739 || test ! -s conftest.err'
48740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48741 (eval $ac_try) 2>&5
48742 ac_status=$?
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); }; } &&
48745 { ac_try='test -s conftest$ac_exeext'
48746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48747 (eval $ac_try) 2>&5
48748 ac_status=$?
48749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750 (exit $ac_status); }; }; then
48751 glibcxx_cv_func___builtin_sin_link=yes
48752 else
48753 echo "$as_me: failed program was:" >&5
48754 sed 's/^/| /' conftest.$ac_ext >&5
48756 glibcxx_cv_func___builtin_sin_link=no
48758 rm -f conftest.err conftest.$ac_objext \
48759 conftest$ac_exeext conftest.$ac_ext
48764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
48765 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
48766 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
48767 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48769 cat >>confdefs.h <<_ACEOF
48770 #define ${ac_tr_func} 1
48771 _ACEOF
48777 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
48778 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
48779 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
48780 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
48781 echo $ECHO_N "(cached) $ECHO_C" >&6
48782 else
48786 ac_ext=cc
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798 #include <math.h>
48800 main ()
48802 __builtin_sinl(0);
48804 return 0;
48806 _ACEOF
48807 rm -f conftest.$ac_objext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48809 (eval $ac_compile) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_cxx_werror_flag"
48817 || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest.$ac_objext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 glibcxx_cv_func___builtin_sinl_use=yes
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48834 glibcxx_cv_func___builtin_sinl_use=no
48836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
48848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
48849 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
48850 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
48851 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
48852 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
48853 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
48854 echo $ECHO_N "(cached) $ECHO_C" >&6
48855 else
48857 if test x$gcc_no_link = xyes; then
48858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48860 { (exit 1); exit 1; }; }
48862 cat >conftest.$ac_ext <<_ACEOF
48863 /* confdefs.h. */
48864 _ACEOF
48865 cat confdefs.h >>conftest.$ac_ext
48866 cat >>conftest.$ac_ext <<_ACEOF
48867 /* end confdefs.h. */
48868 #include <math.h>
48870 main ()
48872 __builtin_sinl(0);
48874 return 0;
48876 _ACEOF
48877 rm -f conftest.$ac_objext conftest$ac_exeext
48878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48879 (eval $ac_link) 2>conftest.er1
48880 ac_status=$?
48881 grep -v '^ *+' conftest.er1 >conftest.err
48882 rm -f conftest.er1
48883 cat conftest.err >&5
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); } &&
48886 { ac_try='test -z "$ac_c_werror_flag"
48887 || test ! -s conftest.err'
48888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48889 (eval $ac_try) 2>&5
48890 ac_status=$?
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; } &&
48893 { ac_try='test -s conftest$ac_exeext'
48894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48895 (eval $ac_try) 2>&5
48896 ac_status=$?
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); }; }; then
48899 glibcxx_cv_func___builtin_sinl_link=yes
48900 else
48901 echo "$as_me: failed program was:" >&5
48902 sed 's/^/| /' conftest.$ac_ext >&5
48904 glibcxx_cv_func___builtin_sinl_link=no
48906 rm -f conftest.err conftest.$ac_objext \
48907 conftest$ac_exeext conftest.$ac_ext
48912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
48913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
48914 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
48915 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48917 cat >>confdefs.h <<_ACEOF
48918 #define ${ac_tr_func} 1
48919 _ACEOF
48926 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
48927 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
48928 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
48929 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
48930 echo $ECHO_N "(cached) $ECHO_C" >&6
48931 else
48935 ac_ext=cc
48936 ac_cpp='$CXXCPP $CPPFLAGS'
48937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48941 cat >conftest.$ac_ext <<_ACEOF
48942 /* confdefs.h. */
48943 _ACEOF
48944 cat confdefs.h >>conftest.$ac_ext
48945 cat >>conftest.$ac_ext <<_ACEOF
48946 /* end confdefs.h. */
48947 #include <math.h>
48949 main ()
48951 __builtin_cosf(0);
48953 return 0;
48955 _ACEOF
48956 rm -f conftest.$ac_objext
48957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48958 (eval $ac_compile) 2>conftest.er1
48959 ac_status=$?
48960 grep -v '^ *+' conftest.er1 >conftest.err
48961 rm -f conftest.er1
48962 cat conftest.err >&5
48963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48964 (exit $ac_status); } &&
48965 { ac_try='test -z "$ac_cxx_werror_flag"
48966 || test ! -s conftest.err'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; } &&
48972 { ac_try='test -s conftest.$ac_objext'
48973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48974 (eval $ac_try) 2>&5
48975 ac_status=$?
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); }; }; then
48978 glibcxx_cv_func___builtin_cosf_use=yes
48979 else
48980 echo "$as_me: failed program was:" >&5
48981 sed 's/^/| /' conftest.$ac_ext >&5
48983 glibcxx_cv_func___builtin_cosf_use=no
48985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48986 ac_ext=c
48987 ac_cpp='$CPP $CPPFLAGS'
48988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
48997 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
48998 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
48999 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49000 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49001 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49002 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49003 echo $ECHO_N "(cached) $ECHO_C" >&6
49004 else
49006 if test x$gcc_no_link = xyes; then
49007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49009 { (exit 1); exit 1; }; }
49011 cat >conftest.$ac_ext <<_ACEOF
49012 /* confdefs.h. */
49013 _ACEOF
49014 cat confdefs.h >>conftest.$ac_ext
49015 cat >>conftest.$ac_ext <<_ACEOF
49016 /* end confdefs.h. */
49017 #include <math.h>
49019 main ()
49021 __builtin_cosf(0);
49023 return 0;
49025 _ACEOF
49026 rm -f conftest.$ac_objext conftest$ac_exeext
49027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49028 (eval $ac_link) 2>conftest.er1
49029 ac_status=$?
49030 grep -v '^ *+' conftest.er1 >conftest.err
49031 rm -f conftest.er1
49032 cat conftest.err >&5
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); } &&
49035 { ac_try='test -z "$ac_c_werror_flag"
49036 || test ! -s conftest.err'
49037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49038 (eval $ac_try) 2>&5
49039 ac_status=$?
49040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041 (exit $ac_status); }; } &&
49042 { ac_try='test -s conftest$ac_exeext'
49043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49044 (eval $ac_try) 2>&5
49045 ac_status=$?
49046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49047 (exit $ac_status); }; }; then
49048 glibcxx_cv_func___builtin_cosf_link=yes
49049 else
49050 echo "$as_me: failed program was:" >&5
49051 sed 's/^/| /' conftest.$ac_ext >&5
49053 glibcxx_cv_func___builtin_cosf_link=no
49055 rm -f conftest.err conftest.$ac_objext \
49056 conftest$ac_exeext conftest.$ac_ext
49061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49062 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49063 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49064 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49066 cat >>confdefs.h <<_ACEOF
49067 #define ${ac_tr_func} 1
49068 _ACEOF
49074 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49075 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49076 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49077 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49078 echo $ECHO_N "(cached) $ECHO_C" >&6
49079 else
49083 ac_ext=cc
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49089 cat >conftest.$ac_ext <<_ACEOF
49090 /* confdefs.h. */
49091 _ACEOF
49092 cat confdefs.h >>conftest.$ac_ext
49093 cat >>conftest.$ac_ext <<_ACEOF
49094 /* end confdefs.h. */
49095 #include <math.h>
49097 main ()
49099 __builtin_cos(0);
49101 return 0;
49103 _ACEOF
49104 rm -f conftest.$ac_objext
49105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49106 (eval $ac_compile) 2>conftest.er1
49107 ac_status=$?
49108 grep -v '^ *+' conftest.er1 >conftest.err
49109 rm -f conftest.er1
49110 cat conftest.err >&5
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); } &&
49113 { ac_try='test -z "$ac_cxx_werror_flag"
49114 || test ! -s conftest.err'
49115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49116 (eval $ac_try) 2>&5
49117 ac_status=$?
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; } &&
49120 { ac_try='test -s conftest.$ac_objext'
49121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49122 (eval $ac_try) 2>&5
49123 ac_status=$?
49124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125 (exit $ac_status); }; }; then
49126 glibcxx_cv_func___builtin_cos_use=yes
49127 else
49128 echo "$as_me: failed program was:" >&5
49129 sed 's/^/| /' conftest.$ac_ext >&5
49131 glibcxx_cv_func___builtin_cos_use=no
49133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49134 ac_ext=c
49135 ac_cpp='$CPP $CPPFLAGS'
49136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
49145 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
49146 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
49147 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
49148 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
49149 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
49150 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
49151 echo $ECHO_N "(cached) $ECHO_C" >&6
49152 else
49154 if test x$gcc_no_link = xyes; then
49155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49157 { (exit 1); exit 1; }; }
49159 cat >conftest.$ac_ext <<_ACEOF
49160 /* confdefs.h. */
49161 _ACEOF
49162 cat confdefs.h >>conftest.$ac_ext
49163 cat >>conftest.$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49165 #include <math.h>
49167 main ()
49169 __builtin_cos(0);
49171 return 0;
49173 _ACEOF
49174 rm -f conftest.$ac_objext conftest$ac_exeext
49175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49176 (eval $ac_link) 2>conftest.er1
49177 ac_status=$?
49178 grep -v '^ *+' conftest.er1 >conftest.err
49179 rm -f conftest.er1
49180 cat conftest.err >&5
49181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49182 (exit $ac_status); } &&
49183 { ac_try='test -z "$ac_c_werror_flag"
49184 || test ! -s conftest.err'
49185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49186 (eval $ac_try) 2>&5
49187 ac_status=$?
49188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49189 (exit $ac_status); }; } &&
49190 { ac_try='test -s conftest$ac_exeext'
49191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49192 (eval $ac_try) 2>&5
49193 ac_status=$?
49194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49195 (exit $ac_status); }; }; then
49196 glibcxx_cv_func___builtin_cos_link=yes
49197 else
49198 echo "$as_me: failed program was:" >&5
49199 sed 's/^/| /' conftest.$ac_ext >&5
49201 glibcxx_cv_func___builtin_cos_link=no
49203 rm -f conftest.err conftest.$ac_objext \
49204 conftest$ac_exeext conftest.$ac_ext
49209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
49210 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
49211 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
49212 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49214 cat >>confdefs.h <<_ACEOF
49215 #define ${ac_tr_func} 1
49216 _ACEOF
49222 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
49223 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
49224 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
49225 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49231 ac_ext=cc
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49237 cat >conftest.$ac_ext <<_ACEOF
49238 /* confdefs.h. */
49239 _ACEOF
49240 cat confdefs.h >>conftest.$ac_ext
49241 cat >>conftest.$ac_ext <<_ACEOF
49242 /* end confdefs.h. */
49243 #include <math.h>
49245 main ()
49247 __builtin_cosl(0);
49249 return 0;
49251 _ACEOF
49252 rm -f conftest.$ac_objext
49253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49254 (eval $ac_compile) 2>conftest.er1
49255 ac_status=$?
49256 grep -v '^ *+' conftest.er1 >conftest.err
49257 rm -f conftest.er1
49258 cat conftest.err >&5
49259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49260 (exit $ac_status); } &&
49261 { ac_try='test -z "$ac_cxx_werror_flag"
49262 || test ! -s conftest.err'
49263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49264 (eval $ac_try) 2>&5
49265 ac_status=$?
49266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49267 (exit $ac_status); }; } &&
49268 { ac_try='test -s conftest.$ac_objext'
49269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49270 (eval $ac_try) 2>&5
49271 ac_status=$?
49272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49273 (exit $ac_status); }; }; then
49274 glibcxx_cv_func___builtin_cosl_use=yes
49275 else
49276 echo "$as_me: failed program was:" >&5
49277 sed 's/^/| /' conftest.$ac_ext >&5
49279 glibcxx_cv_func___builtin_cosl_use=no
49281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49282 ac_ext=c
49283 ac_cpp='$CPP $CPPFLAGS'
49284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
49293 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
49294 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
49295 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
49296 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
49297 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
49298 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
49299 echo $ECHO_N "(cached) $ECHO_C" >&6
49300 else
49302 if test x$gcc_no_link = xyes; then
49303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49305 { (exit 1); exit 1; }; }
49307 cat >conftest.$ac_ext <<_ACEOF
49308 /* confdefs.h. */
49309 _ACEOF
49310 cat confdefs.h >>conftest.$ac_ext
49311 cat >>conftest.$ac_ext <<_ACEOF
49312 /* end confdefs.h. */
49313 #include <math.h>
49315 main ()
49317 __builtin_cosl(0);
49319 return 0;
49321 _ACEOF
49322 rm -f conftest.$ac_objext conftest$ac_exeext
49323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49324 (eval $ac_link) 2>conftest.er1
49325 ac_status=$?
49326 grep -v '^ *+' conftest.er1 >conftest.err
49327 rm -f conftest.er1
49328 cat conftest.err >&5
49329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49330 (exit $ac_status); } &&
49331 { ac_try='test -z "$ac_c_werror_flag"
49332 || test ! -s conftest.err'
49333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49334 (eval $ac_try) 2>&5
49335 ac_status=$?
49336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337 (exit $ac_status); }; } &&
49338 { ac_try='test -s conftest$ac_exeext'
49339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49340 (eval $ac_try) 2>&5
49341 ac_status=$?
49342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49343 (exit $ac_status); }; }; then
49344 glibcxx_cv_func___builtin_cosl_link=yes
49345 else
49346 echo "$as_me: failed program was:" >&5
49347 sed 's/^/| /' conftest.$ac_ext >&5
49349 glibcxx_cv_func___builtin_cosl_link=no
49351 rm -f conftest.err conftest.$ac_objext \
49352 conftest$ac_exeext conftest.$ac_ext
49357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
49358 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
49359 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
49360 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49362 cat >>confdefs.h <<_ACEOF
49363 #define ${ac_tr_func} 1
49364 _ACEOF
49372 echo "$as_me:$LINENO: checking for main in -lm" >&5
49373 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49374 if test "${ac_cv_lib_m_main+set}" = set; then
49375 echo $ECHO_N "(cached) $ECHO_C" >&6
49376 else
49377 ac_check_lib_save_LIBS=$LIBS
49378 LIBS="-lm $LIBS"
49379 if test x$gcc_no_link = xyes; then
49380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49382 { (exit 1); exit 1; }; }
49384 cat >conftest.$ac_ext <<_ACEOF
49385 /* confdefs.h. */
49386 _ACEOF
49387 cat confdefs.h >>conftest.$ac_ext
49388 cat >>conftest.$ac_ext <<_ACEOF
49389 /* end confdefs.h. */
49393 main ()
49395 main ();
49397 return 0;
49399 _ACEOF
49400 rm -f conftest.$ac_objext conftest$ac_exeext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49402 (eval $ac_link) 2>conftest.er1
49403 ac_status=$?
49404 grep -v '^ *+' conftest.er1 >conftest.err
49405 rm -f conftest.er1
49406 cat conftest.err >&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } &&
49409 { ac_try='test -z "$ac_c_werror_flag"
49410 || test ! -s conftest.err'
49411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49412 (eval $ac_try) 2>&5
49413 ac_status=$?
49414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415 (exit $ac_status); }; } &&
49416 { ac_try='test -s conftest$ac_exeext'
49417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49418 (eval $ac_try) 2>&5
49419 ac_status=$?
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); }; }; then
49422 ac_cv_lib_m_main=yes
49423 else
49424 echo "$as_me: failed program was:" >&5
49425 sed 's/^/| /' conftest.$ac_ext >&5
49427 ac_cv_lib_m_main=no
49429 rm -f conftest.err conftest.$ac_objext \
49430 conftest$ac_exeext conftest.$ac_ext
49431 LIBS=$ac_check_lib_save_LIBS
49433 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49434 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49435 if test $ac_cv_lib_m_main = yes; then
49436 cat >>confdefs.h <<_ACEOF
49437 #define HAVE_LIBM 1
49438 _ACEOF
49440 LIBS="-lm $LIBS"
49445 for ac_func in copysignf
49447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49448 echo "$as_me:$LINENO: checking for $ac_func" >&5
49449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49450 if eval "test \"\${$as_ac_var+set}\" = set"; then
49451 echo $ECHO_N "(cached) $ECHO_C" >&6
49452 else
49453 if test x$gcc_no_link = xyes; then
49454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49456 { (exit 1); exit 1; }; }
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h. */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h. */
49464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49466 #define $ac_func innocuous_$ac_func
49468 /* System header to define __stub macros and hopefully few prototypes,
49469 which can conflict with char $ac_func (); below.
49470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49471 <limits.h> exists even on freestanding compilers. */
49473 #ifdef __STDC__
49474 # include <limits.h>
49475 #else
49476 # include <assert.h>
49477 #endif
49479 #undef $ac_func
49481 /* Override any gcc2 internal prototype to avoid an error. */
49482 #ifdef __cplusplus
49483 extern "C"
49485 #endif
49486 /* We use char because int might match the return type of a gcc2
49487 builtin and then its argument prototype would still apply. */
49488 char $ac_func ();
49489 /* The GNU C library defines this for functions which it implements
49490 to always fail with ENOSYS. Some functions are actually named
49491 something starting with __ and the normal name is an alias. */
49492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49493 choke me
49494 #else
49495 char (*f) () = $ac_func;
49496 #endif
49497 #ifdef __cplusplus
49499 #endif
49502 main ()
49504 return f != $ac_func;
49506 return 0;
49508 _ACEOF
49509 rm -f conftest.$ac_objext conftest$ac_exeext
49510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49511 (eval $ac_link) 2>conftest.er1
49512 ac_status=$?
49513 grep -v '^ *+' conftest.er1 >conftest.err
49514 rm -f conftest.er1
49515 cat conftest.err >&5
49516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517 (exit $ac_status); } &&
49518 { ac_try='test -z "$ac_c_werror_flag"
49519 || test ! -s conftest.err'
49520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49521 (eval $ac_try) 2>&5
49522 ac_status=$?
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); }; } &&
49525 { ac_try='test -s conftest$ac_exeext'
49526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49527 (eval $ac_try) 2>&5
49528 ac_status=$?
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); }; }; then
49531 eval "$as_ac_var=yes"
49532 else
49533 echo "$as_me: failed program was:" >&5
49534 sed 's/^/| /' conftest.$ac_ext >&5
49536 eval "$as_ac_var=no"
49538 rm -f conftest.err conftest.$ac_objext \
49539 conftest$ac_exeext conftest.$ac_ext
49541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49543 if test `eval echo '${'$as_ac_var'}'` = yes; then
49544 cat >>confdefs.h <<_ACEOF
49545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49548 else
49549 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49551 done
49555 for ac_func in __signbit
49557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49558 echo "$as_me:$LINENO: checking for $ac_func" >&5
49559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49560 if eval "test \"\${$as_ac_var+set}\" = set"; then
49561 echo $ECHO_N "(cached) $ECHO_C" >&6
49562 else
49563 if test x$gcc_no_link = xyes; then
49564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49566 { (exit 1); exit 1; }; }
49568 cat >conftest.$ac_ext <<_ACEOF
49569 /* confdefs.h. */
49570 _ACEOF
49571 cat confdefs.h >>conftest.$ac_ext
49572 cat >>conftest.$ac_ext <<_ACEOF
49573 /* end confdefs.h. */
49574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49576 #define $ac_func innocuous_$ac_func
49578 /* System header to define __stub macros and hopefully few prototypes,
49579 which can conflict with char $ac_func (); below.
49580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49581 <limits.h> exists even on freestanding compilers. */
49583 #ifdef __STDC__
49584 # include <limits.h>
49585 #else
49586 # include <assert.h>
49587 #endif
49589 #undef $ac_func
49591 /* Override any gcc2 internal prototype to avoid an error. */
49592 #ifdef __cplusplus
49593 extern "C"
49595 #endif
49596 /* We use char because int might match the return type of a gcc2
49597 builtin and then its argument prototype would still apply. */
49598 char $ac_func ();
49599 /* The GNU C library defines this for functions which it implements
49600 to always fail with ENOSYS. Some functions are actually named
49601 something starting with __ and the normal name is an alias. */
49602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49603 choke me
49604 #else
49605 char (*f) () = $ac_func;
49606 #endif
49607 #ifdef __cplusplus
49609 #endif
49612 main ()
49614 return f != $ac_func;
49616 return 0;
49618 _ACEOF
49619 rm -f conftest.$ac_objext conftest$ac_exeext
49620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49621 (eval $ac_link) 2>conftest.er1
49622 ac_status=$?
49623 grep -v '^ *+' conftest.er1 >conftest.err
49624 rm -f conftest.er1
49625 cat conftest.err >&5
49626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49627 (exit $ac_status); } &&
49628 { ac_try='test -z "$ac_c_werror_flag"
49629 || test ! -s conftest.err'
49630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49631 (eval $ac_try) 2>&5
49632 ac_status=$?
49633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49634 (exit $ac_status); }; } &&
49635 { ac_try='test -s conftest$ac_exeext'
49636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49637 (eval $ac_try) 2>&5
49638 ac_status=$?
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); }; }; then
49641 eval "$as_ac_var=yes"
49642 else
49643 echo "$as_me: failed program was:" >&5
49644 sed 's/^/| /' conftest.$ac_ext >&5
49646 eval "$as_ac_var=no"
49648 rm -f conftest.err conftest.$ac_objext \
49649 conftest$ac_exeext conftest.$ac_ext
49651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49653 if test `eval echo '${'$as_ac_var'}'` = yes; then
49654 cat >>confdefs.h <<_ACEOF
49655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49656 _ACEOF
49658 else
49659 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49661 done
49665 for ac_func in __signbitf
49667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49668 echo "$as_me:$LINENO: checking for $ac_func" >&5
49669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49670 if eval "test \"\${$as_ac_var+set}\" = set"; then
49671 echo $ECHO_N "(cached) $ECHO_C" >&6
49672 else
49673 if test x$gcc_no_link = xyes; then
49674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49676 { (exit 1); exit 1; }; }
49678 cat >conftest.$ac_ext <<_ACEOF
49679 /* confdefs.h. */
49680 _ACEOF
49681 cat confdefs.h >>conftest.$ac_ext
49682 cat >>conftest.$ac_ext <<_ACEOF
49683 /* end confdefs.h. */
49684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49686 #define $ac_func innocuous_$ac_func
49688 /* System header to define __stub macros and hopefully few prototypes,
49689 which can conflict with char $ac_func (); below.
49690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49691 <limits.h> exists even on freestanding compilers. */
49693 #ifdef __STDC__
49694 # include <limits.h>
49695 #else
49696 # include <assert.h>
49697 #endif
49699 #undef $ac_func
49701 /* Override any gcc2 internal prototype to avoid an error. */
49702 #ifdef __cplusplus
49703 extern "C"
49705 #endif
49706 /* We use char because int might match the return type of a gcc2
49707 builtin and then its argument prototype would still apply. */
49708 char $ac_func ();
49709 /* The GNU C library defines this for functions which it implements
49710 to always fail with ENOSYS. Some functions are actually named
49711 something starting with __ and the normal name is an alias. */
49712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49713 choke me
49714 #else
49715 char (*f) () = $ac_func;
49716 #endif
49717 #ifdef __cplusplus
49719 #endif
49722 main ()
49724 return f != $ac_func;
49726 return 0;
49728 _ACEOF
49729 rm -f conftest.$ac_objext conftest$ac_exeext
49730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49731 (eval $ac_link) 2>conftest.er1
49732 ac_status=$?
49733 grep -v '^ *+' conftest.er1 >conftest.err
49734 rm -f conftest.er1
49735 cat conftest.err >&5
49736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49737 (exit $ac_status); } &&
49738 { ac_try='test -z "$ac_c_werror_flag"
49739 || test ! -s conftest.err'
49740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49741 (eval $ac_try) 2>&5
49742 ac_status=$?
49743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49744 (exit $ac_status); }; } &&
49745 { ac_try='test -s conftest$ac_exeext'
49746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49747 (eval $ac_try) 2>&5
49748 ac_status=$?
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); }; }; then
49751 eval "$as_ac_var=yes"
49752 else
49753 echo "$as_me: failed program was:" >&5
49754 sed 's/^/| /' conftest.$ac_ext >&5
49756 eval "$as_ac_var=no"
49758 rm -f conftest.err conftest.$ac_objext \
49759 conftest$ac_exeext conftest.$ac_ext
49761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49763 if test `eval echo '${'$as_ac_var'}'` = yes; then
49764 cat >>confdefs.h <<_ACEOF
49765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49766 _ACEOF
49768 else
49769 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49771 done
49774 if test x$ac_cv_func_copysignl = x"yes"; then
49776 for ac_func in __signbitl
49778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49779 echo "$as_me:$LINENO: checking for $ac_func" >&5
49780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49781 if eval "test \"\${$as_ac_var+set}\" = set"; then
49782 echo $ECHO_N "(cached) $ECHO_C" >&6
49783 else
49784 if test x$gcc_no_link = xyes; then
49785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49787 { (exit 1); exit 1; }; }
49789 cat >conftest.$ac_ext <<_ACEOF
49790 /* confdefs.h. */
49791 _ACEOF
49792 cat confdefs.h >>conftest.$ac_ext
49793 cat >>conftest.$ac_ext <<_ACEOF
49794 /* end confdefs.h. */
49795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49797 #define $ac_func innocuous_$ac_func
49799 /* System header to define __stub macros and hopefully few prototypes,
49800 which can conflict with char $ac_func (); below.
49801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49802 <limits.h> exists even on freestanding compilers. */
49804 #ifdef __STDC__
49805 # include <limits.h>
49806 #else
49807 # include <assert.h>
49808 #endif
49810 #undef $ac_func
49812 /* Override any gcc2 internal prototype to avoid an error. */
49813 #ifdef __cplusplus
49814 extern "C"
49816 #endif
49817 /* We use char because int might match the return type of a gcc2
49818 builtin and then its argument prototype would still apply. */
49819 char $ac_func ();
49820 /* The GNU C library defines this for functions which it implements
49821 to always fail with ENOSYS. Some functions are actually named
49822 something starting with __ and the normal name is an alias. */
49823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49824 choke me
49825 #else
49826 char (*f) () = $ac_func;
49827 #endif
49828 #ifdef __cplusplus
49830 #endif
49833 main ()
49835 return f != $ac_func;
49837 return 0;
49839 _ACEOF
49840 rm -f conftest.$ac_objext conftest$ac_exeext
49841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49842 (eval $ac_link) 2>conftest.er1
49843 ac_status=$?
49844 grep -v '^ *+' conftest.er1 >conftest.err
49845 rm -f conftest.er1
49846 cat conftest.err >&5
49847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49848 (exit $ac_status); } &&
49849 { ac_try='test -z "$ac_c_werror_flag"
49850 || test ! -s conftest.err'
49851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49852 (eval $ac_try) 2>&5
49853 ac_status=$?
49854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49855 (exit $ac_status); }; } &&
49856 { ac_try='test -s conftest$ac_exeext'
49857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49858 (eval $ac_try) 2>&5
49859 ac_status=$?
49860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49861 (exit $ac_status); }; }; then
49862 eval "$as_ac_var=yes"
49863 else
49864 echo "$as_me: failed program was:" >&5
49865 sed 's/^/| /' conftest.$ac_ext >&5
49867 eval "$as_ac_var=no"
49869 rm -f conftest.err conftest.$ac_objext \
49870 conftest$ac_exeext conftest.$ac_ext
49872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49874 if test `eval echo '${'$as_ac_var'}'` = yes; then
49875 cat >>confdefs.h <<_ACEOF
49876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49877 _ACEOF
49879 else
49880 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49882 done
49886 # Used in libmath/Makefile.am.
49887 if test -n "$LIBMATHOBJS"; then
49888 need_libmath=yes
49894 enable_iconv=no
49895 # Only continue checking if the ISO C99 headers exist and support is on.
49896 if test x"$enable_wchar_t" = xyes; then
49898 # Use iconv for wchar_t to char conversions. As such, check for
49899 # X/Open Portability Guide, version 2 features (XPG2).
49900 if test "${ac_cv_header_iconv_h+set}" = set; then
49901 echo "$as_me:$LINENO: checking for iconv.h" >&5
49902 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
49903 if test "${ac_cv_header_iconv_h+set}" = set; then
49904 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
49907 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
49908 else
49909 # Is the header compilable?
49910 echo "$as_me:$LINENO: checking iconv.h usability" >&5
49911 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
49912 cat >conftest.$ac_ext <<_ACEOF
49913 /* confdefs.h. */
49914 _ACEOF
49915 cat confdefs.h >>conftest.$ac_ext
49916 cat >>conftest.$ac_ext <<_ACEOF
49917 /* end confdefs.h. */
49918 $ac_includes_default
49919 #include <iconv.h>
49920 _ACEOF
49921 rm -f conftest.$ac_objext
49922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49923 (eval $ac_compile) 2>conftest.er1
49924 ac_status=$?
49925 grep -v '^ *+' conftest.er1 >conftest.err
49926 rm -f conftest.er1
49927 cat conftest.err >&5
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); } &&
49930 { ac_try='test -z "$ac_c_werror_flag"
49931 || test ! -s conftest.err'
49932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 (eval $ac_try) 2>&5
49934 ac_status=$?
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); }; } &&
49937 { ac_try='test -s conftest.$ac_objext'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; }; then
49943 ac_header_compiler=yes
49944 else
49945 echo "$as_me: failed program was:" >&5
49946 sed 's/^/| /' conftest.$ac_ext >&5
49948 ac_header_compiler=no
49950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49952 echo "${ECHO_T}$ac_header_compiler" >&6
49954 # Is the header present?
49955 echo "$as_me:$LINENO: checking iconv.h presence" >&5
49956 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
49957 cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h. */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h. */
49963 #include <iconv.h>
49964 _ACEOF
49965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49967 ac_status=$?
49968 grep -v '^ *+' conftest.er1 >conftest.err
49969 rm -f conftest.er1
49970 cat conftest.err >&5
49971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49972 (exit $ac_status); } >/dev/null; then
49973 if test -s conftest.err; then
49974 ac_cpp_err=$ac_c_preproc_warn_flag
49975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
49976 else
49977 ac_cpp_err=
49979 else
49980 ac_cpp_err=yes
49982 if test -z "$ac_cpp_err"; then
49983 ac_header_preproc=yes
49984 else
49985 echo "$as_me: failed program was:" >&5
49986 sed 's/^/| /' conftest.$ac_ext >&5
49988 ac_header_preproc=no
49990 rm -f conftest.err conftest.$ac_ext
49991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49992 echo "${ECHO_T}$ac_header_preproc" >&6
49994 # So? What about this header?
49995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
49996 yes:no: )
49997 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
49998 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
49999 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
50000 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
50001 ac_header_preproc=yes
50003 no:yes:* )
50004 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50005 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50006 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50007 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50008 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
50009 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
50010 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
50011 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
50012 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50013 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50014 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
50015 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
50017 cat <<\_ASBOX
50018 ## ----------------------------------------- ##
50019 ## Report this to the package-unused lists. ##
50020 ## ----------------------------------------- ##
50021 _ASBOX
50023 sed "s/^/$as_me: WARNING: /" >&2
50025 esac
50026 echo "$as_me:$LINENO: checking for iconv.h" >&5
50027 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50028 if test "${ac_cv_header_iconv_h+set}" = set; then
50029 echo $ECHO_N "(cached) $ECHO_C" >&6
50030 else
50031 ac_cv_header_iconv_h=$ac_header_preproc
50033 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50034 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50037 if test $ac_cv_header_iconv_h = yes; then
50038 ac_has_iconv_h=yes
50039 else
50040 ac_has_iconv_h=no
50044 if test "${ac_cv_header_langinfo_h+set}" = set; then
50045 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50046 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50047 if test "${ac_cv_header_langinfo_h+set}" = set; then
50048 echo $ECHO_N "(cached) $ECHO_C" >&6
50050 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50051 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50052 else
50053 # Is the header compilable?
50054 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50055 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50056 cat >conftest.$ac_ext <<_ACEOF
50057 /* confdefs.h. */
50058 _ACEOF
50059 cat confdefs.h >>conftest.$ac_ext
50060 cat >>conftest.$ac_ext <<_ACEOF
50061 /* end confdefs.h. */
50062 $ac_includes_default
50063 #include <langinfo.h>
50064 _ACEOF
50065 rm -f conftest.$ac_objext
50066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50067 (eval $ac_compile) 2>conftest.er1
50068 ac_status=$?
50069 grep -v '^ *+' conftest.er1 >conftest.err
50070 rm -f conftest.er1
50071 cat conftest.err >&5
50072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50073 (exit $ac_status); } &&
50074 { ac_try='test -z "$ac_c_werror_flag"
50075 || test ! -s conftest.err'
50076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50077 (eval $ac_try) 2>&5
50078 ac_status=$?
50079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50080 (exit $ac_status); }; } &&
50081 { ac_try='test -s conftest.$ac_objext'
50082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50083 (eval $ac_try) 2>&5
50084 ac_status=$?
50085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50086 (exit $ac_status); }; }; then
50087 ac_header_compiler=yes
50088 else
50089 echo "$as_me: failed program was:" >&5
50090 sed 's/^/| /' conftest.$ac_ext >&5
50092 ac_header_compiler=no
50094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50096 echo "${ECHO_T}$ac_header_compiler" >&6
50098 # Is the header present?
50099 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50100 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50101 cat >conftest.$ac_ext <<_ACEOF
50102 /* confdefs.h. */
50103 _ACEOF
50104 cat confdefs.h >>conftest.$ac_ext
50105 cat >>conftest.$ac_ext <<_ACEOF
50106 /* end confdefs.h. */
50107 #include <langinfo.h>
50108 _ACEOF
50109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50111 ac_status=$?
50112 grep -v '^ *+' conftest.er1 >conftest.err
50113 rm -f conftest.er1
50114 cat conftest.err >&5
50115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50116 (exit $ac_status); } >/dev/null; then
50117 if test -s conftest.err; then
50118 ac_cpp_err=$ac_c_preproc_warn_flag
50119 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50120 else
50121 ac_cpp_err=
50123 else
50124 ac_cpp_err=yes
50126 if test -z "$ac_cpp_err"; then
50127 ac_header_preproc=yes
50128 else
50129 echo "$as_me: failed program was:" >&5
50130 sed 's/^/| /' conftest.$ac_ext >&5
50132 ac_header_preproc=no
50134 rm -f conftest.err conftest.$ac_ext
50135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50136 echo "${ECHO_T}$ac_header_preproc" >&6
50138 # So? What about this header?
50139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50140 yes:no: )
50141 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50142 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50143 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
50144 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
50145 ac_header_preproc=yes
50147 no:yes:* )
50148 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50149 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50150 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50151 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50152 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
50153 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
50154 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
50155 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
50156 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50157 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50158 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
50159 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
50161 cat <<\_ASBOX
50162 ## ----------------------------------------- ##
50163 ## Report this to the package-unused lists. ##
50164 ## ----------------------------------------- ##
50165 _ASBOX
50167 sed "s/^/$as_me: WARNING: /" >&2
50169 esac
50170 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50171 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50172 if test "${ac_cv_header_langinfo_h+set}" = set; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50174 else
50175 ac_cv_header_langinfo_h=$ac_header_preproc
50177 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50178 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50181 if test $ac_cv_header_langinfo_h = yes; then
50182 ac_has_langinfo_h=yes
50183 else
50184 ac_has_langinfo_h=no
50189 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50190 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50191 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50192 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50193 echo $ECHO_N "(cached) $ECHO_C" >&6
50194 else
50195 ac_check_lib_save_LIBS=$LIBS
50196 LIBS="-liconv $LIBS"
50197 if test x$gcc_no_link = xyes; then
50198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50200 { (exit 1); exit 1; }; }
50202 cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h. */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h. */
50209 /* Override any gcc2 internal prototype to avoid an error. */
50210 #ifdef __cplusplus
50211 extern "C"
50212 #endif
50213 /* We use char because int might match the return type of a gcc2
50214 builtin and then its argument prototype would still apply. */
50215 char iconv ();
50217 main ()
50219 iconv ();
50221 return 0;
50223 _ACEOF
50224 rm -f conftest.$ac_objext conftest$ac_exeext
50225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50226 (eval $ac_link) 2>conftest.er1
50227 ac_status=$?
50228 grep -v '^ *+' conftest.er1 >conftest.err
50229 rm -f conftest.er1
50230 cat conftest.err >&5
50231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50232 (exit $ac_status); } &&
50233 { ac_try='test -z "$ac_c_werror_flag"
50234 || test ! -s conftest.err'
50235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50236 (eval $ac_try) 2>&5
50237 ac_status=$?
50238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50239 (exit $ac_status); }; } &&
50240 { ac_try='test -s conftest$ac_exeext'
50241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50242 (eval $ac_try) 2>&5
50243 ac_status=$?
50244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50245 (exit $ac_status); }; }; then
50246 ac_cv_lib_iconv_iconv=yes
50247 else
50248 echo "$as_me: failed program was:" >&5
50249 sed 's/^/| /' conftest.$ac_ext >&5
50251 ac_cv_lib_iconv_iconv=no
50253 rm -f conftest.err conftest.$ac_objext \
50254 conftest$ac_exeext conftest.$ac_ext
50255 LIBS=$ac_check_lib_save_LIBS
50257 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50258 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50259 if test $ac_cv_lib_iconv_iconv = yes; then
50260 LIBICONV="-liconv"
50263 ac_save_LIBS="$LIBS"
50264 LIBS="$LIBS $LIBICONV"
50271 for ac_func in iconv_open iconv_close iconv nl_langinfo
50273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50274 echo "$as_me:$LINENO: checking for $ac_func" >&5
50275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50276 if eval "test \"\${$as_ac_var+set}\" = set"; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50279 if test x$gcc_no_link = xyes; then
50280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50282 { (exit 1); exit 1; }; }
50284 cat >conftest.$ac_ext <<_ACEOF
50285 /* confdefs.h. */
50286 _ACEOF
50287 cat confdefs.h >>conftest.$ac_ext
50288 cat >>conftest.$ac_ext <<_ACEOF
50289 /* end confdefs.h. */
50290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50292 #define $ac_func innocuous_$ac_func
50294 /* System header to define __stub macros and hopefully few prototypes,
50295 which can conflict with char $ac_func (); below.
50296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50297 <limits.h> exists even on freestanding compilers. */
50299 #ifdef __STDC__
50300 # include <limits.h>
50301 #else
50302 # include <assert.h>
50303 #endif
50305 #undef $ac_func
50307 /* Override any gcc2 internal prototype to avoid an error. */
50308 #ifdef __cplusplus
50309 extern "C"
50311 #endif
50312 /* We use char because int might match the return type of a gcc2
50313 builtin and then its argument prototype would still apply. */
50314 char $ac_func ();
50315 /* The GNU C library defines this for functions which it implements
50316 to always fail with ENOSYS. Some functions are actually named
50317 something starting with __ and the normal name is an alias. */
50318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50319 choke me
50320 #else
50321 char (*f) () = $ac_func;
50322 #endif
50323 #ifdef __cplusplus
50325 #endif
50328 main ()
50330 return f != $ac_func;
50332 return 0;
50334 _ACEOF
50335 rm -f conftest.$ac_objext conftest$ac_exeext
50336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50337 (eval $ac_link) 2>conftest.er1
50338 ac_status=$?
50339 grep -v '^ *+' conftest.er1 >conftest.err
50340 rm -f conftest.er1
50341 cat conftest.err >&5
50342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50343 (exit $ac_status); } &&
50344 { ac_try='test -z "$ac_c_werror_flag"
50345 || test ! -s conftest.err'
50346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50347 (eval $ac_try) 2>&5
50348 ac_status=$?
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); }; } &&
50351 { ac_try='test -s conftest$ac_exeext'
50352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50353 (eval $ac_try) 2>&5
50354 ac_status=$?
50355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50356 (exit $ac_status); }; }; then
50357 eval "$as_ac_var=yes"
50358 else
50359 echo "$as_me: failed program was:" >&5
50360 sed 's/^/| /' conftest.$ac_ext >&5
50362 eval "$as_ac_var=no"
50364 rm -f conftest.err conftest.$ac_objext \
50365 conftest$ac_exeext conftest.$ac_ext
50367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50369 if test `eval echo '${'$as_ac_var'}'` = yes; then
50370 cat >>confdefs.h <<_ACEOF
50371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50372 _ACEOF
50373 ac_XPG2funcs=yes
50374 else
50375 ac_XPG2funcs=no
50377 done
50380 LIBS="$ac_save_LIBS"
50382 if test x"$ac_has_iconv_h" = xyes &&
50383 test x"$ac_has_langinfo_h" = xyes &&
50384 test x"$ac_XPG2funcs" = xyes;
50385 then
50387 cat >>confdefs.h <<\_ACEOF
50388 #define _GLIBCXX_USE_ICONV 1
50389 _ACEOF
50391 enable_iconv=yes
50394 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
50395 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
50396 echo "$as_me:$LINENO: result: $enable_iconv" >&5
50397 echo "${ECHO_T}$enable_iconv" >&6
50400 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50401 ac_save_CXXFLAGS="$CXXFLAGS"
50402 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50405 echo "$as_me:$LINENO: checking for strtold declaration" >&5
50406 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
50407 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50408 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
50409 echo $ECHO_N "(cached) $ECHO_C" >&6
50410 else
50414 ac_ext=cc
50415 ac_cpp='$CXXCPP $CPPFLAGS'
50416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50420 cat >conftest.$ac_ext <<_ACEOF
50421 /* confdefs.h. */
50422 _ACEOF
50423 cat confdefs.h >>conftest.$ac_ext
50424 cat >>conftest.$ac_ext <<_ACEOF
50425 /* end confdefs.h. */
50426 #include <stdlib.h>
50428 main ()
50430 strtold(0, 0);
50432 return 0;
50434 _ACEOF
50435 rm -f conftest.$ac_objext
50436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50437 (eval $ac_compile) 2>conftest.er1
50438 ac_status=$?
50439 grep -v '^ *+' conftest.er1 >conftest.err
50440 rm -f conftest.er1
50441 cat conftest.err >&5
50442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50443 (exit $ac_status); } &&
50444 { ac_try='test -z "$ac_cxx_werror_flag"
50445 || test ! -s conftest.err'
50446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50447 (eval $ac_try) 2>&5
50448 ac_status=$?
50449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50450 (exit $ac_status); }; } &&
50451 { ac_try='test -s conftest.$ac_objext'
50452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50453 (eval $ac_try) 2>&5
50454 ac_status=$?
50455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50456 (exit $ac_status); }; }; then
50457 glibcxx_cv_func_strtold_use=yes
50458 else
50459 echo "$as_me: failed program was:" >&5
50460 sed 's/^/| /' conftest.$ac_ext >&5
50462 glibcxx_cv_func_strtold_use=no
50464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
50476 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
50477 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50479 for ac_func in strtold
50481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50482 echo "$as_me:$LINENO: checking for $ac_func" >&5
50483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50484 if eval "test \"\${$as_ac_var+set}\" = set"; then
50485 echo $ECHO_N "(cached) $ECHO_C" >&6
50486 else
50487 if test x$gcc_no_link = xyes; then
50488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50490 { (exit 1); exit 1; }; }
50492 cat >conftest.$ac_ext <<_ACEOF
50493 /* confdefs.h. */
50494 _ACEOF
50495 cat confdefs.h >>conftest.$ac_ext
50496 cat >>conftest.$ac_ext <<_ACEOF
50497 /* end confdefs.h. */
50498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50500 #define $ac_func innocuous_$ac_func
50502 /* System header to define __stub macros and hopefully few prototypes,
50503 which can conflict with char $ac_func (); below.
50504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50505 <limits.h> exists even on freestanding compilers. */
50507 #ifdef __STDC__
50508 # include <limits.h>
50509 #else
50510 # include <assert.h>
50511 #endif
50513 #undef $ac_func
50515 /* Override any gcc2 internal prototype to avoid an error. */
50516 #ifdef __cplusplus
50517 extern "C"
50519 #endif
50520 /* We use char because int might match the return type of a gcc2
50521 builtin and then its argument prototype would still apply. */
50522 char $ac_func ();
50523 /* The GNU C library defines this for functions which it implements
50524 to always fail with ENOSYS. Some functions are actually named
50525 something starting with __ and the normal name is an alias. */
50526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50527 choke me
50528 #else
50529 char (*f) () = $ac_func;
50530 #endif
50531 #ifdef __cplusplus
50533 #endif
50536 main ()
50538 return f != $ac_func;
50540 return 0;
50542 _ACEOF
50543 rm -f conftest.$ac_objext conftest$ac_exeext
50544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50545 (eval $ac_link) 2>conftest.er1
50546 ac_status=$?
50547 grep -v '^ *+' conftest.er1 >conftest.err
50548 rm -f conftest.er1
50549 cat conftest.err >&5
50550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551 (exit $ac_status); } &&
50552 { ac_try='test -z "$ac_c_werror_flag"
50553 || test ! -s conftest.err'
50554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50555 (eval $ac_try) 2>&5
50556 ac_status=$?
50557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50558 (exit $ac_status); }; } &&
50559 { ac_try='test -s conftest$ac_exeext'
50560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50561 (eval $ac_try) 2>&5
50562 ac_status=$?
50563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50564 (exit $ac_status); }; }; then
50565 eval "$as_ac_var=yes"
50566 else
50567 echo "$as_me: failed program was:" >&5
50568 sed 's/^/| /' conftest.$ac_ext >&5
50570 eval "$as_ac_var=no"
50572 rm -f conftest.err conftest.$ac_objext \
50573 conftest$ac_exeext conftest.$ac_ext
50575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50577 if test `eval echo '${'$as_ac_var'}'` = yes; then
50578 cat >>confdefs.h <<_ACEOF
50579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50580 _ACEOF
50583 done
50588 echo "$as_me:$LINENO: checking for strtof declaration" >&5
50589 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
50590 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50591 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
50592 echo $ECHO_N "(cached) $ECHO_C" >&6
50593 else
50597 ac_ext=cc
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50603 cat >conftest.$ac_ext <<_ACEOF
50604 /* confdefs.h. */
50605 _ACEOF
50606 cat confdefs.h >>conftest.$ac_ext
50607 cat >>conftest.$ac_ext <<_ACEOF
50608 /* end confdefs.h. */
50609 #include <stdlib.h>
50611 main ()
50613 strtof(0, 0);
50615 return 0;
50617 _ACEOF
50618 rm -f conftest.$ac_objext
50619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50620 (eval $ac_compile) 2>conftest.er1
50621 ac_status=$?
50622 grep -v '^ *+' conftest.er1 >conftest.err
50623 rm -f conftest.er1
50624 cat conftest.err >&5
50625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626 (exit $ac_status); } &&
50627 { ac_try='test -z "$ac_cxx_werror_flag"
50628 || test ! -s conftest.err'
50629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50630 (eval $ac_try) 2>&5
50631 ac_status=$?
50632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50633 (exit $ac_status); }; } &&
50634 { ac_try='test -s conftest.$ac_objext'
50635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50636 (eval $ac_try) 2>&5
50637 ac_status=$?
50638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50639 (exit $ac_status); }; }; then
50640 glibcxx_cv_func_strtof_use=yes
50641 else
50642 echo "$as_me: failed program was:" >&5
50643 sed 's/^/| /' conftest.$ac_ext >&5
50645 glibcxx_cv_func_strtof_use=no
50647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50648 ac_ext=c
50649 ac_cpp='$CPP $CPPFLAGS'
50650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
50659 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
50660 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50662 for ac_func in strtof
50664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50665 echo "$as_me:$LINENO: checking for $ac_func" >&5
50666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50667 if eval "test \"\${$as_ac_var+set}\" = set"; then
50668 echo $ECHO_N "(cached) $ECHO_C" >&6
50669 else
50670 if test x$gcc_no_link = xyes; then
50671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50673 { (exit 1); exit 1; }; }
50675 cat >conftest.$ac_ext <<_ACEOF
50676 /* confdefs.h. */
50677 _ACEOF
50678 cat confdefs.h >>conftest.$ac_ext
50679 cat >>conftest.$ac_ext <<_ACEOF
50680 /* end confdefs.h. */
50681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50683 #define $ac_func innocuous_$ac_func
50685 /* System header to define __stub macros and hopefully few prototypes,
50686 which can conflict with char $ac_func (); below.
50687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50688 <limits.h> exists even on freestanding compilers. */
50690 #ifdef __STDC__
50691 # include <limits.h>
50692 #else
50693 # include <assert.h>
50694 #endif
50696 #undef $ac_func
50698 /* Override any gcc2 internal prototype to avoid an error. */
50699 #ifdef __cplusplus
50700 extern "C"
50702 #endif
50703 /* We use char because int might match the return type of a gcc2
50704 builtin and then its argument prototype would still apply. */
50705 char $ac_func ();
50706 /* The GNU C library defines this for functions which it implements
50707 to always fail with ENOSYS. Some functions are actually named
50708 something starting with __ and the normal name is an alias. */
50709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50710 choke me
50711 #else
50712 char (*f) () = $ac_func;
50713 #endif
50714 #ifdef __cplusplus
50716 #endif
50719 main ()
50721 return f != $ac_func;
50723 return 0;
50725 _ACEOF
50726 rm -f conftest.$ac_objext conftest$ac_exeext
50727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50728 (eval $ac_link) 2>conftest.er1
50729 ac_status=$?
50730 grep -v '^ *+' conftest.er1 >conftest.err
50731 rm -f conftest.er1
50732 cat conftest.err >&5
50733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50734 (exit $ac_status); } &&
50735 { ac_try='test -z "$ac_c_werror_flag"
50736 || test ! -s conftest.err'
50737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50738 (eval $ac_try) 2>&5
50739 ac_status=$?
50740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50741 (exit $ac_status); }; } &&
50742 { ac_try='test -s conftest$ac_exeext'
50743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50744 (eval $ac_try) 2>&5
50745 ac_status=$?
50746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50747 (exit $ac_status); }; }; then
50748 eval "$as_ac_var=yes"
50749 else
50750 echo "$as_me: failed program was:" >&5
50751 sed 's/^/| /' conftest.$ac_ext >&5
50753 eval "$as_ac_var=no"
50755 rm -f conftest.err conftest.$ac_objext \
50756 conftest$ac_exeext conftest.$ac_ext
50758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50760 if test `eval echo '${'$as_ac_var'}'` = yes; then
50761 cat >>confdefs.h <<_ACEOF
50762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50763 _ACEOF
50766 done
50771 CXXFLAGS="$ac_save_CXXFLAGS"
50774 # For showmanyc_helper().
50777 for ac_header in sys/ioctl.h sys/filio.h
50779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50781 echo "$as_me:$LINENO: checking for $ac_header" >&5
50782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50784 echo $ECHO_N "(cached) $ECHO_C" >&6
50786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50788 else
50789 # Is the header compilable?
50790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50792 cat >conftest.$ac_ext <<_ACEOF
50793 /* confdefs.h. */
50794 _ACEOF
50795 cat confdefs.h >>conftest.$ac_ext
50796 cat >>conftest.$ac_ext <<_ACEOF
50797 /* end confdefs.h. */
50798 $ac_includes_default
50799 #include <$ac_header>
50800 _ACEOF
50801 rm -f conftest.$ac_objext
50802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50803 (eval $ac_compile) 2>conftest.er1
50804 ac_status=$?
50805 grep -v '^ *+' conftest.er1 >conftest.err
50806 rm -f conftest.er1
50807 cat conftest.err >&5
50808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50809 (exit $ac_status); } &&
50810 { ac_try='test -z "$ac_c_werror_flag"
50811 || test ! -s conftest.err'
50812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50813 (eval $ac_try) 2>&5
50814 ac_status=$?
50815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50816 (exit $ac_status); }; } &&
50817 { ac_try='test -s conftest.$ac_objext'
50818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50819 (eval $ac_try) 2>&5
50820 ac_status=$?
50821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50822 (exit $ac_status); }; }; then
50823 ac_header_compiler=yes
50824 else
50825 echo "$as_me: failed program was:" >&5
50826 sed 's/^/| /' conftest.$ac_ext >&5
50828 ac_header_compiler=no
50830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50832 echo "${ECHO_T}$ac_header_compiler" >&6
50834 # Is the header present?
50835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50837 cat >conftest.$ac_ext <<_ACEOF
50838 /* confdefs.h. */
50839 _ACEOF
50840 cat confdefs.h >>conftest.$ac_ext
50841 cat >>conftest.$ac_ext <<_ACEOF
50842 /* end confdefs.h. */
50843 #include <$ac_header>
50844 _ACEOF
50845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50847 ac_status=$?
50848 grep -v '^ *+' conftest.er1 >conftest.err
50849 rm -f conftest.er1
50850 cat conftest.err >&5
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); } >/dev/null; then
50853 if test -s conftest.err; then
50854 ac_cpp_err=$ac_c_preproc_warn_flag
50855 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50856 else
50857 ac_cpp_err=
50859 else
50860 ac_cpp_err=yes
50862 if test -z "$ac_cpp_err"; then
50863 ac_header_preproc=yes
50864 else
50865 echo "$as_me: failed program was:" >&5
50866 sed 's/^/| /' conftest.$ac_ext >&5
50868 ac_header_preproc=no
50870 rm -f conftest.err conftest.$ac_ext
50871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50872 echo "${ECHO_T}$ac_header_preproc" >&6
50874 # So? What about this header?
50875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50876 yes:no: )
50877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50881 ac_header_preproc=yes
50883 no:yes:* )
50884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50897 cat <<\_ASBOX
50898 ## ----------------------------------------- ##
50899 ## Report this to the package-unused lists. ##
50900 ## ----------------------------------------- ##
50901 _ASBOX
50903 sed "s/^/$as_me: WARNING: /" >&2
50905 esac
50906 echo "$as_me:$LINENO: checking for $ac_header" >&5
50907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50909 echo $ECHO_N "(cached) $ECHO_C" >&6
50910 else
50911 eval "$as_ac_Header=\$ac_header_preproc"
50913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50918 cat >>confdefs.h <<_ACEOF
50919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50920 _ACEOF
50924 done
50927 if test "${glibcxx_cv_POLL+set}" = set; then
50928 echo $ECHO_N "(cached) $ECHO_C" >&6
50929 else
50931 if test x$gcc_no_link = xyes; then
50932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50934 { (exit 1); exit 1; }; }
50936 cat >conftest.$ac_ext <<_ACEOF
50937 /* confdefs.h. */
50938 _ACEOF
50939 cat confdefs.h >>conftest.$ac_ext
50940 cat >>conftest.$ac_ext <<_ACEOF
50941 /* end confdefs.h. */
50942 #include <poll.h>
50944 main ()
50946 struct pollfd pfd[1];
50947 pfd[0].events = POLLIN;
50948 poll(pfd, 1, 0);
50950 return 0;
50952 _ACEOF
50953 rm -f conftest.$ac_objext conftest$ac_exeext
50954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50955 (eval $ac_link) 2>conftest.er1
50956 ac_status=$?
50957 grep -v '^ *+' conftest.er1 >conftest.err
50958 rm -f conftest.er1
50959 cat conftest.err >&5
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); } &&
50962 { ac_try='test -z "$ac_c_werror_flag"
50963 || test ! -s conftest.err'
50964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50965 (eval $ac_try) 2>&5
50966 ac_status=$?
50967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50968 (exit $ac_status); }; } &&
50969 { ac_try='test -s conftest$ac_exeext'
50970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50971 (eval $ac_try) 2>&5
50972 ac_status=$?
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); }; }; then
50975 glibcxx_cv_POLL=yes
50976 else
50977 echo "$as_me: failed program was:" >&5
50978 sed 's/^/| /' conftest.$ac_ext >&5
50980 glibcxx_cv_POLL=no
50982 rm -f conftest.err conftest.$ac_objext \
50983 conftest$ac_exeext conftest.$ac_ext
50987 if test $glibcxx_cv_POLL = yes; then
50988 cat >>confdefs.h <<\_ACEOF
50989 #define HAVE_POLL 1
50990 _ACEOF
50995 if test "${glibcxx_cv_S_ISREG+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
50999 if test x$gcc_no_link = xyes; then
51000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51002 { (exit 1); exit 1; }; }
51004 cat >conftest.$ac_ext <<_ACEOF
51005 /* confdefs.h. */
51006 _ACEOF
51007 cat confdefs.h >>conftest.$ac_ext
51008 cat >>conftest.$ac_ext <<_ACEOF
51009 /* end confdefs.h. */
51010 #include <sys/stat.h>
51012 main ()
51014 struct stat buffer;
51015 fstat(0, &buffer);
51016 S_ISREG(buffer.st_mode);
51018 return 0;
51020 _ACEOF
51021 rm -f conftest.$ac_objext conftest$ac_exeext
51022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51023 (eval $ac_link) 2>conftest.er1
51024 ac_status=$?
51025 grep -v '^ *+' conftest.er1 >conftest.err
51026 rm -f conftest.er1
51027 cat conftest.err >&5
51028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51029 (exit $ac_status); } &&
51030 { ac_try='test -z "$ac_c_werror_flag"
51031 || test ! -s conftest.err'
51032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51033 (eval $ac_try) 2>&5
51034 ac_status=$?
51035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51036 (exit $ac_status); }; } &&
51037 { ac_try='test -s conftest$ac_exeext'
51038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51039 (eval $ac_try) 2>&5
51040 ac_status=$?
51041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51042 (exit $ac_status); }; }; then
51043 glibcxx_cv_S_ISREG=yes
51044 else
51045 echo "$as_me: failed program was:" >&5
51046 sed 's/^/| /' conftest.$ac_ext >&5
51048 glibcxx_cv_S_ISREG=no
51050 rm -f conftest.err conftest.$ac_objext \
51051 conftest$ac_exeext conftest.$ac_ext
51055 if test "${glibcxx_cv_S_IFREG+set}" = set; then
51056 echo $ECHO_N "(cached) $ECHO_C" >&6
51057 else
51059 if test x$gcc_no_link = xyes; then
51060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51062 { (exit 1); exit 1; }; }
51064 cat >conftest.$ac_ext <<_ACEOF
51065 /* confdefs.h. */
51066 _ACEOF
51067 cat confdefs.h >>conftest.$ac_ext
51068 cat >>conftest.$ac_ext <<_ACEOF
51069 /* end confdefs.h. */
51070 #include <sys/stat.h>
51072 main ()
51074 struct stat buffer;
51075 fstat(0, &buffer);
51076 S_IFREG & buffer.st_mode;
51078 return 0;
51080 _ACEOF
51081 rm -f conftest.$ac_objext conftest$ac_exeext
51082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51083 (eval $ac_link) 2>conftest.er1
51084 ac_status=$?
51085 grep -v '^ *+' conftest.er1 >conftest.err
51086 rm -f conftest.er1
51087 cat conftest.err >&5
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); } &&
51090 { ac_try='test -z "$ac_c_werror_flag"
51091 || test ! -s conftest.err'
51092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51093 (eval $ac_try) 2>&5
51094 ac_status=$?
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); }; } &&
51097 { ac_try='test -s conftest$ac_exeext'
51098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099 (eval $ac_try) 2>&5
51100 ac_status=$?
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); }; }; then
51103 glibcxx_cv_S_IFREG=yes
51104 else
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51108 glibcxx_cv_S_IFREG=no
51110 rm -f conftest.err conftest.$ac_objext \
51111 conftest$ac_exeext conftest.$ac_ext
51115 if test $glibcxx_cv_S_ISREG = yes; then
51116 cat >>confdefs.h <<\_ACEOF
51117 #define HAVE_S_ISREG 1
51118 _ACEOF
51120 elif test $glibcxx_cv_S_IFREG = yes; then
51121 cat >>confdefs.h <<\_ACEOF
51122 #define HAVE_S_IFREG 1
51123 _ACEOF
51128 # For xsputn_2().
51130 for ac_header in sys/uio.h
51132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51134 echo "$as_me:$LINENO: checking for $ac_header" >&5
51135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51137 echo $ECHO_N "(cached) $ECHO_C" >&6
51139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51141 else
51142 # Is the header compilable?
51143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51145 cat >conftest.$ac_ext <<_ACEOF
51146 /* confdefs.h. */
51147 _ACEOF
51148 cat confdefs.h >>conftest.$ac_ext
51149 cat >>conftest.$ac_ext <<_ACEOF
51150 /* end confdefs.h. */
51151 $ac_includes_default
51152 #include <$ac_header>
51153 _ACEOF
51154 rm -f conftest.$ac_objext
51155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51156 (eval $ac_compile) 2>conftest.er1
51157 ac_status=$?
51158 grep -v '^ *+' conftest.er1 >conftest.err
51159 rm -f conftest.er1
51160 cat conftest.err >&5
51161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162 (exit $ac_status); } &&
51163 { ac_try='test -z "$ac_c_werror_flag"
51164 || test ! -s conftest.err'
51165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51166 (eval $ac_try) 2>&5
51167 ac_status=$?
51168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169 (exit $ac_status); }; } &&
51170 { ac_try='test -s conftest.$ac_objext'
51171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51172 (eval $ac_try) 2>&5
51173 ac_status=$?
51174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51175 (exit $ac_status); }; }; then
51176 ac_header_compiler=yes
51177 else
51178 echo "$as_me: failed program was:" >&5
51179 sed 's/^/| /' conftest.$ac_ext >&5
51181 ac_header_compiler=no
51183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51185 echo "${ECHO_T}$ac_header_compiler" >&6
51187 # Is the header present?
51188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51190 cat >conftest.$ac_ext <<_ACEOF
51191 /* confdefs.h. */
51192 _ACEOF
51193 cat confdefs.h >>conftest.$ac_ext
51194 cat >>conftest.$ac_ext <<_ACEOF
51195 /* end confdefs.h. */
51196 #include <$ac_header>
51197 _ACEOF
51198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51200 ac_status=$?
51201 grep -v '^ *+' conftest.er1 >conftest.err
51202 rm -f conftest.er1
51203 cat conftest.err >&5
51204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51205 (exit $ac_status); } >/dev/null; then
51206 if test -s conftest.err; then
51207 ac_cpp_err=$ac_c_preproc_warn_flag
51208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51209 else
51210 ac_cpp_err=
51212 else
51213 ac_cpp_err=yes
51215 if test -z "$ac_cpp_err"; then
51216 ac_header_preproc=yes
51217 else
51218 echo "$as_me: failed program was:" >&5
51219 sed 's/^/| /' conftest.$ac_ext >&5
51221 ac_header_preproc=no
51223 rm -f conftest.err conftest.$ac_ext
51224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51225 echo "${ECHO_T}$ac_header_preproc" >&6
51227 # So? What about this header?
51228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51229 yes:no: )
51230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51234 ac_header_preproc=yes
51236 no:yes:* )
51237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51250 cat <<\_ASBOX
51251 ## ----------------------------------------- ##
51252 ## Report this to the package-unused lists. ##
51253 ## ----------------------------------------- ##
51254 _ASBOX
51256 sed "s/^/$as_me: WARNING: /" >&2
51258 esac
51259 echo "$as_me:$LINENO: checking for $ac_header" >&5
51260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51262 echo $ECHO_N "(cached) $ECHO_C" >&6
51263 else
51264 eval "$as_ac_Header=\$ac_header_preproc"
51266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51271 cat >>confdefs.h <<_ACEOF
51272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51273 _ACEOF
51277 done
51280 if test "${glibcxx_cv_WRITEV+set}" = set; then
51281 echo $ECHO_N "(cached) $ECHO_C" >&6
51282 else
51284 if test x$gcc_no_link = xyes; then
51285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51287 { (exit 1); exit 1; }; }
51289 cat >conftest.$ac_ext <<_ACEOF
51290 /* confdefs.h. */
51291 _ACEOF
51292 cat confdefs.h >>conftest.$ac_ext
51293 cat >>conftest.$ac_ext <<_ACEOF
51294 /* end confdefs.h. */
51295 #include <sys/uio.h>
51297 main ()
51299 struct iovec iov[2];
51300 writev(0, iov, 0);
51302 return 0;
51304 _ACEOF
51305 rm -f conftest.$ac_objext conftest$ac_exeext
51306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51307 (eval $ac_link) 2>conftest.er1
51308 ac_status=$?
51309 grep -v '^ *+' conftest.er1 >conftest.err
51310 rm -f conftest.er1
51311 cat conftest.err >&5
51312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51313 (exit $ac_status); } &&
51314 { ac_try='test -z "$ac_c_werror_flag"
51315 || test ! -s conftest.err'
51316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51317 (eval $ac_try) 2>&5
51318 ac_status=$?
51319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51320 (exit $ac_status); }; } &&
51321 { ac_try='test -s conftest$ac_exeext'
51322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51323 (eval $ac_try) 2>&5
51324 ac_status=$?
51325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51326 (exit $ac_status); }; }; then
51327 glibcxx_cv_WRITEV=yes
51328 else
51329 echo "$as_me: failed program was:" >&5
51330 sed 's/^/| /' conftest.$ac_ext >&5
51332 glibcxx_cv_WRITEV=no
51334 rm -f conftest.err conftest.$ac_objext \
51335 conftest$ac_exeext conftest.$ac_ext
51339 if test $glibcxx_cv_WRITEV = yes; then
51340 cat >>confdefs.h <<\_ACEOF
51341 #define HAVE_WRITEV 1
51342 _ACEOF
51347 cat >>confdefs.h <<\_ACEOF
51348 #define HAVE_LC_MESSAGES 1
51349 _ACEOF
51352 cat >conftest.$ac_ext <<_ACEOF
51353 /* confdefs.h. */
51354 _ACEOF
51355 cat confdefs.h >>conftest.$ac_ext
51356 cat >>conftest.$ac_ext <<_ACEOF
51357 /* end confdefs.h. */
51358 #include <setjmp.h>
51360 main ()
51362 sigjmp_buf env;
51363 while (! sigsetjmp (env, 1))
51364 siglongjmp (env, 1);
51367 return 0;
51369 _ACEOF
51370 rm -f conftest.$ac_objext
51371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51372 (eval $ac_compile) 2>conftest.er1
51373 ac_status=$?
51374 grep -v '^ *+' conftest.er1 >conftest.err
51375 rm -f conftest.er1
51376 cat conftest.err >&5
51377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51378 (exit $ac_status); } &&
51379 { ac_try='test -z "$ac_c_werror_flag"
51380 || test ! -s conftest.err'
51381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51382 (eval $ac_try) 2>&5
51383 ac_status=$?
51384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385 (exit $ac_status); }; } &&
51386 { ac_try='test -s conftest.$ac_objext'
51387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51388 (eval $ac_try) 2>&5
51389 ac_status=$?
51390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51391 (exit $ac_status); }; }; then
51393 cat >>confdefs.h <<\_ACEOF
51394 #define HAVE_SIGSETJMP 1
51395 _ACEOF
51397 else
51398 echo "$as_me: failed program was:" >&5
51399 sed 's/^/| /' conftest.$ac_ext >&5
51402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51404 cat >>confdefs.h <<\_ACEOF
51405 #define HAVE_MMAP 1
51406 _ACEOF
51410 *djgpp)
51431 for ac_header in float.h ieeefp.h inttypes.h locale.h \
51432 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
51433 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
51434 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
51436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51438 echo "$as_me:$LINENO: checking for $ac_header" >&5
51439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51441 echo $ECHO_N "(cached) $ECHO_C" >&6
51443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51445 else
51446 # Is the header compilable?
51447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51449 cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h. */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h. */
51455 $ac_includes_default
51456 #include <$ac_header>
51457 _ACEOF
51458 rm -f conftest.$ac_objext
51459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51460 (eval $ac_compile) 2>conftest.er1
51461 ac_status=$?
51462 grep -v '^ *+' conftest.er1 >conftest.err
51463 rm -f conftest.er1
51464 cat conftest.err >&5
51465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51466 (exit $ac_status); } &&
51467 { ac_try='test -z "$ac_c_werror_flag"
51468 || test ! -s conftest.err'
51469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51470 (eval $ac_try) 2>&5
51471 ac_status=$?
51472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473 (exit $ac_status); }; } &&
51474 { ac_try='test -s conftest.$ac_objext'
51475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51476 (eval $ac_try) 2>&5
51477 ac_status=$?
51478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51479 (exit $ac_status); }; }; then
51480 ac_header_compiler=yes
51481 else
51482 echo "$as_me: failed program was:" >&5
51483 sed 's/^/| /' conftest.$ac_ext >&5
51485 ac_header_compiler=no
51487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51489 echo "${ECHO_T}$ac_header_compiler" >&6
51491 # Is the header present?
51492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51494 cat >conftest.$ac_ext <<_ACEOF
51495 /* confdefs.h. */
51496 _ACEOF
51497 cat confdefs.h >>conftest.$ac_ext
51498 cat >>conftest.$ac_ext <<_ACEOF
51499 /* end confdefs.h. */
51500 #include <$ac_header>
51501 _ACEOF
51502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51504 ac_status=$?
51505 grep -v '^ *+' conftest.er1 >conftest.err
51506 rm -f conftest.er1
51507 cat conftest.err >&5
51508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51509 (exit $ac_status); } >/dev/null; then
51510 if test -s conftest.err; then
51511 ac_cpp_err=$ac_c_preproc_warn_flag
51512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51513 else
51514 ac_cpp_err=
51516 else
51517 ac_cpp_err=yes
51519 if test -z "$ac_cpp_err"; then
51520 ac_header_preproc=yes
51521 else
51522 echo "$as_me: failed program was:" >&5
51523 sed 's/^/| /' conftest.$ac_ext >&5
51525 ac_header_preproc=no
51527 rm -f conftest.err conftest.$ac_ext
51528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51529 echo "${ECHO_T}$ac_header_preproc" >&6
51531 # So? What about this header?
51532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51533 yes:no: )
51534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51538 ac_header_preproc=yes
51540 no:yes:* )
51541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51554 cat <<\_ASBOX
51555 ## ----------------------------------------- ##
51556 ## Report this to the package-unused lists. ##
51557 ## ----------------------------------------- ##
51558 _ASBOX
51560 sed "s/^/$as_me: WARNING: /" >&2
51562 esac
51563 echo "$as_me:$LINENO: checking for $ac_header" >&5
51564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51566 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51568 eval "$as_ac_Header=\$ac_header_preproc"
51570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51575 cat >>confdefs.h <<_ACEOF
51576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51577 _ACEOF
51581 done
51584 # All these tests are for C++; save the language and the compiler flags.
51585 # The CXXFLAGS thing is suspicious, but based on similar bits previously
51586 # found in GLIBCXX_CONFIGURE.
51589 ac_ext=cc
51590 ac_cpp='$CXXCPP $CPPFLAGS'
51591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51596 ac_save_CXXFLAGS="$CXXFLAGS"
51598 # Check for maintainer-mode bits.
51599 if test x"$USE_MAINTAINER_MODE" = xno; then
51600 WERROR=''
51601 else
51602 WERROR='-Werror'
51605 # Check for -ffunction-sections -fdata-sections
51606 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
51607 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
51608 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
51609 cat >conftest.$ac_ext <<_ACEOF
51610 /* confdefs.h. */
51611 _ACEOF
51612 cat confdefs.h >>conftest.$ac_ext
51613 cat >>conftest.$ac_ext <<_ACEOF
51614 /* end confdefs.h. */
51617 main ()
51619 int foo;
51621 return 0;
51623 _ACEOF
51624 rm -f conftest.$ac_objext
51625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51626 (eval $ac_compile) 2>conftest.er1
51627 ac_status=$?
51628 grep -v '^ *+' conftest.er1 >conftest.err
51629 rm -f conftest.er1
51630 cat conftest.err >&5
51631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51632 (exit $ac_status); } &&
51633 { ac_try='test -z "$ac_cxx_werror_flag"
51634 || test ! -s conftest.err'
51635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51636 (eval $ac_try) 2>&5
51637 ac_status=$?
51638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51639 (exit $ac_status); }; } &&
51640 { ac_try='test -s conftest.$ac_objext'
51641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51642 (eval $ac_try) 2>&5
51643 ac_status=$?
51644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51645 (exit $ac_status); }; }; then
51646 ac_fdsections=yes
51647 else
51648 echo "$as_me: failed program was:" >&5
51649 sed 's/^/| /' conftest.$ac_ext >&5
51651 ac_fdsections=no
51653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51654 if test "$ac_test_CXXFLAGS" = set; then
51655 CXXFLAGS="$ac_save_CXXFLAGS"
51656 else
51657 # this is the suspicious part
51658 CXXFLAGS=''
51660 if test x"$ac_fdsections" = x"yes"; then
51661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51663 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
51664 echo "${ECHO_T}$ac_fdsections" >&6
51666 ac_ext=c
51667 ac_cpp='$CPP $CPPFLAGS'
51668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51676 # If we're not using GNU ld, then there's no point in even trying these
51677 # tests. Check for that first. We should have already tested for gld
51678 # by now (in libtool), but require it now just to be safe...
51679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51684 # The name set by libtool depends on the version of libtool. Shame on us
51685 # for depending on an impl detail, but c'est la vie. Older versions used
51686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51689 # set (hence we're using an older libtool), then set it.
51690 if test x${with_gnu_ld+set} != xset; then
51691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51693 with_gnu_ld=no
51694 else
51695 with_gnu_ld=$ac_cv_prog_gnu_ld
51699 # Start by getting the version number. I think the libtool test already
51700 # does some of this, but throws away the result.
51702 ldver=`$LD --version 2>/dev/null | head -1 | \
51703 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51705 glibcxx_gnu_ld_version=`echo $ldver | \
51706 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51708 # Set --gc-sections.
51709 if test "$with_gnu_ld" = "notbroken"; then
51710 # GNU ld it is! Joy and bunny rabbits!
51712 # All these tests are for C++; save the language and the compiler flags.
51713 # Need to do this so that g++ won't try to link in libstdc++
51714 ac_test_CFLAGS="${CFLAGS+set}"
51715 ac_save_CFLAGS="$CFLAGS"
51716 CFLAGS='-x c++ -Wl,--gc-sections'
51718 # Check for -Wl,--gc-sections
51719 # XXX This test is broken at the moment, as symbols required for linking
51720 # are now in libsupc++ (not built yet). In addition, this test has
51721 # cored on solaris in the past. In addition, --gc-sections doesn't
51722 # really work at the moment (keeps on discarding used sections, first
51723 # .eh_frame and now some of the glibc sections for iconv).
51724 # Bzzzzt. Thanks for playing, maybe next time.
51725 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51726 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51727 if test "$cross_compiling" = yes; then
51728 ac_sectionLDflags=yes
51729 else
51730 cat >conftest.$ac_ext <<_ACEOF
51731 /* confdefs.h. */
51732 _ACEOF
51733 cat confdefs.h >>conftest.$ac_ext
51734 cat >>conftest.$ac_ext <<_ACEOF
51735 /* end confdefs.h. */
51737 int main(void)
51739 try { throw 1; }
51740 catch (...) { };
51741 return 0;
51744 _ACEOF
51745 rm -f conftest$ac_exeext
51746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51747 (eval $ac_link) 2>&5
51748 ac_status=$?
51749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752 (eval $ac_try) 2>&5
51753 ac_status=$?
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }; }; then
51756 ac_sectionLDflags=yes
51757 else
51758 echo "$as_me: program exited with status $ac_status" >&5
51759 echo "$as_me: failed program was:" >&5
51760 sed 's/^/| /' conftest.$ac_ext >&5
51762 ( exit $ac_status )
51763 ac_sectionLDflags=no
51765 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51767 if test "$ac_test_CFLAGS" = set; then
51768 CFLAGS="$ac_save_CFLAGS"
51769 else
51770 # this is the suspicious part
51771 CFLAGS=''
51773 if test "$ac_sectionLDflags" = "yes"; then
51774 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51776 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51777 echo "${ECHO_T}$ac_sectionLDflags" >&6
51780 # Set linker optimization flags.
51781 if test x"$with_gnu_ld" = x"yes"; then
51782 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51789 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51790 ac_save_CXXFLAGS="$CXXFLAGS"
51791 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51793 echo "$as_me:$LINENO: checking for sin in -lm" >&5
51794 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
51795 if test "${ac_cv_lib_m_sin+set}" = set; then
51796 echo $ECHO_N "(cached) $ECHO_C" >&6
51797 else
51798 ac_check_lib_save_LIBS=$LIBS
51799 LIBS="-lm $LIBS"
51800 if test x$gcc_no_link = xyes; then
51801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51803 { (exit 1); exit 1; }; }
51805 cat >conftest.$ac_ext <<_ACEOF
51806 /* confdefs.h. */
51807 _ACEOF
51808 cat confdefs.h >>conftest.$ac_ext
51809 cat >>conftest.$ac_ext <<_ACEOF
51810 /* end confdefs.h. */
51812 /* Override any gcc2 internal prototype to avoid an error. */
51813 #ifdef __cplusplus
51814 extern "C"
51815 #endif
51816 /* We use char because int might match the return type of a gcc2
51817 builtin and then its argument prototype would still apply. */
51818 char sin ();
51820 main ()
51822 sin ();
51824 return 0;
51826 _ACEOF
51827 rm -f conftest.$ac_objext conftest$ac_exeext
51828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51829 (eval $ac_link) 2>conftest.er1
51830 ac_status=$?
51831 grep -v '^ *+' conftest.er1 >conftest.err
51832 rm -f conftest.er1
51833 cat conftest.err >&5
51834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51835 (exit $ac_status); } &&
51836 { ac_try='test -z "$ac_c_werror_flag"
51837 || test ! -s conftest.err'
51838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51839 (eval $ac_try) 2>&5
51840 ac_status=$?
51841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51842 (exit $ac_status); }; } &&
51843 { ac_try='test -s conftest$ac_exeext'
51844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51845 (eval $ac_try) 2>&5
51846 ac_status=$?
51847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51848 (exit $ac_status); }; }; then
51849 ac_cv_lib_m_sin=yes
51850 else
51851 echo "$as_me: failed program was:" >&5
51852 sed 's/^/| /' conftest.$ac_ext >&5
51854 ac_cv_lib_m_sin=no
51856 rm -f conftest.err conftest.$ac_objext \
51857 conftest$ac_exeext conftest.$ac_ext
51858 LIBS=$ac_check_lib_save_LIBS
51860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
51861 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
51862 if test $ac_cv_lib_m_sin = yes; then
51863 libm="-lm"
51866 ac_save_LIBS="$LIBS"
51867 LIBS="$LIBS $libm"
51871 echo "$as_me:$LINENO: checking for isinf declaration" >&5
51872 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
51873 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51874 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
51875 echo $ECHO_N "(cached) $ECHO_C" >&6
51876 else
51880 ac_ext=cc
51881 ac_cpp='$CXXCPP $CPPFLAGS'
51882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51886 cat >conftest.$ac_ext <<_ACEOF
51887 /* confdefs.h. */
51888 _ACEOF
51889 cat confdefs.h >>conftest.$ac_ext
51890 cat >>conftest.$ac_ext <<_ACEOF
51891 /* end confdefs.h. */
51892 #include <math.h>
51893 #ifdef HAVE_IEEEFP_H
51894 #include <ieeefp.h>
51895 #endif
51898 main ()
51900 isinf(0);
51902 return 0;
51904 _ACEOF
51905 rm -f conftest.$ac_objext
51906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51907 (eval $ac_compile) 2>conftest.er1
51908 ac_status=$?
51909 grep -v '^ *+' conftest.er1 >conftest.err
51910 rm -f conftest.er1
51911 cat conftest.err >&5
51912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51913 (exit $ac_status); } &&
51914 { ac_try='test -z "$ac_cxx_werror_flag"
51915 || test ! -s conftest.err'
51916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51917 (eval $ac_try) 2>&5
51918 ac_status=$?
51919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920 (exit $ac_status); }; } &&
51921 { ac_try='test -s conftest.$ac_objext'
51922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51923 (eval $ac_try) 2>&5
51924 ac_status=$?
51925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51926 (exit $ac_status); }; }; then
51927 glibcxx_cv_func_isinf_use=yes
51928 else
51929 echo "$as_me: failed program was:" >&5
51930 sed 's/^/| /' conftest.$ac_ext >&5
51932 glibcxx_cv_func_isinf_use=no
51934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51935 ac_ext=c
51936 ac_cpp='$CPP $CPPFLAGS'
51937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
51946 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
51948 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51950 for ac_func in isinf
51952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51953 echo "$as_me:$LINENO: checking for $ac_func" >&5
51954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51955 if eval "test \"\${$as_ac_var+set}\" = set"; then
51956 echo $ECHO_N "(cached) $ECHO_C" >&6
51957 else
51958 if test x$gcc_no_link = xyes; then
51959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51961 { (exit 1); exit 1; }; }
51963 cat >conftest.$ac_ext <<_ACEOF
51964 /* confdefs.h. */
51965 _ACEOF
51966 cat confdefs.h >>conftest.$ac_ext
51967 cat >>conftest.$ac_ext <<_ACEOF
51968 /* end confdefs.h. */
51969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51971 #define $ac_func innocuous_$ac_func
51973 /* System header to define __stub macros and hopefully few prototypes,
51974 which can conflict with char $ac_func (); below.
51975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51976 <limits.h> exists even on freestanding compilers. */
51978 #ifdef __STDC__
51979 # include <limits.h>
51980 #else
51981 # include <assert.h>
51982 #endif
51984 #undef $ac_func
51986 /* Override any gcc2 internal prototype to avoid an error. */
51987 #ifdef __cplusplus
51988 extern "C"
51990 #endif
51991 /* We use char because int might match the return type of a gcc2
51992 builtin and then its argument prototype would still apply. */
51993 char $ac_func ();
51994 /* The GNU C library defines this for functions which it implements
51995 to always fail with ENOSYS. Some functions are actually named
51996 something starting with __ and the normal name is an alias. */
51997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51998 choke me
51999 #else
52000 char (*f) () = $ac_func;
52001 #endif
52002 #ifdef __cplusplus
52004 #endif
52007 main ()
52009 return f != $ac_func;
52011 return 0;
52013 _ACEOF
52014 rm -f conftest.$ac_objext conftest$ac_exeext
52015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52016 (eval $ac_link) 2>conftest.er1
52017 ac_status=$?
52018 grep -v '^ *+' conftest.er1 >conftest.err
52019 rm -f conftest.er1
52020 cat conftest.err >&5
52021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52022 (exit $ac_status); } &&
52023 { ac_try='test -z "$ac_c_werror_flag"
52024 || test ! -s conftest.err'
52025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52026 (eval $ac_try) 2>&5
52027 ac_status=$?
52028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029 (exit $ac_status); }; } &&
52030 { ac_try='test -s conftest$ac_exeext'
52031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032 (eval $ac_try) 2>&5
52033 ac_status=$?
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }; }; then
52036 eval "$as_ac_var=yes"
52037 else
52038 echo "$as_me: failed program was:" >&5
52039 sed 's/^/| /' conftest.$ac_ext >&5
52041 eval "$as_ac_var=no"
52043 rm -f conftest.err conftest.$ac_objext \
52044 conftest$ac_exeext conftest.$ac_ext
52046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52048 if test `eval echo '${'$as_ac_var'}'` = yes; then
52049 cat >>confdefs.h <<_ACEOF
52050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52051 _ACEOF
52054 done
52056 else
52058 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
52059 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
52060 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52061 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
52062 echo $ECHO_N "(cached) $ECHO_C" >&6
52063 else
52067 ac_ext=cc
52068 ac_cpp='$CXXCPP $CPPFLAGS'
52069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52073 cat >conftest.$ac_ext <<_ACEOF
52074 /* confdefs.h. */
52075 _ACEOF
52076 cat confdefs.h >>conftest.$ac_ext
52077 cat >>conftest.$ac_ext <<_ACEOF
52078 /* end confdefs.h. */
52079 #include <math.h>
52080 #ifdef HAVE_IEEEFP_H
52081 #include <ieeefp.h>
52082 #endif
52085 main ()
52087 _isinf(0);
52089 return 0;
52091 _ACEOF
52092 rm -f conftest.$ac_objext
52093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52094 (eval $ac_compile) 2>conftest.er1
52095 ac_status=$?
52096 grep -v '^ *+' conftest.er1 >conftest.err
52097 rm -f conftest.er1
52098 cat conftest.err >&5
52099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52100 (exit $ac_status); } &&
52101 { ac_try='test -z "$ac_cxx_werror_flag"
52102 || test ! -s conftest.err'
52103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104 (eval $ac_try) 2>&5
52105 ac_status=$?
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); }; } &&
52108 { ac_try='test -s conftest.$ac_objext'
52109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52110 (eval $ac_try) 2>&5
52111 ac_status=$?
52112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113 (exit $ac_status); }; }; then
52114 glibcxx_cv_func__isinf_use=yes
52115 else
52116 echo "$as_me: failed program was:" >&5
52117 sed 's/^/| /' conftest.$ac_ext >&5
52119 glibcxx_cv_func__isinf_use=no
52121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52122 ac_ext=c
52123 ac_cpp='$CPP $CPPFLAGS'
52124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
52133 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
52135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52137 for ac_func in _isinf
52139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52140 echo "$as_me:$LINENO: checking for $ac_func" >&5
52141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52142 if eval "test \"\${$as_ac_var+set}\" = set"; then
52143 echo $ECHO_N "(cached) $ECHO_C" >&6
52144 else
52145 if test x$gcc_no_link = xyes; then
52146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52148 { (exit 1); exit 1; }; }
52150 cat >conftest.$ac_ext <<_ACEOF
52151 /* confdefs.h. */
52152 _ACEOF
52153 cat confdefs.h >>conftest.$ac_ext
52154 cat >>conftest.$ac_ext <<_ACEOF
52155 /* end confdefs.h. */
52156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52158 #define $ac_func innocuous_$ac_func
52160 /* System header to define __stub macros and hopefully few prototypes,
52161 which can conflict with char $ac_func (); below.
52162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52163 <limits.h> exists even on freestanding compilers. */
52165 #ifdef __STDC__
52166 # include <limits.h>
52167 #else
52168 # include <assert.h>
52169 #endif
52171 #undef $ac_func
52173 /* Override any gcc2 internal prototype to avoid an error. */
52174 #ifdef __cplusplus
52175 extern "C"
52177 #endif
52178 /* We use char because int might match the return type of a gcc2
52179 builtin and then its argument prototype would still apply. */
52180 char $ac_func ();
52181 /* The GNU C library defines this for functions which it implements
52182 to always fail with ENOSYS. Some functions are actually named
52183 something starting with __ and the normal name is an alias. */
52184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52185 choke me
52186 #else
52187 char (*f) () = $ac_func;
52188 #endif
52189 #ifdef __cplusplus
52191 #endif
52194 main ()
52196 return f != $ac_func;
52198 return 0;
52200 _ACEOF
52201 rm -f conftest.$ac_objext conftest$ac_exeext
52202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52203 (eval $ac_link) 2>conftest.er1
52204 ac_status=$?
52205 grep -v '^ *+' conftest.er1 >conftest.err
52206 rm -f conftest.er1
52207 cat conftest.err >&5
52208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52209 (exit $ac_status); } &&
52210 { ac_try='test -z "$ac_c_werror_flag"
52211 || test ! -s conftest.err'
52212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52213 (eval $ac_try) 2>&5
52214 ac_status=$?
52215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52216 (exit $ac_status); }; } &&
52217 { ac_try='test -s conftest$ac_exeext'
52218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52219 (eval $ac_try) 2>&5
52220 ac_status=$?
52221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52222 (exit $ac_status); }; }; then
52223 eval "$as_ac_var=yes"
52224 else
52225 echo "$as_me: failed program was:" >&5
52226 sed 's/^/| /' conftest.$ac_ext >&5
52228 eval "$as_ac_var=no"
52230 rm -f conftest.err conftest.$ac_objext \
52231 conftest$ac_exeext conftest.$ac_ext
52233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52235 if test `eval echo '${'$as_ac_var'}'` = yes; then
52236 cat >>confdefs.h <<_ACEOF
52237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52238 _ACEOF
52241 done
52248 echo "$as_me:$LINENO: checking for isnan declaration" >&5
52249 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
52250 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52251 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
52252 echo $ECHO_N "(cached) $ECHO_C" >&6
52253 else
52257 ac_ext=cc
52258 ac_cpp='$CXXCPP $CPPFLAGS'
52259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52263 cat >conftest.$ac_ext <<_ACEOF
52264 /* confdefs.h. */
52265 _ACEOF
52266 cat confdefs.h >>conftest.$ac_ext
52267 cat >>conftest.$ac_ext <<_ACEOF
52268 /* end confdefs.h. */
52269 #include <math.h>
52270 #ifdef HAVE_IEEEFP_H
52271 #include <ieeefp.h>
52272 #endif
52275 main ()
52277 isnan(0);
52279 return 0;
52281 _ACEOF
52282 rm -f conftest.$ac_objext
52283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52284 (eval $ac_compile) 2>conftest.er1
52285 ac_status=$?
52286 grep -v '^ *+' conftest.er1 >conftest.err
52287 rm -f conftest.er1
52288 cat conftest.err >&5
52289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290 (exit $ac_status); } &&
52291 { ac_try='test -z "$ac_cxx_werror_flag"
52292 || test ! -s conftest.err'
52293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52294 (eval $ac_try) 2>&5
52295 ac_status=$?
52296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52297 (exit $ac_status); }; } &&
52298 { ac_try='test -s conftest.$ac_objext'
52299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52300 (eval $ac_try) 2>&5
52301 ac_status=$?
52302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52303 (exit $ac_status); }; }; then
52304 glibcxx_cv_func_isnan_use=yes
52305 else
52306 echo "$as_me: failed program was:" >&5
52307 sed 's/^/| /' conftest.$ac_ext >&5
52309 glibcxx_cv_func_isnan_use=no
52311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52312 ac_ext=c
52313 ac_cpp='$CPP $CPPFLAGS'
52314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
52323 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
52325 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52327 for ac_func in isnan
52329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52330 echo "$as_me:$LINENO: checking for $ac_func" >&5
52331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52332 if eval "test \"\${$as_ac_var+set}\" = set"; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335 if test x$gcc_no_link = xyes; then
52336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338 { (exit 1); exit 1; }; }
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h. */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h. */
52346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52348 #define $ac_func innocuous_$ac_func
52350 /* System header to define __stub macros and hopefully few prototypes,
52351 which can conflict with char $ac_func (); below.
52352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52353 <limits.h> exists even on freestanding compilers. */
52355 #ifdef __STDC__
52356 # include <limits.h>
52357 #else
52358 # include <assert.h>
52359 #endif
52361 #undef $ac_func
52363 /* Override any gcc2 internal prototype to avoid an error. */
52364 #ifdef __cplusplus
52365 extern "C"
52367 #endif
52368 /* We use char because int might match the return type of a gcc2
52369 builtin and then its argument prototype would still apply. */
52370 char $ac_func ();
52371 /* The GNU C library defines this for functions which it implements
52372 to always fail with ENOSYS. Some functions are actually named
52373 something starting with __ and the normal name is an alias. */
52374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52375 choke me
52376 #else
52377 char (*f) () = $ac_func;
52378 #endif
52379 #ifdef __cplusplus
52381 #endif
52384 main ()
52386 return f != $ac_func;
52388 return 0;
52390 _ACEOF
52391 rm -f conftest.$ac_objext conftest$ac_exeext
52392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52393 (eval $ac_link) 2>conftest.er1
52394 ac_status=$?
52395 grep -v '^ *+' conftest.er1 >conftest.err
52396 rm -f conftest.er1
52397 cat conftest.err >&5
52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399 (exit $ac_status); } &&
52400 { ac_try='test -z "$ac_c_werror_flag"
52401 || test ! -s conftest.err'
52402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403 (eval $ac_try) 2>&5
52404 ac_status=$?
52405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406 (exit $ac_status); }; } &&
52407 { ac_try='test -s conftest$ac_exeext'
52408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409 (eval $ac_try) 2>&5
52410 ac_status=$?
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); }; }; then
52413 eval "$as_ac_var=yes"
52414 else
52415 echo "$as_me: failed program was:" >&5
52416 sed 's/^/| /' conftest.$ac_ext >&5
52418 eval "$as_ac_var=no"
52420 rm -f conftest.err conftest.$ac_objext \
52421 conftest$ac_exeext conftest.$ac_ext
52423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52425 if test `eval echo '${'$as_ac_var'}'` = yes; then
52426 cat >>confdefs.h <<_ACEOF
52427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52428 _ACEOF
52431 done
52433 else
52435 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
52436 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
52437 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52438 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
52439 echo $ECHO_N "(cached) $ECHO_C" >&6
52440 else
52444 ac_ext=cc
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52450 cat >conftest.$ac_ext <<_ACEOF
52451 /* confdefs.h. */
52452 _ACEOF
52453 cat confdefs.h >>conftest.$ac_ext
52454 cat >>conftest.$ac_ext <<_ACEOF
52455 /* end confdefs.h. */
52456 #include <math.h>
52457 #ifdef HAVE_IEEEFP_H
52458 #include <ieeefp.h>
52459 #endif
52462 main ()
52464 _isnan(0);
52466 return 0;
52468 _ACEOF
52469 rm -f conftest.$ac_objext
52470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52471 (eval $ac_compile) 2>conftest.er1
52472 ac_status=$?
52473 grep -v '^ *+' conftest.er1 >conftest.err
52474 rm -f conftest.er1
52475 cat conftest.err >&5
52476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52477 (exit $ac_status); } &&
52478 { ac_try='test -z "$ac_cxx_werror_flag"
52479 || test ! -s conftest.err'
52480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52481 (eval $ac_try) 2>&5
52482 ac_status=$?
52483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52484 (exit $ac_status); }; } &&
52485 { ac_try='test -s conftest.$ac_objext'
52486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52487 (eval $ac_try) 2>&5
52488 ac_status=$?
52489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52490 (exit $ac_status); }; }; then
52491 glibcxx_cv_func__isnan_use=yes
52492 else
52493 echo "$as_me: failed program was:" >&5
52494 sed 's/^/| /' conftest.$ac_ext >&5
52496 glibcxx_cv_func__isnan_use=no
52498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52499 ac_ext=c
52500 ac_cpp='$CPP $CPPFLAGS'
52501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
52510 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
52512 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52514 for ac_func in _isnan
52516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52517 echo "$as_me:$LINENO: checking for $ac_func" >&5
52518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52519 if eval "test \"\${$as_ac_var+set}\" = set"; then
52520 echo $ECHO_N "(cached) $ECHO_C" >&6
52521 else
52522 if test x$gcc_no_link = xyes; then
52523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52525 { (exit 1); exit 1; }; }
52527 cat >conftest.$ac_ext <<_ACEOF
52528 /* confdefs.h. */
52529 _ACEOF
52530 cat confdefs.h >>conftest.$ac_ext
52531 cat >>conftest.$ac_ext <<_ACEOF
52532 /* end confdefs.h. */
52533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52535 #define $ac_func innocuous_$ac_func
52537 /* System header to define __stub macros and hopefully few prototypes,
52538 which can conflict with char $ac_func (); below.
52539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52540 <limits.h> exists even on freestanding compilers. */
52542 #ifdef __STDC__
52543 # include <limits.h>
52544 #else
52545 # include <assert.h>
52546 #endif
52548 #undef $ac_func
52550 /* Override any gcc2 internal prototype to avoid an error. */
52551 #ifdef __cplusplus
52552 extern "C"
52554 #endif
52555 /* We use char because int might match the return type of a gcc2
52556 builtin and then its argument prototype would still apply. */
52557 char $ac_func ();
52558 /* The GNU C library defines this for functions which it implements
52559 to always fail with ENOSYS. Some functions are actually named
52560 something starting with __ and the normal name is an alias. */
52561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52562 choke me
52563 #else
52564 char (*f) () = $ac_func;
52565 #endif
52566 #ifdef __cplusplus
52568 #endif
52571 main ()
52573 return f != $ac_func;
52575 return 0;
52577 _ACEOF
52578 rm -f conftest.$ac_objext conftest$ac_exeext
52579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52580 (eval $ac_link) 2>conftest.er1
52581 ac_status=$?
52582 grep -v '^ *+' conftest.er1 >conftest.err
52583 rm -f conftest.er1
52584 cat conftest.err >&5
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); } &&
52587 { ac_try='test -z "$ac_c_werror_flag"
52588 || test ! -s conftest.err'
52589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52590 (eval $ac_try) 2>&5
52591 ac_status=$?
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); }; } &&
52594 { ac_try='test -s conftest$ac_exeext'
52595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52596 (eval $ac_try) 2>&5
52597 ac_status=$?
52598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599 (exit $ac_status); }; }; then
52600 eval "$as_ac_var=yes"
52601 else
52602 echo "$as_me: failed program was:" >&5
52603 sed 's/^/| /' conftest.$ac_ext >&5
52605 eval "$as_ac_var=no"
52607 rm -f conftest.err conftest.$ac_objext \
52608 conftest$ac_exeext conftest.$ac_ext
52610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52612 if test `eval echo '${'$as_ac_var'}'` = yes; then
52613 cat >>confdefs.h <<_ACEOF
52614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52615 _ACEOF
52618 done
52625 echo "$as_me:$LINENO: checking for finite declaration" >&5
52626 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
52627 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52628 if test "${glibcxx_cv_func_finite_use+set}" = set; then
52629 echo $ECHO_N "(cached) $ECHO_C" >&6
52630 else
52634 ac_ext=cc
52635 ac_cpp='$CXXCPP $CPPFLAGS'
52636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52640 cat >conftest.$ac_ext <<_ACEOF
52641 /* confdefs.h. */
52642 _ACEOF
52643 cat confdefs.h >>conftest.$ac_ext
52644 cat >>conftest.$ac_ext <<_ACEOF
52645 /* end confdefs.h. */
52646 #include <math.h>
52647 #ifdef HAVE_IEEEFP_H
52648 #include <ieeefp.h>
52649 #endif
52652 main ()
52654 finite(0);
52656 return 0;
52658 _ACEOF
52659 rm -f conftest.$ac_objext
52660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52661 (eval $ac_compile) 2>conftest.er1
52662 ac_status=$?
52663 grep -v '^ *+' conftest.er1 >conftest.err
52664 rm -f conftest.er1
52665 cat conftest.err >&5
52666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52667 (exit $ac_status); } &&
52668 { ac_try='test -z "$ac_cxx_werror_flag"
52669 || test ! -s conftest.err'
52670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52671 (eval $ac_try) 2>&5
52672 ac_status=$?
52673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52674 (exit $ac_status); }; } &&
52675 { ac_try='test -s conftest.$ac_objext'
52676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52677 (eval $ac_try) 2>&5
52678 ac_status=$?
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); }; }; then
52681 glibcxx_cv_func_finite_use=yes
52682 else
52683 echo "$as_me: failed program was:" >&5
52684 sed 's/^/| /' conftest.$ac_ext >&5
52686 glibcxx_cv_func_finite_use=no
52688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52689 ac_ext=c
52690 ac_cpp='$CPP $CPPFLAGS'
52691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
52700 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
52702 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52704 for ac_func in finite
52706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52707 echo "$as_me:$LINENO: checking for $ac_func" >&5
52708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52709 if eval "test \"\${$as_ac_var+set}\" = set"; then
52710 echo $ECHO_N "(cached) $ECHO_C" >&6
52711 else
52712 if test x$gcc_no_link = xyes; then
52713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52715 { (exit 1); exit 1; }; }
52717 cat >conftest.$ac_ext <<_ACEOF
52718 /* confdefs.h. */
52719 _ACEOF
52720 cat confdefs.h >>conftest.$ac_ext
52721 cat >>conftest.$ac_ext <<_ACEOF
52722 /* end confdefs.h. */
52723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52725 #define $ac_func innocuous_$ac_func
52727 /* System header to define __stub macros and hopefully few prototypes,
52728 which can conflict with char $ac_func (); below.
52729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52730 <limits.h> exists even on freestanding compilers. */
52732 #ifdef __STDC__
52733 # include <limits.h>
52734 #else
52735 # include <assert.h>
52736 #endif
52738 #undef $ac_func
52740 /* Override any gcc2 internal prototype to avoid an error. */
52741 #ifdef __cplusplus
52742 extern "C"
52744 #endif
52745 /* We use char because int might match the return type of a gcc2
52746 builtin and then its argument prototype would still apply. */
52747 char $ac_func ();
52748 /* The GNU C library defines this for functions which it implements
52749 to always fail with ENOSYS. Some functions are actually named
52750 something starting with __ and the normal name is an alias. */
52751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52752 choke me
52753 #else
52754 char (*f) () = $ac_func;
52755 #endif
52756 #ifdef __cplusplus
52758 #endif
52761 main ()
52763 return f != $ac_func;
52765 return 0;
52767 _ACEOF
52768 rm -f conftest.$ac_objext conftest$ac_exeext
52769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52770 (eval $ac_link) 2>conftest.er1
52771 ac_status=$?
52772 grep -v '^ *+' conftest.er1 >conftest.err
52773 rm -f conftest.er1
52774 cat conftest.err >&5
52775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52776 (exit $ac_status); } &&
52777 { ac_try='test -z "$ac_c_werror_flag"
52778 || test ! -s conftest.err'
52779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52780 (eval $ac_try) 2>&5
52781 ac_status=$?
52782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52783 (exit $ac_status); }; } &&
52784 { ac_try='test -s conftest$ac_exeext'
52785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52786 (eval $ac_try) 2>&5
52787 ac_status=$?
52788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789 (exit $ac_status); }; }; then
52790 eval "$as_ac_var=yes"
52791 else
52792 echo "$as_me: failed program was:" >&5
52793 sed 's/^/| /' conftest.$ac_ext >&5
52795 eval "$as_ac_var=no"
52797 rm -f conftest.err conftest.$ac_objext \
52798 conftest$ac_exeext conftest.$ac_ext
52800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52802 if test `eval echo '${'$as_ac_var'}'` = yes; then
52803 cat >>confdefs.h <<_ACEOF
52804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52805 _ACEOF
52808 done
52810 else
52812 echo "$as_me:$LINENO: checking for _finite declaration" >&5
52813 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
52814 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52815 if test "${glibcxx_cv_func__finite_use+set}" = set; then
52816 echo $ECHO_N "(cached) $ECHO_C" >&6
52817 else
52821 ac_ext=cc
52822 ac_cpp='$CXXCPP $CPPFLAGS'
52823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52827 cat >conftest.$ac_ext <<_ACEOF
52828 /* confdefs.h. */
52829 _ACEOF
52830 cat confdefs.h >>conftest.$ac_ext
52831 cat >>conftest.$ac_ext <<_ACEOF
52832 /* end confdefs.h. */
52833 #include <math.h>
52834 #ifdef HAVE_IEEEFP_H
52835 #include <ieeefp.h>
52836 #endif
52839 main ()
52841 _finite(0);
52843 return 0;
52845 _ACEOF
52846 rm -f conftest.$ac_objext
52847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52848 (eval $ac_compile) 2>conftest.er1
52849 ac_status=$?
52850 grep -v '^ *+' conftest.er1 >conftest.err
52851 rm -f conftest.er1
52852 cat conftest.err >&5
52853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52854 (exit $ac_status); } &&
52855 { ac_try='test -z "$ac_cxx_werror_flag"
52856 || test ! -s conftest.err'
52857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52858 (eval $ac_try) 2>&5
52859 ac_status=$?
52860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52861 (exit $ac_status); }; } &&
52862 { ac_try='test -s conftest.$ac_objext'
52863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52864 (eval $ac_try) 2>&5
52865 ac_status=$?
52866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52867 (exit $ac_status); }; }; then
52868 glibcxx_cv_func__finite_use=yes
52869 else
52870 echo "$as_me: failed program was:" >&5
52871 sed 's/^/| /' conftest.$ac_ext >&5
52873 glibcxx_cv_func__finite_use=no
52875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52876 ac_ext=c
52877 ac_cpp='$CPP $CPPFLAGS'
52878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
52887 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
52889 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52891 for ac_func in _finite
52893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52894 echo "$as_me:$LINENO: checking for $ac_func" >&5
52895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52896 if eval "test \"\${$as_ac_var+set}\" = set"; then
52897 echo $ECHO_N "(cached) $ECHO_C" >&6
52898 else
52899 if test x$gcc_no_link = xyes; then
52900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52902 { (exit 1); exit 1; }; }
52904 cat >conftest.$ac_ext <<_ACEOF
52905 /* confdefs.h. */
52906 _ACEOF
52907 cat confdefs.h >>conftest.$ac_ext
52908 cat >>conftest.$ac_ext <<_ACEOF
52909 /* end confdefs.h. */
52910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52912 #define $ac_func innocuous_$ac_func
52914 /* System header to define __stub macros and hopefully few prototypes,
52915 which can conflict with char $ac_func (); below.
52916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52917 <limits.h> exists even on freestanding compilers. */
52919 #ifdef __STDC__
52920 # include <limits.h>
52921 #else
52922 # include <assert.h>
52923 #endif
52925 #undef $ac_func
52927 /* Override any gcc2 internal prototype to avoid an error. */
52928 #ifdef __cplusplus
52929 extern "C"
52931 #endif
52932 /* We use char because int might match the return type of a gcc2
52933 builtin and then its argument prototype would still apply. */
52934 char $ac_func ();
52935 /* The GNU C library defines this for functions which it implements
52936 to always fail with ENOSYS. Some functions are actually named
52937 something starting with __ and the normal name is an alias. */
52938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52939 choke me
52940 #else
52941 char (*f) () = $ac_func;
52942 #endif
52943 #ifdef __cplusplus
52945 #endif
52948 main ()
52950 return f != $ac_func;
52952 return 0;
52954 _ACEOF
52955 rm -f conftest.$ac_objext conftest$ac_exeext
52956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52957 (eval $ac_link) 2>conftest.er1
52958 ac_status=$?
52959 grep -v '^ *+' conftest.er1 >conftest.err
52960 rm -f conftest.er1
52961 cat conftest.err >&5
52962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52963 (exit $ac_status); } &&
52964 { ac_try='test -z "$ac_c_werror_flag"
52965 || test ! -s conftest.err'
52966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52967 (eval $ac_try) 2>&5
52968 ac_status=$?
52969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52970 (exit $ac_status); }; } &&
52971 { ac_try='test -s conftest$ac_exeext'
52972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973 (eval $ac_try) 2>&5
52974 ac_status=$?
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); }; }; then
52977 eval "$as_ac_var=yes"
52978 else
52979 echo "$as_me: failed program was:" >&5
52980 sed 's/^/| /' conftest.$ac_ext >&5
52982 eval "$as_ac_var=no"
52984 rm -f conftest.err conftest.$ac_objext \
52985 conftest$ac_exeext conftest.$ac_ext
52987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52989 if test `eval echo '${'$as_ac_var'}'` = yes; then
52990 cat >>confdefs.h <<_ACEOF
52991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52992 _ACEOF
52995 done
53002 echo "$as_me:$LINENO: checking for copysign declaration" >&5
53003 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
53004 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
53005 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
53006 echo $ECHO_N "(cached) $ECHO_C" >&6
53007 else
53011 ac_ext=cc
53012 ac_cpp='$CXXCPP $CPPFLAGS'
53013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53017 cat >conftest.$ac_ext <<_ACEOF
53018 /* confdefs.h. */
53019 _ACEOF
53020 cat confdefs.h >>conftest.$ac_ext
53021 cat >>conftest.$ac_ext <<_ACEOF
53022 /* end confdefs.h. */
53023 #include <math.h>
53025 main ()
53027 copysign(0, 0);
53029 return 0;
53031 _ACEOF
53032 rm -f conftest.$ac_objext
53033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53034 (eval $ac_compile) 2>conftest.er1
53035 ac_status=$?
53036 grep -v '^ *+' conftest.er1 >conftest.err
53037 rm -f conftest.er1
53038 cat conftest.err >&5
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); } &&
53041 { ac_try='test -z "$ac_cxx_werror_flag"
53042 || test ! -s conftest.err'
53043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044 (eval $ac_try) 2>&5
53045 ac_status=$?
53046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047 (exit $ac_status); }; } &&
53048 { ac_try='test -s conftest.$ac_objext'
53049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53050 (eval $ac_try) 2>&5
53051 ac_status=$?
53052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053 (exit $ac_status); }; }; then
53054 glibcxx_cv_func_copysign_use=yes
53055 else
53056 echo "$as_me: failed program was:" >&5
53057 sed 's/^/| /' conftest.$ac_ext >&5
53059 glibcxx_cv_func_copysign_use=no
53061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53062 ac_ext=c
53063 ac_cpp='$CPP $CPPFLAGS'
53064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
53073 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
53075 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
53077 for ac_func in copysign
53079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53080 echo "$as_me:$LINENO: checking for $ac_func" >&5
53081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53082 if eval "test \"\${$as_ac_var+set}\" = set"; then
53083 echo $ECHO_N "(cached) $ECHO_C" >&6
53084 else
53085 if test x$gcc_no_link = xyes; then
53086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53088 { (exit 1); exit 1; }; }
53090 cat >conftest.$ac_ext <<_ACEOF
53091 /* confdefs.h. */
53092 _ACEOF
53093 cat confdefs.h >>conftest.$ac_ext
53094 cat >>conftest.$ac_ext <<_ACEOF
53095 /* end confdefs.h. */
53096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53098 #define $ac_func innocuous_$ac_func
53100 /* System header to define __stub macros and hopefully few prototypes,
53101 which can conflict with char $ac_func (); below.
53102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53103 <limits.h> exists even on freestanding compilers. */
53105 #ifdef __STDC__
53106 # include <limits.h>
53107 #else
53108 # include <assert.h>
53109 #endif
53111 #undef $ac_func
53113 /* Override any gcc2 internal prototype to avoid an error. */
53114 #ifdef __cplusplus
53115 extern "C"
53117 #endif
53118 /* We use char because int might match the return type of a gcc2
53119 builtin and then its argument prototype would still apply. */
53120 char $ac_func ();
53121 /* The GNU C library defines this for functions which it implements
53122 to always fail with ENOSYS. Some functions are actually named
53123 something starting with __ and the normal name is an alias. */
53124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53125 choke me
53126 #else
53127 char (*f) () = $ac_func;
53128 #endif
53129 #ifdef __cplusplus
53131 #endif
53134 main ()
53136 return f != $ac_func;
53138 return 0;
53140 _ACEOF
53141 rm -f conftest.$ac_objext conftest$ac_exeext
53142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53143 (eval $ac_link) 2>conftest.er1
53144 ac_status=$?
53145 grep -v '^ *+' conftest.er1 >conftest.err
53146 rm -f conftest.er1
53147 cat conftest.err >&5
53148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149 (exit $ac_status); } &&
53150 { ac_try='test -z "$ac_c_werror_flag"
53151 || test ! -s conftest.err'
53152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53153 (eval $ac_try) 2>&5
53154 ac_status=$?
53155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53156 (exit $ac_status); }; } &&
53157 { ac_try='test -s conftest$ac_exeext'
53158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53159 (eval $ac_try) 2>&5
53160 ac_status=$?
53161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53162 (exit $ac_status); }; }; then
53163 eval "$as_ac_var=yes"
53164 else
53165 echo "$as_me: failed program was:" >&5
53166 sed 's/^/| /' conftest.$ac_ext >&5
53168 eval "$as_ac_var=no"
53170 rm -f conftest.err conftest.$ac_objext \
53171 conftest$ac_exeext conftest.$ac_ext
53173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53175 if test `eval echo '${'$as_ac_var'}'` = yes; then
53176 cat >>confdefs.h <<_ACEOF
53177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53178 _ACEOF
53181 done
53183 else
53185 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
53186 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
53187 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
53188 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
53189 echo $ECHO_N "(cached) $ECHO_C" >&6
53190 else
53194 ac_ext=cc
53195 ac_cpp='$CXXCPP $CPPFLAGS'
53196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53200 cat >conftest.$ac_ext <<_ACEOF
53201 /* confdefs.h. */
53202 _ACEOF
53203 cat confdefs.h >>conftest.$ac_ext
53204 cat >>conftest.$ac_ext <<_ACEOF
53205 /* end confdefs.h. */
53206 #include <math.h>
53208 main ()
53210 _copysign(0, 0);
53212 return 0;
53214 _ACEOF
53215 rm -f conftest.$ac_objext
53216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53217 (eval $ac_compile) 2>conftest.er1
53218 ac_status=$?
53219 grep -v '^ *+' conftest.er1 >conftest.err
53220 rm -f conftest.er1
53221 cat conftest.err >&5
53222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53223 (exit $ac_status); } &&
53224 { ac_try='test -z "$ac_cxx_werror_flag"
53225 || test ! -s conftest.err'
53226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53227 (eval $ac_try) 2>&5
53228 ac_status=$?
53229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53230 (exit $ac_status); }; } &&
53231 { ac_try='test -s conftest.$ac_objext'
53232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53233 (eval $ac_try) 2>&5
53234 ac_status=$?
53235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53236 (exit $ac_status); }; }; then
53237 glibcxx_cv_func__copysign_use=yes
53238 else
53239 echo "$as_me: failed program was:" >&5
53240 sed 's/^/| /' conftest.$ac_ext >&5
53242 glibcxx_cv_func__copysign_use=no
53244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53245 ac_ext=c
53246 ac_cpp='$CPP $CPPFLAGS'
53247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
53256 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
53258 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
53260 for ac_func in _copysign
53262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53263 echo "$as_me:$LINENO: checking for $ac_func" >&5
53264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53265 if eval "test \"\${$as_ac_var+set}\" = set"; then
53266 echo $ECHO_N "(cached) $ECHO_C" >&6
53267 else
53268 if test x$gcc_no_link = xyes; then
53269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53271 { (exit 1); exit 1; }; }
53273 cat >conftest.$ac_ext <<_ACEOF
53274 /* confdefs.h. */
53275 _ACEOF
53276 cat confdefs.h >>conftest.$ac_ext
53277 cat >>conftest.$ac_ext <<_ACEOF
53278 /* end confdefs.h. */
53279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53281 #define $ac_func innocuous_$ac_func
53283 /* System header to define __stub macros and hopefully few prototypes,
53284 which can conflict with char $ac_func (); below.
53285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53286 <limits.h> exists even on freestanding compilers. */
53288 #ifdef __STDC__
53289 # include <limits.h>
53290 #else
53291 # include <assert.h>
53292 #endif
53294 #undef $ac_func
53296 /* Override any gcc2 internal prototype to avoid an error. */
53297 #ifdef __cplusplus
53298 extern "C"
53300 #endif
53301 /* We use char because int might match the return type of a gcc2
53302 builtin and then its argument prototype would still apply. */
53303 char $ac_func ();
53304 /* The GNU C library defines this for functions which it implements
53305 to always fail with ENOSYS. Some functions are actually named
53306 something starting with __ and the normal name is an alias. */
53307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53308 choke me
53309 #else
53310 char (*f) () = $ac_func;
53311 #endif
53312 #ifdef __cplusplus
53314 #endif
53317 main ()
53319 return f != $ac_func;
53321 return 0;
53323 _ACEOF
53324 rm -f conftest.$ac_objext conftest$ac_exeext
53325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53326 (eval $ac_link) 2>conftest.er1
53327 ac_status=$?
53328 grep -v '^ *+' conftest.er1 >conftest.err
53329 rm -f conftest.er1
53330 cat conftest.err >&5
53331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53332 (exit $ac_status); } &&
53333 { ac_try='test -z "$ac_c_werror_flag"
53334 || test ! -s conftest.err'
53335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53336 (eval $ac_try) 2>&5
53337 ac_status=$?
53338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53339 (exit $ac_status); }; } &&
53340 { ac_try='test -s conftest$ac_exeext'
53341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53342 (eval $ac_try) 2>&5
53343 ac_status=$?
53344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53345 (exit $ac_status); }; }; then
53346 eval "$as_ac_var=yes"
53347 else
53348 echo "$as_me: failed program was:" >&5
53349 sed 's/^/| /' conftest.$ac_ext >&5
53351 eval "$as_ac_var=no"
53353 rm -f conftest.err conftest.$ac_objext \
53354 conftest$ac_exeext conftest.$ac_ext
53356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53358 if test `eval echo '${'$as_ac_var'}'` = yes; then
53359 cat >>confdefs.h <<_ACEOF
53360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53361 _ACEOF
53364 done
53371 echo "$as_me:$LINENO: checking for sincos declaration" >&5
53372 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
53373 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53374 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
53375 echo $ECHO_N "(cached) $ECHO_C" >&6
53376 else
53380 ac_ext=cc
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53386 cat >conftest.$ac_ext <<_ACEOF
53387 /* confdefs.h. */
53388 _ACEOF
53389 cat confdefs.h >>conftest.$ac_ext
53390 cat >>conftest.$ac_ext <<_ACEOF
53391 /* end confdefs.h. */
53392 #include <math.h>
53394 main ()
53396 sincos(0, 0, 0);
53398 return 0;
53400 _ACEOF
53401 rm -f conftest.$ac_objext
53402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53403 (eval $ac_compile) 2>conftest.er1
53404 ac_status=$?
53405 grep -v '^ *+' conftest.er1 >conftest.err
53406 rm -f conftest.er1
53407 cat conftest.err >&5
53408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409 (exit $ac_status); } &&
53410 { ac_try='test -z "$ac_cxx_werror_flag"
53411 || test ! -s conftest.err'
53412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53413 (eval $ac_try) 2>&5
53414 ac_status=$?
53415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53416 (exit $ac_status); }; } &&
53417 { ac_try='test -s conftest.$ac_objext'
53418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53419 (eval $ac_try) 2>&5
53420 ac_status=$?
53421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53422 (exit $ac_status); }; }; then
53423 glibcxx_cv_func_sincos_use=yes
53424 else
53425 echo "$as_me: failed program was:" >&5
53426 sed 's/^/| /' conftest.$ac_ext >&5
53428 glibcxx_cv_func_sincos_use=no
53430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53431 ac_ext=c
53432 ac_cpp='$CPP $CPPFLAGS'
53433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
53442 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
53444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53446 for ac_func in sincos
53448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53449 echo "$as_me:$LINENO: checking for $ac_func" >&5
53450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53451 if eval "test \"\${$as_ac_var+set}\" = set"; then
53452 echo $ECHO_N "(cached) $ECHO_C" >&6
53453 else
53454 if test x$gcc_no_link = xyes; then
53455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53457 { (exit 1); exit 1; }; }
53459 cat >conftest.$ac_ext <<_ACEOF
53460 /* confdefs.h. */
53461 _ACEOF
53462 cat confdefs.h >>conftest.$ac_ext
53463 cat >>conftest.$ac_ext <<_ACEOF
53464 /* end confdefs.h. */
53465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53467 #define $ac_func innocuous_$ac_func
53469 /* System header to define __stub macros and hopefully few prototypes,
53470 which can conflict with char $ac_func (); below.
53471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53472 <limits.h> exists even on freestanding compilers. */
53474 #ifdef __STDC__
53475 # include <limits.h>
53476 #else
53477 # include <assert.h>
53478 #endif
53480 #undef $ac_func
53482 /* Override any gcc2 internal prototype to avoid an error. */
53483 #ifdef __cplusplus
53484 extern "C"
53486 #endif
53487 /* We use char because int might match the return type of a gcc2
53488 builtin and then its argument prototype would still apply. */
53489 char $ac_func ();
53490 /* The GNU C library defines this for functions which it implements
53491 to always fail with ENOSYS. Some functions are actually named
53492 something starting with __ and the normal name is an alias. */
53493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53494 choke me
53495 #else
53496 char (*f) () = $ac_func;
53497 #endif
53498 #ifdef __cplusplus
53500 #endif
53503 main ()
53505 return f != $ac_func;
53507 return 0;
53509 _ACEOF
53510 rm -f conftest.$ac_objext conftest$ac_exeext
53511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53512 (eval $ac_link) 2>conftest.er1
53513 ac_status=$?
53514 grep -v '^ *+' conftest.er1 >conftest.err
53515 rm -f conftest.er1
53516 cat conftest.err >&5
53517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53518 (exit $ac_status); } &&
53519 { ac_try='test -z "$ac_c_werror_flag"
53520 || test ! -s conftest.err'
53521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53522 (eval $ac_try) 2>&5
53523 ac_status=$?
53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525 (exit $ac_status); }; } &&
53526 { ac_try='test -s conftest$ac_exeext'
53527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53528 (eval $ac_try) 2>&5
53529 ac_status=$?
53530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53531 (exit $ac_status); }; }; then
53532 eval "$as_ac_var=yes"
53533 else
53534 echo "$as_me: failed program was:" >&5
53535 sed 's/^/| /' conftest.$ac_ext >&5
53537 eval "$as_ac_var=no"
53539 rm -f conftest.err conftest.$ac_objext \
53540 conftest$ac_exeext conftest.$ac_ext
53542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53544 if test `eval echo '${'$as_ac_var'}'` = yes; then
53545 cat >>confdefs.h <<_ACEOF
53546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53547 _ACEOF
53550 done
53552 else
53554 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
53555 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
53556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
53558 echo $ECHO_N "(cached) $ECHO_C" >&6
53559 else
53563 ac_ext=cc
53564 ac_cpp='$CXXCPP $CPPFLAGS'
53565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569 cat >conftest.$ac_ext <<_ACEOF
53570 /* confdefs.h. */
53571 _ACEOF
53572 cat confdefs.h >>conftest.$ac_ext
53573 cat >>conftest.$ac_ext <<_ACEOF
53574 /* end confdefs.h. */
53575 #include <math.h>
53577 main ()
53579 _sincos(0, 0, 0);
53581 return 0;
53583 _ACEOF
53584 rm -f conftest.$ac_objext
53585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53586 (eval $ac_compile) 2>conftest.er1
53587 ac_status=$?
53588 grep -v '^ *+' conftest.er1 >conftest.err
53589 rm -f conftest.er1
53590 cat conftest.err >&5
53591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53592 (exit $ac_status); } &&
53593 { ac_try='test -z "$ac_cxx_werror_flag"
53594 || test ! -s conftest.err'
53595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53596 (eval $ac_try) 2>&5
53597 ac_status=$?
53598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53599 (exit $ac_status); }; } &&
53600 { ac_try='test -s conftest.$ac_objext'
53601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53602 (eval $ac_try) 2>&5
53603 ac_status=$?
53604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53605 (exit $ac_status); }; }; then
53606 glibcxx_cv_func__sincos_use=yes
53607 else
53608 echo "$as_me: failed program was:" >&5
53609 sed 's/^/| /' conftest.$ac_ext >&5
53611 glibcxx_cv_func__sincos_use=no
53613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53614 ac_ext=c
53615 ac_cpp='$CPP $CPPFLAGS'
53616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
53625 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
53627 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53629 for ac_func in _sincos
53631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53632 echo "$as_me:$LINENO: checking for $ac_func" >&5
53633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53634 if eval "test \"\${$as_ac_var+set}\" = set"; then
53635 echo $ECHO_N "(cached) $ECHO_C" >&6
53636 else
53637 if test x$gcc_no_link = xyes; then
53638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53640 { (exit 1); exit 1; }; }
53642 cat >conftest.$ac_ext <<_ACEOF
53643 /* confdefs.h. */
53644 _ACEOF
53645 cat confdefs.h >>conftest.$ac_ext
53646 cat >>conftest.$ac_ext <<_ACEOF
53647 /* end confdefs.h. */
53648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53650 #define $ac_func innocuous_$ac_func
53652 /* System header to define __stub macros and hopefully few prototypes,
53653 which can conflict with char $ac_func (); below.
53654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53655 <limits.h> exists even on freestanding compilers. */
53657 #ifdef __STDC__
53658 # include <limits.h>
53659 #else
53660 # include <assert.h>
53661 #endif
53663 #undef $ac_func
53665 /* Override any gcc2 internal prototype to avoid an error. */
53666 #ifdef __cplusplus
53667 extern "C"
53669 #endif
53670 /* We use char because int might match the return type of a gcc2
53671 builtin and then its argument prototype would still apply. */
53672 char $ac_func ();
53673 /* The GNU C library defines this for functions which it implements
53674 to always fail with ENOSYS. Some functions are actually named
53675 something starting with __ and the normal name is an alias. */
53676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53677 choke me
53678 #else
53679 char (*f) () = $ac_func;
53680 #endif
53681 #ifdef __cplusplus
53683 #endif
53686 main ()
53688 return f != $ac_func;
53690 return 0;
53692 _ACEOF
53693 rm -f conftest.$ac_objext conftest$ac_exeext
53694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53695 (eval $ac_link) 2>conftest.er1
53696 ac_status=$?
53697 grep -v '^ *+' conftest.er1 >conftest.err
53698 rm -f conftest.er1
53699 cat conftest.err >&5
53700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701 (exit $ac_status); } &&
53702 { ac_try='test -z "$ac_c_werror_flag"
53703 || test ! -s conftest.err'
53704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53705 (eval $ac_try) 2>&5
53706 ac_status=$?
53707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708 (exit $ac_status); }; } &&
53709 { ac_try='test -s conftest$ac_exeext'
53710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53711 (eval $ac_try) 2>&5
53712 ac_status=$?
53713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53714 (exit $ac_status); }; }; then
53715 eval "$as_ac_var=yes"
53716 else
53717 echo "$as_me: failed program was:" >&5
53718 sed 's/^/| /' conftest.$ac_ext >&5
53720 eval "$as_ac_var=no"
53722 rm -f conftest.err conftest.$ac_objext \
53723 conftest$ac_exeext conftest.$ac_ext
53725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53727 if test `eval echo '${'$as_ac_var'}'` = yes; then
53728 cat >>confdefs.h <<_ACEOF
53729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53730 _ACEOF
53733 done
53740 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
53741 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
53742 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53743 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
53744 echo $ECHO_N "(cached) $ECHO_C" >&6
53745 else
53749 ac_ext=cc
53750 ac_cpp='$CXXCPP $CPPFLAGS'
53751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53755 cat >conftest.$ac_ext <<_ACEOF
53756 /* confdefs.h. */
53757 _ACEOF
53758 cat confdefs.h >>conftest.$ac_ext
53759 cat >>conftest.$ac_ext <<_ACEOF
53760 /* end confdefs.h. */
53761 #include <math.h>
53762 #ifdef HAVE_IEEEFP_H
53763 #include <ieeefp.h>
53764 #endif
53767 main ()
53769 fpclass(0);
53771 return 0;
53773 _ACEOF
53774 rm -f conftest.$ac_objext
53775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53776 (eval $ac_compile) 2>conftest.er1
53777 ac_status=$?
53778 grep -v '^ *+' conftest.er1 >conftest.err
53779 rm -f conftest.er1
53780 cat conftest.err >&5
53781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782 (exit $ac_status); } &&
53783 { ac_try='test -z "$ac_cxx_werror_flag"
53784 || test ! -s conftest.err'
53785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53786 (eval $ac_try) 2>&5
53787 ac_status=$?
53788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53789 (exit $ac_status); }; } &&
53790 { ac_try='test -s conftest.$ac_objext'
53791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53792 (eval $ac_try) 2>&5
53793 ac_status=$?
53794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53795 (exit $ac_status); }; }; then
53796 glibcxx_cv_func_fpclass_use=yes
53797 else
53798 echo "$as_me: failed program was:" >&5
53799 sed 's/^/| /' conftest.$ac_ext >&5
53801 glibcxx_cv_func_fpclass_use=no
53803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53804 ac_ext=c
53805 ac_cpp='$CPP $CPPFLAGS'
53806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
53815 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
53817 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53819 for ac_func in fpclass
53821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53822 echo "$as_me:$LINENO: checking for $ac_func" >&5
53823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53824 if eval "test \"\${$as_ac_var+set}\" = set"; then
53825 echo $ECHO_N "(cached) $ECHO_C" >&6
53826 else
53827 if test x$gcc_no_link = xyes; then
53828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53830 { (exit 1); exit 1; }; }
53832 cat >conftest.$ac_ext <<_ACEOF
53833 /* confdefs.h. */
53834 _ACEOF
53835 cat confdefs.h >>conftest.$ac_ext
53836 cat >>conftest.$ac_ext <<_ACEOF
53837 /* end confdefs.h. */
53838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53840 #define $ac_func innocuous_$ac_func
53842 /* System header to define __stub macros and hopefully few prototypes,
53843 which can conflict with char $ac_func (); below.
53844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53845 <limits.h> exists even on freestanding compilers. */
53847 #ifdef __STDC__
53848 # include <limits.h>
53849 #else
53850 # include <assert.h>
53851 #endif
53853 #undef $ac_func
53855 /* Override any gcc2 internal prototype to avoid an error. */
53856 #ifdef __cplusplus
53857 extern "C"
53859 #endif
53860 /* We use char because int might match the return type of a gcc2
53861 builtin and then its argument prototype would still apply. */
53862 char $ac_func ();
53863 /* The GNU C library defines this for functions which it implements
53864 to always fail with ENOSYS. Some functions are actually named
53865 something starting with __ and the normal name is an alias. */
53866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53867 choke me
53868 #else
53869 char (*f) () = $ac_func;
53870 #endif
53871 #ifdef __cplusplus
53873 #endif
53876 main ()
53878 return f != $ac_func;
53880 return 0;
53882 _ACEOF
53883 rm -f conftest.$ac_objext conftest$ac_exeext
53884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53885 (eval $ac_link) 2>conftest.er1
53886 ac_status=$?
53887 grep -v '^ *+' conftest.er1 >conftest.err
53888 rm -f conftest.er1
53889 cat conftest.err >&5
53890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891 (exit $ac_status); } &&
53892 { ac_try='test -z "$ac_c_werror_flag"
53893 || test ! -s conftest.err'
53894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53895 (eval $ac_try) 2>&5
53896 ac_status=$?
53897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53898 (exit $ac_status); }; } &&
53899 { ac_try='test -s conftest$ac_exeext'
53900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53901 (eval $ac_try) 2>&5
53902 ac_status=$?
53903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53904 (exit $ac_status); }; }; then
53905 eval "$as_ac_var=yes"
53906 else
53907 echo "$as_me: failed program was:" >&5
53908 sed 's/^/| /' conftest.$ac_ext >&5
53910 eval "$as_ac_var=no"
53912 rm -f conftest.err conftest.$ac_objext \
53913 conftest$ac_exeext conftest.$ac_ext
53915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53917 if test `eval echo '${'$as_ac_var'}'` = yes; then
53918 cat >>confdefs.h <<_ACEOF
53919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53920 _ACEOF
53923 done
53925 else
53927 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
53928 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
53929 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53930 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
53931 echo $ECHO_N "(cached) $ECHO_C" >&6
53932 else
53936 ac_ext=cc
53937 ac_cpp='$CXXCPP $CPPFLAGS'
53938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53942 cat >conftest.$ac_ext <<_ACEOF
53943 /* confdefs.h. */
53944 _ACEOF
53945 cat confdefs.h >>conftest.$ac_ext
53946 cat >>conftest.$ac_ext <<_ACEOF
53947 /* end confdefs.h. */
53948 #include <math.h>
53949 #ifdef HAVE_IEEEFP_H
53950 #include <ieeefp.h>
53951 #endif
53954 main ()
53956 _fpclass(0);
53958 return 0;
53960 _ACEOF
53961 rm -f conftest.$ac_objext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53963 (eval $ac_compile) 2>conftest.er1
53964 ac_status=$?
53965 grep -v '^ *+' conftest.er1 >conftest.err
53966 rm -f conftest.er1
53967 cat conftest.err >&5
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); } &&
53970 { ac_try='test -z "$ac_cxx_werror_flag"
53971 || test ! -s conftest.err'
53972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973 (eval $ac_try) 2>&5
53974 ac_status=$?
53975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976 (exit $ac_status); }; } &&
53977 { ac_try='test -s conftest.$ac_objext'
53978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979 (eval $ac_try) 2>&5
53980 ac_status=$?
53981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982 (exit $ac_status); }; }; then
53983 glibcxx_cv_func__fpclass_use=yes
53984 else
53985 echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53988 glibcxx_cv_func__fpclass_use=no
53990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
54002 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
54004 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54006 for ac_func in _fpclass
54008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54009 echo "$as_me:$LINENO: checking for $ac_func" >&5
54010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54011 if eval "test \"\${$as_ac_var+set}\" = set"; then
54012 echo $ECHO_N "(cached) $ECHO_C" >&6
54013 else
54014 if test x$gcc_no_link = xyes; then
54015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54017 { (exit 1); exit 1; }; }
54019 cat >conftest.$ac_ext <<_ACEOF
54020 /* confdefs.h. */
54021 _ACEOF
54022 cat confdefs.h >>conftest.$ac_ext
54023 cat >>conftest.$ac_ext <<_ACEOF
54024 /* end confdefs.h. */
54025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54027 #define $ac_func innocuous_$ac_func
54029 /* System header to define __stub macros and hopefully few prototypes,
54030 which can conflict with char $ac_func (); below.
54031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54032 <limits.h> exists even on freestanding compilers. */
54034 #ifdef __STDC__
54035 # include <limits.h>
54036 #else
54037 # include <assert.h>
54038 #endif
54040 #undef $ac_func
54042 /* Override any gcc2 internal prototype to avoid an error. */
54043 #ifdef __cplusplus
54044 extern "C"
54046 #endif
54047 /* We use char because int might match the return type of a gcc2
54048 builtin and then its argument prototype would still apply. */
54049 char $ac_func ();
54050 /* The GNU C library defines this for functions which it implements
54051 to always fail with ENOSYS. Some functions are actually named
54052 something starting with __ and the normal name is an alias. */
54053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54054 choke me
54055 #else
54056 char (*f) () = $ac_func;
54057 #endif
54058 #ifdef __cplusplus
54060 #endif
54063 main ()
54065 return f != $ac_func;
54067 return 0;
54069 _ACEOF
54070 rm -f conftest.$ac_objext conftest$ac_exeext
54071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54072 (eval $ac_link) 2>conftest.er1
54073 ac_status=$?
54074 grep -v '^ *+' conftest.er1 >conftest.err
54075 rm -f conftest.er1
54076 cat conftest.err >&5
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); } &&
54079 { ac_try='test -z "$ac_c_werror_flag"
54080 || test ! -s conftest.err'
54081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54082 (eval $ac_try) 2>&5
54083 ac_status=$?
54084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54085 (exit $ac_status); }; } &&
54086 { ac_try='test -s conftest$ac_exeext'
54087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54088 (eval $ac_try) 2>&5
54089 ac_status=$?
54090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091 (exit $ac_status); }; }; then
54092 eval "$as_ac_var=yes"
54093 else
54094 echo "$as_me: failed program was:" >&5
54095 sed 's/^/| /' conftest.$ac_ext >&5
54097 eval "$as_ac_var=no"
54099 rm -f conftest.err conftest.$ac_objext \
54100 conftest$ac_exeext conftest.$ac_ext
54102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54104 if test `eval echo '${'$as_ac_var'}'` = yes; then
54105 cat >>confdefs.h <<_ACEOF
54106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54107 _ACEOF
54110 done
54117 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
54118 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
54119 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54120 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
54121 echo $ECHO_N "(cached) $ECHO_C" >&6
54122 else
54126 ac_ext=cc
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54132 cat >conftest.$ac_ext <<_ACEOF
54133 /* confdefs.h. */
54134 _ACEOF
54135 cat confdefs.h >>conftest.$ac_ext
54136 cat >>conftest.$ac_ext <<_ACEOF
54137 /* end confdefs.h. */
54138 #include <math.h>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54144 main ()
54146 qfpclass(0);
54148 return 0;
54150 _ACEOF
54151 rm -f conftest.$ac_objext
54152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54153 (eval $ac_compile) 2>conftest.er1
54154 ac_status=$?
54155 grep -v '^ *+' conftest.er1 >conftest.err
54156 rm -f conftest.er1
54157 cat conftest.err >&5
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); } &&
54160 { ac_try='test -z "$ac_cxx_werror_flag"
54161 || test ! -s conftest.err'
54162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54163 (eval $ac_try) 2>&5
54164 ac_status=$?
54165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54166 (exit $ac_status); }; } &&
54167 { ac_try='test -s conftest.$ac_objext'
54168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54169 (eval $ac_try) 2>&5
54170 ac_status=$?
54171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172 (exit $ac_status); }; }; then
54173 glibcxx_cv_func_qfpclass_use=yes
54174 else
54175 echo "$as_me: failed program was:" >&5
54176 sed 's/^/| /' conftest.$ac_ext >&5
54178 glibcxx_cv_func_qfpclass_use=no
54180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54191 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
54192 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
54194 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54196 for ac_func in qfpclass
54198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54199 echo "$as_me:$LINENO: checking for $ac_func" >&5
54200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54201 if eval "test \"\${$as_ac_var+set}\" = set"; then
54202 echo $ECHO_N "(cached) $ECHO_C" >&6
54203 else
54204 if test x$gcc_no_link = xyes; then
54205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54207 { (exit 1); exit 1; }; }
54209 cat >conftest.$ac_ext <<_ACEOF
54210 /* confdefs.h. */
54211 _ACEOF
54212 cat confdefs.h >>conftest.$ac_ext
54213 cat >>conftest.$ac_ext <<_ACEOF
54214 /* end confdefs.h. */
54215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54217 #define $ac_func innocuous_$ac_func
54219 /* System header to define __stub macros and hopefully few prototypes,
54220 which can conflict with char $ac_func (); below.
54221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54222 <limits.h> exists even on freestanding compilers. */
54224 #ifdef __STDC__
54225 # include <limits.h>
54226 #else
54227 # include <assert.h>
54228 #endif
54230 #undef $ac_func
54232 /* Override any gcc2 internal prototype to avoid an error. */
54233 #ifdef __cplusplus
54234 extern "C"
54236 #endif
54237 /* We use char because int might match the return type of a gcc2
54238 builtin and then its argument prototype would still apply. */
54239 char $ac_func ();
54240 /* The GNU C library defines this for functions which it implements
54241 to always fail with ENOSYS. Some functions are actually named
54242 something starting with __ and the normal name is an alias. */
54243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54244 choke me
54245 #else
54246 char (*f) () = $ac_func;
54247 #endif
54248 #ifdef __cplusplus
54250 #endif
54253 main ()
54255 return f != $ac_func;
54257 return 0;
54259 _ACEOF
54260 rm -f conftest.$ac_objext conftest$ac_exeext
54261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54262 (eval $ac_link) 2>conftest.er1
54263 ac_status=$?
54264 grep -v '^ *+' conftest.er1 >conftest.err
54265 rm -f conftest.er1
54266 cat conftest.err >&5
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); } &&
54269 { ac_try='test -z "$ac_c_werror_flag"
54270 || test ! -s conftest.err'
54271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54272 (eval $ac_try) 2>&5
54273 ac_status=$?
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); }; } &&
54276 { ac_try='test -s conftest$ac_exeext'
54277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54278 (eval $ac_try) 2>&5
54279 ac_status=$?
54280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54281 (exit $ac_status); }; }; then
54282 eval "$as_ac_var=yes"
54283 else
54284 echo "$as_me: failed program was:" >&5
54285 sed 's/^/| /' conftest.$ac_ext >&5
54287 eval "$as_ac_var=no"
54289 rm -f conftest.err conftest.$ac_objext \
54290 conftest$ac_exeext conftest.$ac_ext
54292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54294 if test `eval echo '${'$as_ac_var'}'` = yes; then
54295 cat >>confdefs.h <<_ACEOF
54296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54297 _ACEOF
54300 done
54302 else
54304 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
54305 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
54306 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54307 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
54308 echo $ECHO_N "(cached) $ECHO_C" >&6
54309 else
54313 ac_ext=cc
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319 cat >conftest.$ac_ext <<_ACEOF
54320 /* confdefs.h. */
54321 _ACEOF
54322 cat confdefs.h >>conftest.$ac_ext
54323 cat >>conftest.$ac_ext <<_ACEOF
54324 /* end confdefs.h. */
54325 #include <math.h>
54326 #ifdef HAVE_IEEEFP_H
54327 #include <ieeefp.h>
54328 #endif
54331 main ()
54333 _qfpclass(0);
54335 return 0;
54337 _ACEOF
54338 rm -f conftest.$ac_objext
54339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54340 (eval $ac_compile) 2>conftest.er1
54341 ac_status=$?
54342 grep -v '^ *+' conftest.er1 >conftest.err
54343 rm -f conftest.er1
54344 cat conftest.err >&5
54345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54346 (exit $ac_status); } &&
54347 { ac_try='test -z "$ac_cxx_werror_flag"
54348 || test ! -s conftest.err'
54349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54350 (eval $ac_try) 2>&5
54351 ac_status=$?
54352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54353 (exit $ac_status); }; } &&
54354 { ac_try='test -s conftest.$ac_objext'
54355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54356 (eval $ac_try) 2>&5
54357 ac_status=$?
54358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54359 (exit $ac_status); }; }; then
54360 glibcxx_cv_func__qfpclass_use=yes
54361 else
54362 echo "$as_me: failed program was:" >&5
54363 sed 's/^/| /' conftest.$ac_ext >&5
54365 glibcxx_cv_func__qfpclass_use=no
54367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54368 ac_ext=c
54369 ac_cpp='$CPP $CPPFLAGS'
54370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
54379 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
54381 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54383 for ac_func in _qfpclass
54385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54386 echo "$as_me:$LINENO: checking for $ac_func" >&5
54387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54388 if eval "test \"\${$as_ac_var+set}\" = set"; then
54389 echo $ECHO_N "(cached) $ECHO_C" >&6
54390 else
54391 if test x$gcc_no_link = xyes; then
54392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54394 { (exit 1); exit 1; }; }
54396 cat >conftest.$ac_ext <<_ACEOF
54397 /* confdefs.h. */
54398 _ACEOF
54399 cat confdefs.h >>conftest.$ac_ext
54400 cat >>conftest.$ac_ext <<_ACEOF
54401 /* end confdefs.h. */
54402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54404 #define $ac_func innocuous_$ac_func
54406 /* System header to define __stub macros and hopefully few prototypes,
54407 which can conflict with char $ac_func (); below.
54408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54409 <limits.h> exists even on freestanding compilers. */
54411 #ifdef __STDC__
54412 # include <limits.h>
54413 #else
54414 # include <assert.h>
54415 #endif
54417 #undef $ac_func
54419 /* Override any gcc2 internal prototype to avoid an error. */
54420 #ifdef __cplusplus
54421 extern "C"
54423 #endif
54424 /* We use char because int might match the return type of a gcc2
54425 builtin and then its argument prototype would still apply. */
54426 char $ac_func ();
54427 /* The GNU C library defines this for functions which it implements
54428 to always fail with ENOSYS. Some functions are actually named
54429 something starting with __ and the normal name is an alias. */
54430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54431 choke me
54432 #else
54433 char (*f) () = $ac_func;
54434 #endif
54435 #ifdef __cplusplus
54437 #endif
54440 main ()
54442 return f != $ac_func;
54444 return 0;
54446 _ACEOF
54447 rm -f conftest.$ac_objext conftest$ac_exeext
54448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54449 (eval $ac_link) 2>conftest.er1
54450 ac_status=$?
54451 grep -v '^ *+' conftest.er1 >conftest.err
54452 rm -f conftest.er1
54453 cat conftest.err >&5
54454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54455 (exit $ac_status); } &&
54456 { ac_try='test -z "$ac_c_werror_flag"
54457 || test ! -s conftest.err'
54458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54459 (eval $ac_try) 2>&5
54460 ac_status=$?
54461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54462 (exit $ac_status); }; } &&
54463 { ac_try='test -s conftest$ac_exeext'
54464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54465 (eval $ac_try) 2>&5
54466 ac_status=$?
54467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54468 (exit $ac_status); }; }; then
54469 eval "$as_ac_var=yes"
54470 else
54471 echo "$as_me: failed program was:" >&5
54472 sed 's/^/| /' conftest.$ac_ext >&5
54474 eval "$as_ac_var=no"
54476 rm -f conftest.err conftest.$ac_objext \
54477 conftest$ac_exeext conftest.$ac_ext
54479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54481 if test `eval echo '${'$as_ac_var'}'` = yes; then
54482 cat >>confdefs.h <<_ACEOF
54483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54484 _ACEOF
54487 done
54494 echo "$as_me:$LINENO: checking for hypot declaration" >&5
54495 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
54496 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54497 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
54498 echo $ECHO_N "(cached) $ECHO_C" >&6
54499 else
54503 ac_ext=cc
54504 ac_cpp='$CXXCPP $CPPFLAGS'
54505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54509 cat >conftest.$ac_ext <<_ACEOF
54510 /* confdefs.h. */
54511 _ACEOF
54512 cat confdefs.h >>conftest.$ac_ext
54513 cat >>conftest.$ac_ext <<_ACEOF
54514 /* end confdefs.h. */
54515 #include <math.h>
54517 main ()
54519 hypot(0, 0);
54521 return 0;
54523 _ACEOF
54524 rm -f conftest.$ac_objext
54525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54526 (eval $ac_compile) 2>conftest.er1
54527 ac_status=$?
54528 grep -v '^ *+' conftest.er1 >conftest.err
54529 rm -f conftest.er1
54530 cat conftest.err >&5
54531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54532 (exit $ac_status); } &&
54533 { ac_try='test -z "$ac_cxx_werror_flag"
54534 || test ! -s conftest.err'
54535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54536 (eval $ac_try) 2>&5
54537 ac_status=$?
54538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54539 (exit $ac_status); }; } &&
54540 { ac_try='test -s conftest.$ac_objext'
54541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54542 (eval $ac_try) 2>&5
54543 ac_status=$?
54544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545 (exit $ac_status); }; }; then
54546 glibcxx_cv_func_hypot_use=yes
54547 else
54548 echo "$as_me: failed program was:" >&5
54549 sed 's/^/| /' conftest.$ac_ext >&5
54551 glibcxx_cv_func_hypot_use=no
54553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54554 ac_ext=c
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
54565 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
54567 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54569 for ac_func in hypot
54571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54572 echo "$as_me:$LINENO: checking for $ac_func" >&5
54573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54574 if eval "test \"\${$as_ac_var+set}\" = set"; then
54575 echo $ECHO_N "(cached) $ECHO_C" >&6
54576 else
54577 if test x$gcc_no_link = xyes; then
54578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54580 { (exit 1); exit 1; }; }
54582 cat >conftest.$ac_ext <<_ACEOF
54583 /* confdefs.h. */
54584 _ACEOF
54585 cat confdefs.h >>conftest.$ac_ext
54586 cat >>conftest.$ac_ext <<_ACEOF
54587 /* end confdefs.h. */
54588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54590 #define $ac_func innocuous_$ac_func
54592 /* System header to define __stub macros and hopefully few prototypes,
54593 which can conflict with char $ac_func (); below.
54594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54595 <limits.h> exists even on freestanding compilers. */
54597 #ifdef __STDC__
54598 # include <limits.h>
54599 #else
54600 # include <assert.h>
54601 #endif
54603 #undef $ac_func
54605 /* Override any gcc2 internal prototype to avoid an error. */
54606 #ifdef __cplusplus
54607 extern "C"
54609 #endif
54610 /* We use char because int might match the return type of a gcc2
54611 builtin and then its argument prototype would still apply. */
54612 char $ac_func ();
54613 /* The GNU C library defines this for functions which it implements
54614 to always fail with ENOSYS. Some functions are actually named
54615 something starting with __ and the normal name is an alias. */
54616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54617 choke me
54618 #else
54619 char (*f) () = $ac_func;
54620 #endif
54621 #ifdef __cplusplus
54623 #endif
54626 main ()
54628 return f != $ac_func;
54630 return 0;
54632 _ACEOF
54633 rm -f conftest.$ac_objext conftest$ac_exeext
54634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54635 (eval $ac_link) 2>conftest.er1
54636 ac_status=$?
54637 grep -v '^ *+' conftest.er1 >conftest.err
54638 rm -f conftest.er1
54639 cat conftest.err >&5
54640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54641 (exit $ac_status); } &&
54642 { ac_try='test -z "$ac_c_werror_flag"
54643 || test ! -s conftest.err'
54644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54645 (eval $ac_try) 2>&5
54646 ac_status=$?
54647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54648 (exit $ac_status); }; } &&
54649 { ac_try='test -s conftest$ac_exeext'
54650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54651 (eval $ac_try) 2>&5
54652 ac_status=$?
54653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654 (exit $ac_status); }; }; then
54655 eval "$as_ac_var=yes"
54656 else
54657 echo "$as_me: failed program was:" >&5
54658 sed 's/^/| /' conftest.$ac_ext >&5
54660 eval "$as_ac_var=no"
54662 rm -f conftest.err conftest.$ac_objext \
54663 conftest$ac_exeext conftest.$ac_ext
54665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54667 if test `eval echo '${'$as_ac_var'}'` = yes; then
54668 cat >>confdefs.h <<_ACEOF
54669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54670 _ACEOF
54673 done
54675 else
54677 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
54678 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
54679 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54680 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
54681 echo $ECHO_N "(cached) $ECHO_C" >&6
54682 else
54686 ac_ext=cc
54687 ac_cpp='$CXXCPP $CPPFLAGS'
54688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54692 cat >conftest.$ac_ext <<_ACEOF
54693 /* confdefs.h. */
54694 _ACEOF
54695 cat confdefs.h >>conftest.$ac_ext
54696 cat >>conftest.$ac_ext <<_ACEOF
54697 /* end confdefs.h. */
54698 #include <math.h>
54700 main ()
54702 _hypot(0, 0);
54704 return 0;
54706 _ACEOF
54707 rm -f conftest.$ac_objext
54708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54709 (eval $ac_compile) 2>conftest.er1
54710 ac_status=$?
54711 grep -v '^ *+' conftest.er1 >conftest.err
54712 rm -f conftest.er1
54713 cat conftest.err >&5
54714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715 (exit $ac_status); } &&
54716 { ac_try='test -z "$ac_cxx_werror_flag"
54717 || test ! -s conftest.err'
54718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54719 (eval $ac_try) 2>&5
54720 ac_status=$?
54721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54722 (exit $ac_status); }; } &&
54723 { ac_try='test -s conftest.$ac_objext'
54724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725 (eval $ac_try) 2>&5
54726 ac_status=$?
54727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728 (exit $ac_status); }; }; then
54729 glibcxx_cv_func__hypot_use=yes
54730 else
54731 echo "$as_me: failed program was:" >&5
54732 sed 's/^/| /' conftest.$ac_ext >&5
54734 glibcxx_cv_func__hypot_use=no
54736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54737 ac_ext=c
54738 ac_cpp='$CPP $CPPFLAGS'
54739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
54748 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
54750 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54752 for ac_func in _hypot
54754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54755 echo "$as_me:$LINENO: checking for $ac_func" >&5
54756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54757 if eval "test \"\${$as_ac_var+set}\" = set"; then
54758 echo $ECHO_N "(cached) $ECHO_C" >&6
54759 else
54760 if test x$gcc_no_link = xyes; then
54761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54763 { (exit 1); exit 1; }; }
54765 cat >conftest.$ac_ext <<_ACEOF
54766 /* confdefs.h. */
54767 _ACEOF
54768 cat confdefs.h >>conftest.$ac_ext
54769 cat >>conftest.$ac_ext <<_ACEOF
54770 /* end confdefs.h. */
54771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54773 #define $ac_func innocuous_$ac_func
54775 /* System header to define __stub macros and hopefully few prototypes,
54776 which can conflict with char $ac_func (); below.
54777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54778 <limits.h> exists even on freestanding compilers. */
54780 #ifdef __STDC__
54781 # include <limits.h>
54782 #else
54783 # include <assert.h>
54784 #endif
54786 #undef $ac_func
54788 /* Override any gcc2 internal prototype to avoid an error. */
54789 #ifdef __cplusplus
54790 extern "C"
54792 #endif
54793 /* We use char because int might match the return type of a gcc2
54794 builtin and then its argument prototype would still apply. */
54795 char $ac_func ();
54796 /* The GNU C library defines this for functions which it implements
54797 to always fail with ENOSYS. Some functions are actually named
54798 something starting with __ and the normal name is an alias. */
54799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54800 choke me
54801 #else
54802 char (*f) () = $ac_func;
54803 #endif
54804 #ifdef __cplusplus
54806 #endif
54809 main ()
54811 return f != $ac_func;
54813 return 0;
54815 _ACEOF
54816 rm -f conftest.$ac_objext conftest$ac_exeext
54817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54818 (eval $ac_link) 2>conftest.er1
54819 ac_status=$?
54820 grep -v '^ *+' conftest.er1 >conftest.err
54821 rm -f conftest.er1
54822 cat conftest.err >&5
54823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54824 (exit $ac_status); } &&
54825 { ac_try='test -z "$ac_c_werror_flag"
54826 || test ! -s conftest.err'
54827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54828 (eval $ac_try) 2>&5
54829 ac_status=$?
54830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54831 (exit $ac_status); }; } &&
54832 { ac_try='test -s conftest$ac_exeext'
54833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54834 (eval $ac_try) 2>&5
54835 ac_status=$?
54836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54837 (exit $ac_status); }; }; then
54838 eval "$as_ac_var=yes"
54839 else
54840 echo "$as_me: failed program was:" >&5
54841 sed 's/^/| /' conftest.$ac_ext >&5
54843 eval "$as_ac_var=no"
54845 rm -f conftest.err conftest.$ac_objext \
54846 conftest$ac_exeext conftest.$ac_ext
54848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54850 if test `eval echo '${'$as_ac_var'}'` = yes; then
54851 cat >>confdefs.h <<_ACEOF
54852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54853 _ACEOF
54856 done
54863 echo "$as_me:$LINENO: checking for float trig functions" >&5
54864 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
54865 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
54866 echo $ECHO_N "(cached) $ECHO_C" >&6
54867 else
54871 ac_ext=cc
54872 ac_cpp='$CXXCPP $CPPFLAGS'
54873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54877 cat >conftest.$ac_ext <<_ACEOF
54878 /* confdefs.h. */
54879 _ACEOF
54880 cat confdefs.h >>conftest.$ac_ext
54881 cat >>conftest.$ac_ext <<_ACEOF
54882 /* end confdefs.h. */
54883 #include <math.h>
54885 main ()
54887 `for x in acosf asinf atanf \
54888 cosf sinf tanf \
54889 coshf sinhf tanhf; do echo "$x (0);"; done`
54891 return 0;
54893 _ACEOF
54894 rm -f conftest.$ac_objext
54895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54896 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_trig_use=yes
54917 else
54918 echo "$as_me: failed program was:" >&5
54919 sed 's/^/| /' conftest.$ac_ext >&5
54921 glibcxx_cv_func_float_trig_use=no
54923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54924 ac_ext=c
54925 ac_cpp='$CPP $CPPFLAGS'
54926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
54933 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
54934 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54944 for ac_func in acosf asinf atanf \
54945 cosf sinf tanf \
54946 coshf sinhf tanhf
54948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54949 echo "$as_me:$LINENO: checking for $ac_func" >&5
54950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54951 if eval "test \"\${$as_ac_var+set}\" = set"; then
54952 echo $ECHO_N "(cached) $ECHO_C" >&6
54953 else
54954 if test x$gcc_no_link = xyes; then
54955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54957 { (exit 1); exit 1; }; }
54959 cat >conftest.$ac_ext <<_ACEOF
54960 /* confdefs.h. */
54961 _ACEOF
54962 cat confdefs.h >>conftest.$ac_ext
54963 cat >>conftest.$ac_ext <<_ACEOF
54964 /* end confdefs.h. */
54965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54967 #define $ac_func innocuous_$ac_func
54969 /* System header to define __stub macros and hopefully few prototypes,
54970 which can conflict with char $ac_func (); below.
54971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54972 <limits.h> exists even on freestanding compilers. */
54974 #ifdef __STDC__
54975 # include <limits.h>
54976 #else
54977 # include <assert.h>
54978 #endif
54980 #undef $ac_func
54982 /* Override any gcc2 internal prototype to avoid an error. */
54983 #ifdef __cplusplus
54984 extern "C"
54986 #endif
54987 /* We use char because int might match the return type of a gcc2
54988 builtin and then its argument prototype would still apply. */
54989 char $ac_func ();
54990 /* The GNU C library defines this for functions which it implements
54991 to always fail with ENOSYS. Some functions are actually named
54992 something starting with __ and the normal name is an alias. */
54993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54994 choke me
54995 #else
54996 char (*f) () = $ac_func;
54997 #endif
54998 #ifdef __cplusplus
55000 #endif
55003 main ()
55005 return f != $ac_func;
55007 return 0;
55009 _ACEOF
55010 rm -f conftest.$ac_objext conftest$ac_exeext
55011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55012 (eval $ac_link) 2>conftest.er1
55013 ac_status=$?
55014 grep -v '^ *+' conftest.er1 >conftest.err
55015 rm -f conftest.er1
55016 cat conftest.err >&5
55017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55018 (exit $ac_status); } &&
55019 { ac_try='test -z "$ac_c_werror_flag"
55020 || test ! -s conftest.err'
55021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022 (eval $ac_try) 2>&5
55023 ac_status=$?
55024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025 (exit $ac_status); }; } &&
55026 { ac_try='test -s conftest$ac_exeext'
55027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55028 (eval $ac_try) 2>&5
55029 ac_status=$?
55030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031 (exit $ac_status); }; }; then
55032 eval "$as_ac_var=yes"
55033 else
55034 echo "$as_me: failed program was:" >&5
55035 sed 's/^/| /' conftest.$ac_ext >&5
55037 eval "$as_ac_var=no"
55039 rm -f conftest.err conftest.$ac_objext \
55040 conftest$ac_exeext conftest.$ac_ext
55042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55044 if test `eval echo '${'$as_ac_var'}'` = yes; then
55045 cat >>confdefs.h <<_ACEOF
55046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55047 _ACEOF
55050 done
55055 echo "$as_me:$LINENO: checking for float round functions" >&5
55056 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
55057 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
55058 echo $ECHO_N "(cached) $ECHO_C" >&6
55059 else
55063 ac_ext=cc
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55069 cat >conftest.$ac_ext <<_ACEOF
55070 /* confdefs.h. */
55071 _ACEOF
55072 cat confdefs.h >>conftest.$ac_ext
55073 cat >>conftest.$ac_ext <<_ACEOF
55074 /* end confdefs.h. */
55075 #include <math.h>
55077 main ()
55079 `for x in ceilf floorf; do echo "$x (0);"; done`
55081 return 0;
55083 _ACEOF
55084 rm -f conftest.$ac_objext
55085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55086 (eval $ac_compile) 2>conftest.er1
55087 ac_status=$?
55088 grep -v '^ *+' conftest.er1 >conftest.err
55089 rm -f conftest.er1
55090 cat conftest.err >&5
55091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092 (exit $ac_status); } &&
55093 { ac_try='test -z "$ac_cxx_werror_flag"
55094 || test ! -s conftest.err'
55095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55096 (eval $ac_try) 2>&5
55097 ac_status=$?
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); }; } &&
55100 { ac_try='test -s conftest.$ac_objext'
55101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55102 (eval $ac_try) 2>&5
55103 ac_status=$?
55104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55105 (exit $ac_status); }; }; then
55106 glibcxx_cv_func_float_round_use=yes
55107 else
55108 echo "$as_me: failed program was:" >&5
55109 sed 's/^/| /' conftest.$ac_ext >&5
55111 glibcxx_cv_func_float_round_use=no
55113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
55123 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
55124 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55127 for ac_func in ceilf floorf
55129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55130 echo "$as_me:$LINENO: checking for $ac_func" >&5
55131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55132 if eval "test \"\${$as_ac_var+set}\" = set"; then
55133 echo $ECHO_N "(cached) $ECHO_C" >&6
55134 else
55135 if test x$gcc_no_link = xyes; then
55136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55138 { (exit 1); exit 1; }; }
55140 cat >conftest.$ac_ext <<_ACEOF
55141 /* confdefs.h. */
55142 _ACEOF
55143 cat confdefs.h >>conftest.$ac_ext
55144 cat >>conftest.$ac_ext <<_ACEOF
55145 /* end confdefs.h. */
55146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55148 #define $ac_func innocuous_$ac_func
55150 /* System header to define __stub macros and hopefully few prototypes,
55151 which can conflict with char $ac_func (); below.
55152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55153 <limits.h> exists even on freestanding compilers. */
55155 #ifdef __STDC__
55156 # include <limits.h>
55157 #else
55158 # include <assert.h>
55159 #endif
55161 #undef $ac_func
55163 /* Override any gcc2 internal prototype to avoid an error. */
55164 #ifdef __cplusplus
55165 extern "C"
55167 #endif
55168 /* We use char because int might match the return type of a gcc2
55169 builtin and then its argument prototype would still apply. */
55170 char $ac_func ();
55171 /* The GNU C library defines this for functions which it implements
55172 to always fail with ENOSYS. Some functions are actually named
55173 something starting with __ and the normal name is an alias. */
55174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55175 choke me
55176 #else
55177 char (*f) () = $ac_func;
55178 #endif
55179 #ifdef __cplusplus
55181 #endif
55184 main ()
55186 return f != $ac_func;
55188 return 0;
55190 _ACEOF
55191 rm -f conftest.$ac_objext conftest$ac_exeext
55192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55193 (eval $ac_link) 2>conftest.er1
55194 ac_status=$?
55195 grep -v '^ *+' conftest.er1 >conftest.err
55196 rm -f conftest.er1
55197 cat conftest.err >&5
55198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55199 (exit $ac_status); } &&
55200 { ac_try='test -z "$ac_c_werror_flag"
55201 || test ! -s conftest.err'
55202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55203 (eval $ac_try) 2>&5
55204 ac_status=$?
55205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55206 (exit $ac_status); }; } &&
55207 { ac_try='test -s conftest$ac_exeext'
55208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55209 (eval $ac_try) 2>&5
55210 ac_status=$?
55211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55212 (exit $ac_status); }; }; then
55213 eval "$as_ac_var=yes"
55214 else
55215 echo "$as_me: failed program was:" >&5
55216 sed 's/^/| /' conftest.$ac_ext >&5
55218 eval "$as_ac_var=no"
55220 rm -f conftest.err conftest.$ac_objext \
55221 conftest$ac_exeext conftest.$ac_ext
55223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55225 if test `eval echo '${'$as_ac_var'}'` = yes; then
55226 cat >>confdefs.h <<_ACEOF
55227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55228 _ACEOF
55231 done
55237 echo "$as_me:$LINENO: checking for expf declaration" >&5
55238 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
55239 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55240 if test "${glibcxx_cv_func_expf_use+set}" = set; then
55241 echo $ECHO_N "(cached) $ECHO_C" >&6
55242 else
55246 ac_ext=cc
55247 ac_cpp='$CXXCPP $CPPFLAGS'
55248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55252 cat >conftest.$ac_ext <<_ACEOF
55253 /* confdefs.h. */
55254 _ACEOF
55255 cat confdefs.h >>conftest.$ac_ext
55256 cat >>conftest.$ac_ext <<_ACEOF
55257 /* end confdefs.h. */
55258 #include <math.h>
55259 #ifdef HAVE_IEEEFP_H
55260 #include <ieeefp.h>
55261 #endif
55264 main ()
55266 expf(0);
55268 return 0;
55270 _ACEOF
55271 rm -f conftest.$ac_objext
55272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55273 (eval $ac_compile) 2>conftest.er1
55274 ac_status=$?
55275 grep -v '^ *+' conftest.er1 >conftest.err
55276 rm -f conftest.er1
55277 cat conftest.err >&5
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); } &&
55280 { ac_try='test -z "$ac_cxx_werror_flag"
55281 || test ! -s conftest.err'
55282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55283 (eval $ac_try) 2>&5
55284 ac_status=$?
55285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55286 (exit $ac_status); }; } &&
55287 { ac_try='test -s conftest.$ac_objext'
55288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55289 (eval $ac_try) 2>&5
55290 ac_status=$?
55291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55292 (exit $ac_status); }; }; then
55293 glibcxx_cv_func_expf_use=yes
55294 else
55295 echo "$as_me: failed program was:" >&5
55296 sed 's/^/| /' conftest.$ac_ext >&5
55298 glibcxx_cv_func_expf_use=no
55300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
55312 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
55314 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55316 for ac_func in expf
55318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55319 echo "$as_me:$LINENO: checking for $ac_func" >&5
55320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55321 if eval "test \"\${$as_ac_var+set}\" = set"; then
55322 echo $ECHO_N "(cached) $ECHO_C" >&6
55323 else
55324 if test x$gcc_no_link = xyes; then
55325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55327 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55337 #define $ac_func innocuous_$ac_func
55339 /* System header to define __stub macros and hopefully few prototypes,
55340 which can conflict with char $ac_func (); below.
55341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55342 <limits.h> exists even on freestanding compilers. */
55344 #ifdef __STDC__
55345 # include <limits.h>
55346 #else
55347 # include <assert.h>
55348 #endif
55350 #undef $ac_func
55352 /* Override any gcc2 internal prototype to avoid an error. */
55353 #ifdef __cplusplus
55354 extern "C"
55356 #endif
55357 /* We use char because int might match the return type of a gcc2
55358 builtin and then its argument prototype would still apply. */
55359 char $ac_func ();
55360 /* The GNU C library defines this for functions which it implements
55361 to always fail with ENOSYS. Some functions are actually named
55362 something starting with __ and the normal name is an alias. */
55363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55364 choke me
55365 #else
55366 char (*f) () = $ac_func;
55367 #endif
55368 #ifdef __cplusplus
55370 #endif
55373 main ()
55375 return f != $ac_func;
55377 return 0;
55379 _ACEOF
55380 rm -f conftest.$ac_objext conftest$ac_exeext
55381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55382 (eval $ac_link) 2>conftest.er1
55383 ac_status=$?
55384 grep -v '^ *+' conftest.er1 >conftest.err
55385 rm -f conftest.er1
55386 cat conftest.err >&5
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); } &&
55389 { ac_try='test -z "$ac_c_werror_flag"
55390 || test ! -s conftest.err'
55391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55392 (eval $ac_try) 2>&5
55393 ac_status=$?
55394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55395 (exit $ac_status); }; } &&
55396 { ac_try='test -s conftest$ac_exeext'
55397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55398 (eval $ac_try) 2>&5
55399 ac_status=$?
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); }; }; then
55402 eval "$as_ac_var=yes"
55403 else
55404 echo "$as_me: failed program was:" >&5
55405 sed 's/^/| /' conftest.$ac_ext >&5
55407 eval "$as_ac_var=no"
55409 rm -f conftest.err conftest.$ac_objext \
55410 conftest$ac_exeext conftest.$ac_ext
55412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55414 if test `eval echo '${'$as_ac_var'}'` = yes; then
55415 cat >>confdefs.h <<_ACEOF
55416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55417 _ACEOF
55420 done
55422 else
55424 echo "$as_me:$LINENO: checking for _expf declaration" >&5
55425 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
55426 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55427 if test "${glibcxx_cv_func__expf_use+set}" = set; then
55428 echo $ECHO_N "(cached) $ECHO_C" >&6
55429 else
55433 ac_ext=cc
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439 cat >conftest.$ac_ext <<_ACEOF
55440 /* confdefs.h. */
55441 _ACEOF
55442 cat confdefs.h >>conftest.$ac_ext
55443 cat >>conftest.$ac_ext <<_ACEOF
55444 /* end confdefs.h. */
55445 #include <math.h>
55446 #ifdef HAVE_IEEEFP_H
55447 #include <ieeefp.h>
55448 #endif
55451 main ()
55453 _expf(0);
55455 return 0;
55457 _ACEOF
55458 rm -f conftest.$ac_objext
55459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55460 (eval $ac_compile) 2>conftest.er1
55461 ac_status=$?
55462 grep -v '^ *+' conftest.er1 >conftest.err
55463 rm -f conftest.er1
55464 cat conftest.err >&5
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); } &&
55467 { ac_try='test -z "$ac_cxx_werror_flag"
55468 || test ! -s conftest.err'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; } &&
55474 { ac_try='test -s conftest.$ac_objext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55477 ac_status=$?
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55480 glibcxx_cv_func__expf_use=yes
55481 else
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55485 glibcxx_cv_func__expf_use=no
55487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
55499 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
55501 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55503 for ac_func in _expf
55505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506 echo "$as_me:$LINENO: checking for $ac_func" >&5
55507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55508 if eval "test \"\${$as_ac_var+set}\" = set"; then
55509 echo $ECHO_N "(cached) $ECHO_C" >&6
55510 else
55511 if test x$gcc_no_link = xyes; then
55512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55514 { (exit 1); exit 1; }; }
55516 cat >conftest.$ac_ext <<_ACEOF
55517 /* confdefs.h. */
55518 _ACEOF
55519 cat confdefs.h >>conftest.$ac_ext
55520 cat >>conftest.$ac_ext <<_ACEOF
55521 /* end confdefs.h. */
55522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55524 #define $ac_func innocuous_$ac_func
55526 /* System header to define __stub macros and hopefully few prototypes,
55527 which can conflict with char $ac_func (); below.
55528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55529 <limits.h> exists even on freestanding compilers. */
55531 #ifdef __STDC__
55532 # include <limits.h>
55533 #else
55534 # include <assert.h>
55535 #endif
55537 #undef $ac_func
55539 /* Override any gcc2 internal prototype to avoid an error. */
55540 #ifdef __cplusplus
55541 extern "C"
55543 #endif
55544 /* We use char because int might match the return type of a gcc2
55545 builtin and then its argument prototype would still apply. */
55546 char $ac_func ();
55547 /* The GNU C library defines this for functions which it implements
55548 to always fail with ENOSYS. Some functions are actually named
55549 something starting with __ and the normal name is an alias. */
55550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55551 choke me
55552 #else
55553 char (*f) () = $ac_func;
55554 #endif
55555 #ifdef __cplusplus
55557 #endif
55560 main ()
55562 return f != $ac_func;
55564 return 0;
55566 _ACEOF
55567 rm -f conftest.$ac_objext conftest$ac_exeext
55568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55569 (eval $ac_link) 2>conftest.er1
55570 ac_status=$?
55571 grep -v '^ *+' conftest.er1 >conftest.err
55572 rm -f conftest.er1
55573 cat conftest.err >&5
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); } &&
55576 { ac_try='test -z "$ac_c_werror_flag"
55577 || test ! -s conftest.err'
55578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55579 (eval $ac_try) 2>&5
55580 ac_status=$?
55581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582 (exit $ac_status); }; } &&
55583 { ac_try='test -s conftest$ac_exeext'
55584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55585 (eval $ac_try) 2>&5
55586 ac_status=$?
55587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55588 (exit $ac_status); }; }; then
55589 eval "$as_ac_var=yes"
55590 else
55591 echo "$as_me: failed program was:" >&5
55592 sed 's/^/| /' conftest.$ac_ext >&5
55594 eval "$as_ac_var=no"
55596 rm -f conftest.err conftest.$ac_objext \
55597 conftest$ac_exeext conftest.$ac_ext
55599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55601 if test `eval echo '${'$as_ac_var'}'` = yes; then
55602 cat >>confdefs.h <<_ACEOF
55603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55604 _ACEOF
55607 done
55614 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
55615 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
55616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
55618 echo $ECHO_N "(cached) $ECHO_C" >&6
55619 else
55623 ac_ext=cc
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629 cat >conftest.$ac_ext <<_ACEOF
55630 /* confdefs.h. */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h. */
55635 #include <math.h>
55636 #ifdef HAVE_IEEEFP_H
55637 #include <ieeefp.h>
55638 #endif
55641 main ()
55643 isnanf(0);
55645 return 0;
55647 _ACEOF
55648 rm -f conftest.$ac_objext
55649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55650 (eval $ac_compile) 2>conftest.er1
55651 ac_status=$?
55652 grep -v '^ *+' conftest.er1 >conftest.err
55653 rm -f conftest.er1
55654 cat conftest.err >&5
55655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55656 (exit $ac_status); } &&
55657 { ac_try='test -z "$ac_cxx_werror_flag"
55658 || test ! -s conftest.err'
55659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55660 (eval $ac_try) 2>&5
55661 ac_status=$?
55662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55663 (exit $ac_status); }; } &&
55664 { ac_try='test -s conftest.$ac_objext'
55665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55666 (eval $ac_try) 2>&5
55667 ac_status=$?
55668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55669 (exit $ac_status); }; }; then
55670 glibcxx_cv_func_isnanf_use=yes
55671 else
55672 echo "$as_me: failed program was:" >&5
55673 sed 's/^/| /' conftest.$ac_ext >&5
55675 glibcxx_cv_func_isnanf_use=no
55677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55678 ac_ext=c
55679 ac_cpp='$CPP $CPPFLAGS'
55680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
55689 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
55691 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55693 for ac_func in isnanf
55695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55696 echo "$as_me:$LINENO: checking for $ac_func" >&5
55697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55698 if eval "test \"\${$as_ac_var+set}\" = set"; then
55699 echo $ECHO_N "(cached) $ECHO_C" >&6
55700 else
55701 if test x$gcc_no_link = xyes; then
55702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55704 { (exit 1); exit 1; }; }
55706 cat >conftest.$ac_ext <<_ACEOF
55707 /* confdefs.h. */
55708 _ACEOF
55709 cat confdefs.h >>conftest.$ac_ext
55710 cat >>conftest.$ac_ext <<_ACEOF
55711 /* end confdefs.h. */
55712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55714 #define $ac_func innocuous_$ac_func
55716 /* System header to define __stub macros and hopefully few prototypes,
55717 which can conflict with char $ac_func (); below.
55718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55719 <limits.h> exists even on freestanding compilers. */
55721 #ifdef __STDC__
55722 # include <limits.h>
55723 #else
55724 # include <assert.h>
55725 #endif
55727 #undef $ac_func
55729 /* Override any gcc2 internal prototype to avoid an error. */
55730 #ifdef __cplusplus
55731 extern "C"
55733 #endif
55734 /* We use char because int might match the return type of a gcc2
55735 builtin and then its argument prototype would still apply. */
55736 char $ac_func ();
55737 /* The GNU C library defines this for functions which it implements
55738 to always fail with ENOSYS. Some functions are actually named
55739 something starting with __ and the normal name is an alias. */
55740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55741 choke me
55742 #else
55743 char (*f) () = $ac_func;
55744 #endif
55745 #ifdef __cplusplus
55747 #endif
55750 main ()
55752 return f != $ac_func;
55754 return 0;
55756 _ACEOF
55757 rm -f conftest.$ac_objext conftest$ac_exeext
55758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55759 (eval $ac_link) 2>conftest.er1
55760 ac_status=$?
55761 grep -v '^ *+' conftest.er1 >conftest.err
55762 rm -f conftest.er1
55763 cat conftest.err >&5
55764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55765 (exit $ac_status); } &&
55766 { ac_try='test -z "$ac_c_werror_flag"
55767 || test ! -s conftest.err'
55768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55769 (eval $ac_try) 2>&5
55770 ac_status=$?
55771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55772 (exit $ac_status); }; } &&
55773 { ac_try='test -s conftest$ac_exeext'
55774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55775 (eval $ac_try) 2>&5
55776 ac_status=$?
55777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55778 (exit $ac_status); }; }; then
55779 eval "$as_ac_var=yes"
55780 else
55781 echo "$as_me: failed program was:" >&5
55782 sed 's/^/| /' conftest.$ac_ext >&5
55784 eval "$as_ac_var=no"
55786 rm -f conftest.err conftest.$ac_objext \
55787 conftest$ac_exeext conftest.$ac_ext
55789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55791 if test `eval echo '${'$as_ac_var'}'` = yes; then
55792 cat >>confdefs.h <<_ACEOF
55793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55794 _ACEOF
55797 done
55799 else
55801 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
55802 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
55803 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55804 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
55805 echo $ECHO_N "(cached) $ECHO_C" >&6
55806 else
55810 ac_ext=cc
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816 cat >conftest.$ac_ext <<_ACEOF
55817 /* confdefs.h. */
55818 _ACEOF
55819 cat confdefs.h >>conftest.$ac_ext
55820 cat >>conftest.$ac_ext <<_ACEOF
55821 /* end confdefs.h. */
55822 #include <math.h>
55823 #ifdef HAVE_IEEEFP_H
55824 #include <ieeefp.h>
55825 #endif
55828 main ()
55830 _isnanf(0);
55832 return 0;
55834 _ACEOF
55835 rm -f conftest.$ac_objext
55836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55837 (eval $ac_compile) 2>conftest.er1
55838 ac_status=$?
55839 grep -v '^ *+' conftest.er1 >conftest.err
55840 rm -f conftest.er1
55841 cat conftest.err >&5
55842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55843 (exit $ac_status); } &&
55844 { ac_try='test -z "$ac_cxx_werror_flag"
55845 || test ! -s conftest.err'
55846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55847 (eval $ac_try) 2>&5
55848 ac_status=$?
55849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55850 (exit $ac_status); }; } &&
55851 { ac_try='test -s conftest.$ac_objext'
55852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55853 (eval $ac_try) 2>&5
55854 ac_status=$?
55855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55856 (exit $ac_status); }; }; then
55857 glibcxx_cv_func__isnanf_use=yes
55858 else
55859 echo "$as_me: failed program was:" >&5
55860 sed 's/^/| /' conftest.$ac_ext >&5
55862 glibcxx_cv_func__isnanf_use=no
55864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_ext=c
55866 ac_cpp='$CPP $CPPFLAGS'
55867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
55876 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
55878 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55880 for ac_func in _isnanf
55882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55883 echo "$as_me:$LINENO: checking for $ac_func" >&5
55884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55885 if eval "test \"\${$as_ac_var+set}\" = set"; then
55886 echo $ECHO_N "(cached) $ECHO_C" >&6
55887 else
55888 if test x$gcc_no_link = xyes; then
55889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55891 { (exit 1); exit 1; }; }
55893 cat >conftest.$ac_ext <<_ACEOF
55894 /* confdefs.h. */
55895 _ACEOF
55896 cat confdefs.h >>conftest.$ac_ext
55897 cat >>conftest.$ac_ext <<_ACEOF
55898 /* end confdefs.h. */
55899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55901 #define $ac_func innocuous_$ac_func
55903 /* System header to define __stub macros and hopefully few prototypes,
55904 which can conflict with char $ac_func (); below.
55905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55906 <limits.h> exists even on freestanding compilers. */
55908 #ifdef __STDC__
55909 # include <limits.h>
55910 #else
55911 # include <assert.h>
55912 #endif
55914 #undef $ac_func
55916 /* Override any gcc2 internal prototype to avoid an error. */
55917 #ifdef __cplusplus
55918 extern "C"
55920 #endif
55921 /* We use char because int might match the return type of a gcc2
55922 builtin and then its argument prototype would still apply. */
55923 char $ac_func ();
55924 /* The GNU C library defines this for functions which it implements
55925 to always fail with ENOSYS. Some functions are actually named
55926 something starting with __ and the normal name is an alias. */
55927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55928 choke me
55929 #else
55930 char (*f) () = $ac_func;
55931 #endif
55932 #ifdef __cplusplus
55934 #endif
55937 main ()
55939 return f != $ac_func;
55941 return 0;
55943 _ACEOF
55944 rm -f conftest.$ac_objext conftest$ac_exeext
55945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55946 (eval $ac_link) 2>conftest.er1
55947 ac_status=$?
55948 grep -v '^ *+' conftest.er1 >conftest.err
55949 rm -f conftest.er1
55950 cat conftest.err >&5
55951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55952 (exit $ac_status); } &&
55953 { ac_try='test -z "$ac_c_werror_flag"
55954 || test ! -s conftest.err'
55955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55956 (eval $ac_try) 2>&5
55957 ac_status=$?
55958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959 (exit $ac_status); }; } &&
55960 { ac_try='test -s conftest$ac_exeext'
55961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55962 (eval $ac_try) 2>&5
55963 ac_status=$?
55964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55965 (exit $ac_status); }; }; then
55966 eval "$as_ac_var=yes"
55967 else
55968 echo "$as_me: failed program was:" >&5
55969 sed 's/^/| /' conftest.$ac_ext >&5
55971 eval "$as_ac_var=no"
55973 rm -f conftest.err conftest.$ac_objext \
55974 conftest$ac_exeext conftest.$ac_ext
55976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55978 if test `eval echo '${'$as_ac_var'}'` = yes; then
55979 cat >>confdefs.h <<_ACEOF
55980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55981 _ACEOF
55984 done
55991 echo "$as_me:$LINENO: checking for isinff declaration" >&5
55992 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
55993 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55994 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
55995 echo $ECHO_N "(cached) $ECHO_C" >&6
55996 else
56000 ac_ext=cc
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56006 cat >conftest.$ac_ext <<_ACEOF
56007 /* confdefs.h. */
56008 _ACEOF
56009 cat confdefs.h >>conftest.$ac_ext
56010 cat >>conftest.$ac_ext <<_ACEOF
56011 /* end confdefs.h. */
56012 #include <math.h>
56013 #ifdef HAVE_IEEEFP_H
56014 #include <ieeefp.h>
56015 #endif
56018 main ()
56020 isinff(0);
56022 return 0;
56024 _ACEOF
56025 rm -f conftest.$ac_objext
56026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56027 (eval $ac_compile) 2>conftest.er1
56028 ac_status=$?
56029 grep -v '^ *+' conftest.er1 >conftest.err
56030 rm -f conftest.er1
56031 cat conftest.err >&5
56032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033 (exit $ac_status); } &&
56034 { ac_try='test -z "$ac_cxx_werror_flag"
56035 || test ! -s conftest.err'
56036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037 (eval $ac_try) 2>&5
56038 ac_status=$?
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); }; } &&
56041 { ac_try='test -s conftest.$ac_objext'
56042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56043 (eval $ac_try) 2>&5
56044 ac_status=$?
56045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56046 (exit $ac_status); }; }; then
56047 glibcxx_cv_func_isinff_use=yes
56048 else
56049 echo "$as_me: failed program was:" >&5
56050 sed 's/^/| /' conftest.$ac_ext >&5
56052 glibcxx_cv_func_isinff_use=no
56054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
56066 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
56068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56070 for ac_func in isinff
56072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56073 echo "$as_me:$LINENO: checking for $ac_func" >&5
56074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56075 if eval "test \"\${$as_ac_var+set}\" = set"; then
56076 echo $ECHO_N "(cached) $ECHO_C" >&6
56077 else
56078 if test x$gcc_no_link = xyes; then
56079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56081 { (exit 1); exit 1; }; }
56083 cat >conftest.$ac_ext <<_ACEOF
56084 /* confdefs.h. */
56085 _ACEOF
56086 cat confdefs.h >>conftest.$ac_ext
56087 cat >>conftest.$ac_ext <<_ACEOF
56088 /* end confdefs.h. */
56089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56091 #define $ac_func innocuous_$ac_func
56093 /* System header to define __stub macros and hopefully few prototypes,
56094 which can conflict with char $ac_func (); below.
56095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56096 <limits.h> exists even on freestanding compilers. */
56098 #ifdef __STDC__
56099 # include <limits.h>
56100 #else
56101 # include <assert.h>
56102 #endif
56104 #undef $ac_func
56106 /* Override any gcc2 internal prototype to avoid an error. */
56107 #ifdef __cplusplus
56108 extern "C"
56110 #endif
56111 /* We use char because int might match the return type of a gcc2
56112 builtin and then its argument prototype would still apply. */
56113 char $ac_func ();
56114 /* The GNU C library defines this for functions which it implements
56115 to always fail with ENOSYS. Some functions are actually named
56116 something starting with __ and the normal name is an alias. */
56117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56118 choke me
56119 #else
56120 char (*f) () = $ac_func;
56121 #endif
56122 #ifdef __cplusplus
56124 #endif
56127 main ()
56129 return f != $ac_func;
56131 return 0;
56133 _ACEOF
56134 rm -f conftest.$ac_objext conftest$ac_exeext
56135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56136 (eval $ac_link) 2>conftest.er1
56137 ac_status=$?
56138 grep -v '^ *+' conftest.er1 >conftest.err
56139 rm -f conftest.er1
56140 cat conftest.err >&5
56141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56142 (exit $ac_status); } &&
56143 { ac_try='test -z "$ac_c_werror_flag"
56144 || test ! -s conftest.err'
56145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56146 (eval $ac_try) 2>&5
56147 ac_status=$?
56148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56149 (exit $ac_status); }; } &&
56150 { ac_try='test -s conftest$ac_exeext'
56151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56152 (eval $ac_try) 2>&5
56153 ac_status=$?
56154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56155 (exit $ac_status); }; }; then
56156 eval "$as_ac_var=yes"
56157 else
56158 echo "$as_me: failed program was:" >&5
56159 sed 's/^/| /' conftest.$ac_ext >&5
56161 eval "$as_ac_var=no"
56163 rm -f conftest.err conftest.$ac_objext \
56164 conftest$ac_exeext conftest.$ac_ext
56166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56168 if test `eval echo '${'$as_ac_var'}'` = yes; then
56169 cat >>confdefs.h <<_ACEOF
56170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56171 _ACEOF
56174 done
56176 else
56178 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
56179 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
56180 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56181 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
56182 echo $ECHO_N "(cached) $ECHO_C" >&6
56183 else
56187 ac_ext=cc
56188 ac_cpp='$CXXCPP $CPPFLAGS'
56189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193 cat >conftest.$ac_ext <<_ACEOF
56194 /* confdefs.h. */
56195 _ACEOF
56196 cat confdefs.h >>conftest.$ac_ext
56197 cat >>conftest.$ac_ext <<_ACEOF
56198 /* end confdefs.h. */
56199 #include <math.h>
56200 #ifdef HAVE_IEEEFP_H
56201 #include <ieeefp.h>
56202 #endif
56205 main ()
56207 _isinff(0);
56209 return 0;
56211 _ACEOF
56212 rm -f conftest.$ac_objext
56213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56214 (eval $ac_compile) 2>conftest.er1
56215 ac_status=$?
56216 grep -v '^ *+' conftest.er1 >conftest.err
56217 rm -f conftest.er1
56218 cat conftest.err >&5
56219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220 (exit $ac_status); } &&
56221 { ac_try='test -z "$ac_cxx_werror_flag"
56222 || test ! -s conftest.err'
56223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224 (eval $ac_try) 2>&5
56225 ac_status=$?
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); }; } &&
56228 { ac_try='test -s conftest.$ac_objext'
56229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230 (eval $ac_try) 2>&5
56231 ac_status=$?
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); }; }; then
56234 glibcxx_cv_func__isinff_use=yes
56235 else
56236 echo "$as_me: failed program was:" >&5
56237 sed 's/^/| /' conftest.$ac_ext >&5
56239 glibcxx_cv_func__isinff_use=no
56241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56242 ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
56253 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
56255 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56257 for ac_func in _isinff
56259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56260 echo "$as_me:$LINENO: checking for $ac_func" >&5
56261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56262 if eval "test \"\${$as_ac_var+set}\" = set"; then
56263 echo $ECHO_N "(cached) $ECHO_C" >&6
56264 else
56265 if test x$gcc_no_link = xyes; then
56266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56268 { (exit 1); exit 1; }; }
56270 cat >conftest.$ac_ext <<_ACEOF
56271 /* confdefs.h. */
56272 _ACEOF
56273 cat confdefs.h >>conftest.$ac_ext
56274 cat >>conftest.$ac_ext <<_ACEOF
56275 /* end confdefs.h. */
56276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56278 #define $ac_func innocuous_$ac_func
56280 /* System header to define __stub macros and hopefully few prototypes,
56281 which can conflict with char $ac_func (); below.
56282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56283 <limits.h> exists even on freestanding compilers. */
56285 #ifdef __STDC__
56286 # include <limits.h>
56287 #else
56288 # include <assert.h>
56289 #endif
56291 #undef $ac_func
56293 /* Override any gcc2 internal prototype to avoid an error. */
56294 #ifdef __cplusplus
56295 extern "C"
56297 #endif
56298 /* We use char because int might match the return type of a gcc2
56299 builtin and then its argument prototype would still apply. */
56300 char $ac_func ();
56301 /* The GNU C library defines this for functions which it implements
56302 to always fail with ENOSYS. Some functions are actually named
56303 something starting with __ and the normal name is an alias. */
56304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56305 choke me
56306 #else
56307 char (*f) () = $ac_func;
56308 #endif
56309 #ifdef __cplusplus
56311 #endif
56314 main ()
56316 return f != $ac_func;
56318 return 0;
56320 _ACEOF
56321 rm -f conftest.$ac_objext conftest$ac_exeext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56323 (eval $ac_link) 2>conftest.er1
56324 ac_status=$?
56325 grep -v '^ *+' conftest.er1 >conftest.err
56326 rm -f conftest.er1
56327 cat conftest.err >&5
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); } &&
56330 { ac_try='test -z "$ac_c_werror_flag"
56331 || test ! -s conftest.err'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; } &&
56337 { ac_try='test -s conftest$ac_exeext'
56338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339 (eval $ac_try) 2>&5
56340 ac_status=$?
56341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342 (exit $ac_status); }; }; then
56343 eval "$as_ac_var=yes"
56344 else
56345 echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56348 eval "$as_ac_var=no"
56350 rm -f conftest.err conftest.$ac_objext \
56351 conftest$ac_exeext conftest.$ac_ext
56353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56355 if test `eval echo '${'$as_ac_var'}'` = yes; then
56356 cat >>confdefs.h <<_ACEOF
56357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56358 _ACEOF
56361 done
56368 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
56369 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
56370 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56371 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
56372 echo $ECHO_N "(cached) $ECHO_C" >&6
56373 else
56377 ac_ext=cc
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383 cat >conftest.$ac_ext <<_ACEOF
56384 /* confdefs.h. */
56385 _ACEOF
56386 cat confdefs.h >>conftest.$ac_ext
56387 cat >>conftest.$ac_ext <<_ACEOF
56388 /* end confdefs.h. */
56389 #include <math.h>
56391 main ()
56393 atan2f(0, 0);
56395 return 0;
56397 _ACEOF
56398 rm -f conftest.$ac_objext
56399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56400 (eval $ac_compile) 2>conftest.er1
56401 ac_status=$?
56402 grep -v '^ *+' conftest.er1 >conftest.err
56403 rm -f conftest.er1
56404 cat conftest.err >&5
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); } &&
56407 { ac_try='test -z "$ac_cxx_werror_flag"
56408 || test ! -s conftest.err'
56409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56410 (eval $ac_try) 2>&5
56411 ac_status=$?
56412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56413 (exit $ac_status); }; } &&
56414 { ac_try='test -s conftest.$ac_objext'
56415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56416 (eval $ac_try) 2>&5
56417 ac_status=$?
56418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419 (exit $ac_status); }; }; then
56420 glibcxx_cv_func_atan2f_use=yes
56421 else
56422 echo "$as_me: failed program was:" >&5
56423 sed 's/^/| /' conftest.$ac_ext >&5
56425 glibcxx_cv_func_atan2f_use=no
56427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56428 ac_ext=c
56429 ac_cpp='$CPP $CPPFLAGS'
56430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
56439 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
56441 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56443 for ac_func in atan2f
56445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56446 echo "$as_me:$LINENO: checking for $ac_func" >&5
56447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56448 if eval "test \"\${$as_ac_var+set}\" = set"; then
56449 echo $ECHO_N "(cached) $ECHO_C" >&6
56450 else
56451 if test x$gcc_no_link = xyes; then
56452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56454 { (exit 1); exit 1; }; }
56456 cat >conftest.$ac_ext <<_ACEOF
56457 /* confdefs.h. */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h. */
56462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56464 #define $ac_func innocuous_$ac_func
56466 /* System header to define __stub macros and hopefully few prototypes,
56467 which can conflict with char $ac_func (); below.
56468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56469 <limits.h> exists even on freestanding compilers. */
56471 #ifdef __STDC__
56472 # include <limits.h>
56473 #else
56474 # include <assert.h>
56475 #endif
56477 #undef $ac_func
56479 /* Override any gcc2 internal prototype to avoid an error. */
56480 #ifdef __cplusplus
56481 extern "C"
56483 #endif
56484 /* We use char because int might match the return type of a gcc2
56485 builtin and then its argument prototype would still apply. */
56486 char $ac_func ();
56487 /* The GNU C library defines this for functions which it implements
56488 to always fail with ENOSYS. Some functions are actually named
56489 something starting with __ and the normal name is an alias. */
56490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56491 choke me
56492 #else
56493 char (*f) () = $ac_func;
56494 #endif
56495 #ifdef __cplusplus
56497 #endif
56500 main ()
56502 return f != $ac_func;
56504 return 0;
56506 _ACEOF
56507 rm -f conftest.$ac_objext conftest$ac_exeext
56508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56509 (eval $ac_link) 2>conftest.er1
56510 ac_status=$?
56511 grep -v '^ *+' conftest.er1 >conftest.err
56512 rm -f conftest.er1
56513 cat conftest.err >&5
56514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515 (exit $ac_status); } &&
56516 { ac_try='test -z "$ac_c_werror_flag"
56517 || test ! -s conftest.err'
56518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519 (eval $ac_try) 2>&5
56520 ac_status=$?
56521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522 (exit $ac_status); }; } &&
56523 { ac_try='test -s conftest$ac_exeext'
56524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525 (eval $ac_try) 2>&5
56526 ac_status=$?
56527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528 (exit $ac_status); }; }; then
56529 eval "$as_ac_var=yes"
56530 else
56531 echo "$as_me: failed program was:" >&5
56532 sed 's/^/| /' conftest.$ac_ext >&5
56534 eval "$as_ac_var=no"
56536 rm -f conftest.err conftest.$ac_objext \
56537 conftest$ac_exeext conftest.$ac_ext
56539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56541 if test `eval echo '${'$as_ac_var'}'` = yes; then
56542 cat >>confdefs.h <<_ACEOF
56543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56544 _ACEOF
56547 done
56549 else
56551 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
56552 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
56553 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56554 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
56555 echo $ECHO_N "(cached) $ECHO_C" >&6
56556 else
56560 ac_ext=cc
56561 ac_cpp='$CXXCPP $CPPFLAGS'
56562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56566 cat >conftest.$ac_ext <<_ACEOF
56567 /* confdefs.h. */
56568 _ACEOF
56569 cat confdefs.h >>conftest.$ac_ext
56570 cat >>conftest.$ac_ext <<_ACEOF
56571 /* end confdefs.h. */
56572 #include <math.h>
56574 main ()
56576 _atan2f(0, 0);
56578 return 0;
56580 _ACEOF
56581 rm -f conftest.$ac_objext
56582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56583 (eval $ac_compile) 2>conftest.er1
56584 ac_status=$?
56585 grep -v '^ *+' conftest.er1 >conftest.err
56586 rm -f conftest.er1
56587 cat conftest.err >&5
56588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56589 (exit $ac_status); } &&
56590 { ac_try='test -z "$ac_cxx_werror_flag"
56591 || test ! -s conftest.err'
56592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56593 (eval $ac_try) 2>&5
56594 ac_status=$?
56595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596 (exit $ac_status); }; } &&
56597 { ac_try='test -s conftest.$ac_objext'
56598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56599 (eval $ac_try) 2>&5
56600 ac_status=$?
56601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602 (exit $ac_status); }; }; then
56603 glibcxx_cv_func__atan2f_use=yes
56604 else
56605 echo "$as_me: failed program was:" >&5
56606 sed 's/^/| /' conftest.$ac_ext >&5
56608 glibcxx_cv_func__atan2f_use=no
56610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56611 ac_ext=c
56612 ac_cpp='$CPP $CPPFLAGS'
56613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
56622 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
56624 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56626 for ac_func in _atan2f
56628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56629 echo "$as_me:$LINENO: checking for $ac_func" >&5
56630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56631 if eval "test \"\${$as_ac_var+set}\" = set"; then
56632 echo $ECHO_N "(cached) $ECHO_C" >&6
56633 else
56634 if test x$gcc_no_link = xyes; then
56635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56637 { (exit 1); exit 1; }; }
56639 cat >conftest.$ac_ext <<_ACEOF
56640 /* confdefs.h. */
56641 _ACEOF
56642 cat confdefs.h >>conftest.$ac_ext
56643 cat >>conftest.$ac_ext <<_ACEOF
56644 /* end confdefs.h. */
56645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56647 #define $ac_func innocuous_$ac_func
56649 /* System header to define __stub macros and hopefully few prototypes,
56650 which can conflict with char $ac_func (); below.
56651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56652 <limits.h> exists even on freestanding compilers. */
56654 #ifdef __STDC__
56655 # include <limits.h>
56656 #else
56657 # include <assert.h>
56658 #endif
56660 #undef $ac_func
56662 /* Override any gcc2 internal prototype to avoid an error. */
56663 #ifdef __cplusplus
56664 extern "C"
56666 #endif
56667 /* We use char because int might match the return type of a gcc2
56668 builtin and then its argument prototype would still apply. */
56669 char $ac_func ();
56670 /* The GNU C library defines this for functions which it implements
56671 to always fail with ENOSYS. Some functions are actually named
56672 something starting with __ and the normal name is an alias. */
56673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56674 choke me
56675 #else
56676 char (*f) () = $ac_func;
56677 #endif
56678 #ifdef __cplusplus
56680 #endif
56683 main ()
56685 return f != $ac_func;
56687 return 0;
56689 _ACEOF
56690 rm -f conftest.$ac_objext conftest$ac_exeext
56691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56692 (eval $ac_link) 2>conftest.er1
56693 ac_status=$?
56694 grep -v '^ *+' conftest.er1 >conftest.err
56695 rm -f conftest.er1
56696 cat conftest.err >&5
56697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698 (exit $ac_status); } &&
56699 { ac_try='test -z "$ac_c_werror_flag"
56700 || test ! -s conftest.err'
56701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56702 (eval $ac_try) 2>&5
56703 ac_status=$?
56704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705 (exit $ac_status); }; } &&
56706 { ac_try='test -s conftest$ac_exeext'
56707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56708 (eval $ac_try) 2>&5
56709 ac_status=$?
56710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711 (exit $ac_status); }; }; then
56712 eval "$as_ac_var=yes"
56713 else
56714 echo "$as_me: failed program was:" >&5
56715 sed 's/^/| /' conftest.$ac_ext >&5
56717 eval "$as_ac_var=no"
56719 rm -f conftest.err conftest.$ac_objext \
56720 conftest$ac_exeext conftest.$ac_ext
56722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56724 if test `eval echo '${'$as_ac_var'}'` = yes; then
56725 cat >>confdefs.h <<_ACEOF
56726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56727 _ACEOF
56730 done
56737 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
56738 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
56739 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56740 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
56741 echo $ECHO_N "(cached) $ECHO_C" >&6
56742 else
56746 ac_ext=cc
56747 ac_cpp='$CXXCPP $CPPFLAGS'
56748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56752 cat >conftest.$ac_ext <<_ACEOF
56753 /* confdefs.h. */
56754 _ACEOF
56755 cat confdefs.h >>conftest.$ac_ext
56756 cat >>conftest.$ac_ext <<_ACEOF
56757 /* end confdefs.h. */
56758 #include <math.h>
56759 #ifdef HAVE_IEEEFP_H
56760 #include <ieeefp.h>
56761 #endif
56764 main ()
56766 fabsf(0);
56768 return 0;
56770 _ACEOF
56771 rm -f conftest.$ac_objext
56772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56773 (eval $ac_compile) 2>conftest.er1
56774 ac_status=$?
56775 grep -v '^ *+' conftest.er1 >conftest.err
56776 rm -f conftest.er1
56777 cat conftest.err >&5
56778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56779 (exit $ac_status); } &&
56780 { ac_try='test -z "$ac_cxx_werror_flag"
56781 || test ! -s conftest.err'
56782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56783 (eval $ac_try) 2>&5
56784 ac_status=$?
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); }; } &&
56787 { ac_try='test -s conftest.$ac_objext'
56788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56789 (eval $ac_try) 2>&5
56790 ac_status=$?
56791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792 (exit $ac_status); }; }; then
56793 glibcxx_cv_func_fabsf_use=yes
56794 else
56795 echo "$as_me: failed program was:" >&5
56796 sed 's/^/| /' conftest.$ac_ext >&5
56798 glibcxx_cv_func_fabsf_use=no
56800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56801 ac_ext=c
56802 ac_cpp='$CPP $CPPFLAGS'
56803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
56812 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
56814 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56816 for ac_func in fabsf
56818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56819 echo "$as_me:$LINENO: checking for $ac_func" >&5
56820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56821 if eval "test \"\${$as_ac_var+set}\" = set"; then
56822 echo $ECHO_N "(cached) $ECHO_C" >&6
56823 else
56824 if test x$gcc_no_link = xyes; then
56825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56827 { (exit 1); exit 1; }; }
56829 cat >conftest.$ac_ext <<_ACEOF
56830 /* confdefs.h. */
56831 _ACEOF
56832 cat confdefs.h >>conftest.$ac_ext
56833 cat >>conftest.$ac_ext <<_ACEOF
56834 /* end confdefs.h. */
56835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56837 #define $ac_func innocuous_$ac_func
56839 /* System header to define __stub macros and hopefully few prototypes,
56840 which can conflict with char $ac_func (); below.
56841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56842 <limits.h> exists even on freestanding compilers. */
56844 #ifdef __STDC__
56845 # include <limits.h>
56846 #else
56847 # include <assert.h>
56848 #endif
56850 #undef $ac_func
56852 /* Override any gcc2 internal prototype to avoid an error. */
56853 #ifdef __cplusplus
56854 extern "C"
56856 #endif
56857 /* We use char because int might match the return type of a gcc2
56858 builtin and then its argument prototype would still apply. */
56859 char $ac_func ();
56860 /* The GNU C library defines this for functions which it implements
56861 to always fail with ENOSYS. Some functions are actually named
56862 something starting with __ and the normal name is an alias. */
56863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56864 choke me
56865 #else
56866 char (*f) () = $ac_func;
56867 #endif
56868 #ifdef __cplusplus
56870 #endif
56873 main ()
56875 return f != $ac_func;
56877 return 0;
56879 _ACEOF
56880 rm -f conftest.$ac_objext conftest$ac_exeext
56881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56882 (eval $ac_link) 2>conftest.er1
56883 ac_status=$?
56884 grep -v '^ *+' conftest.er1 >conftest.err
56885 rm -f conftest.er1
56886 cat conftest.err >&5
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); } &&
56889 { ac_try='test -z "$ac_c_werror_flag"
56890 || test ! -s conftest.err'
56891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56892 (eval $ac_try) 2>&5
56893 ac_status=$?
56894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56895 (exit $ac_status); }; } &&
56896 { ac_try='test -s conftest$ac_exeext'
56897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56898 (eval $ac_try) 2>&5
56899 ac_status=$?
56900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56901 (exit $ac_status); }; }; then
56902 eval "$as_ac_var=yes"
56903 else
56904 echo "$as_me: failed program was:" >&5
56905 sed 's/^/| /' conftest.$ac_ext >&5
56907 eval "$as_ac_var=no"
56909 rm -f conftest.err conftest.$ac_objext \
56910 conftest$ac_exeext conftest.$ac_ext
56912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56914 if test `eval echo '${'$as_ac_var'}'` = yes; then
56915 cat >>confdefs.h <<_ACEOF
56916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56917 _ACEOF
56920 done
56922 else
56924 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
56925 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
56926 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56927 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
56928 echo $ECHO_N "(cached) $ECHO_C" >&6
56929 else
56933 ac_ext=cc
56934 ac_cpp='$CXXCPP $CPPFLAGS'
56935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56939 cat >conftest.$ac_ext <<_ACEOF
56940 /* confdefs.h. */
56941 _ACEOF
56942 cat confdefs.h >>conftest.$ac_ext
56943 cat >>conftest.$ac_ext <<_ACEOF
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 #ifdef HAVE_IEEEFP_H
56947 #include <ieeefp.h>
56948 #endif
56951 main ()
56953 _fabsf(0);
56955 return 0;
56957 _ACEOF
56958 rm -f conftest.$ac_objext
56959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56960 (eval $ac_compile) 2>conftest.er1
56961 ac_status=$?
56962 grep -v '^ *+' conftest.er1 >conftest.err
56963 rm -f conftest.er1
56964 cat conftest.err >&5
56965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56966 (exit $ac_status); } &&
56967 { ac_try='test -z "$ac_cxx_werror_flag"
56968 || test ! -s conftest.err'
56969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56970 (eval $ac_try) 2>&5
56971 ac_status=$?
56972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973 (exit $ac_status); }; } &&
56974 { ac_try='test -s conftest.$ac_objext'
56975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56976 (eval $ac_try) 2>&5
56977 ac_status=$?
56978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56979 (exit $ac_status); }; }; then
56980 glibcxx_cv_func__fabsf_use=yes
56981 else
56982 echo "$as_me: failed program was:" >&5
56983 sed 's/^/| /' conftest.$ac_ext >&5
56985 glibcxx_cv_func__fabsf_use=no
56987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
56999 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
57001 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
57003 for ac_func in _fabsf
57005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57006 echo "$as_me:$LINENO: checking for $ac_func" >&5
57007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57008 if eval "test \"\${$as_ac_var+set}\" = set"; then
57009 echo $ECHO_N "(cached) $ECHO_C" >&6
57010 else
57011 if test x$gcc_no_link = xyes; then
57012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57014 { (exit 1); exit 1; }; }
57016 cat >conftest.$ac_ext <<_ACEOF
57017 /* confdefs.h. */
57018 _ACEOF
57019 cat confdefs.h >>conftest.$ac_ext
57020 cat >>conftest.$ac_ext <<_ACEOF
57021 /* end confdefs.h. */
57022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57024 #define $ac_func innocuous_$ac_func
57026 /* System header to define __stub macros and hopefully few prototypes,
57027 which can conflict with char $ac_func (); below.
57028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57029 <limits.h> exists even on freestanding compilers. */
57031 #ifdef __STDC__
57032 # include <limits.h>
57033 #else
57034 # include <assert.h>
57035 #endif
57037 #undef $ac_func
57039 /* Override any gcc2 internal prototype to avoid an error. */
57040 #ifdef __cplusplus
57041 extern "C"
57043 #endif
57044 /* We use char because int might match the return type of a gcc2
57045 builtin and then its argument prototype would still apply. */
57046 char $ac_func ();
57047 /* The GNU C library defines this for functions which it implements
57048 to always fail with ENOSYS. Some functions are actually named
57049 something starting with __ and the normal name is an alias. */
57050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57051 choke me
57052 #else
57053 char (*f) () = $ac_func;
57054 #endif
57055 #ifdef __cplusplus
57057 #endif
57060 main ()
57062 return f != $ac_func;
57064 return 0;
57066 _ACEOF
57067 rm -f conftest.$ac_objext conftest$ac_exeext
57068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57069 (eval $ac_link) 2>conftest.er1
57070 ac_status=$?
57071 grep -v '^ *+' conftest.er1 >conftest.err
57072 rm -f conftest.er1
57073 cat conftest.err >&5
57074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57075 (exit $ac_status); } &&
57076 { ac_try='test -z "$ac_c_werror_flag"
57077 || test ! -s conftest.err'
57078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57079 (eval $ac_try) 2>&5
57080 ac_status=$?
57081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57082 (exit $ac_status); }; } &&
57083 { ac_try='test -s conftest$ac_exeext'
57084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57085 (eval $ac_try) 2>&5
57086 ac_status=$?
57087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57088 (exit $ac_status); }; }; then
57089 eval "$as_ac_var=yes"
57090 else
57091 echo "$as_me: failed program was:" >&5
57092 sed 's/^/| /' conftest.$ac_ext >&5
57094 eval "$as_ac_var=no"
57096 rm -f conftest.err conftest.$ac_objext \
57097 conftest$ac_exeext conftest.$ac_ext
57099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57101 if test `eval echo '${'$as_ac_var'}'` = yes; then
57102 cat >>confdefs.h <<_ACEOF
57103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57104 _ACEOF
57107 done
57114 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
57115 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
57116 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
57117 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
57118 echo $ECHO_N "(cached) $ECHO_C" >&6
57119 else
57123 ac_ext=cc
57124 ac_cpp='$CXXCPP $CPPFLAGS'
57125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129 cat >conftest.$ac_ext <<_ACEOF
57130 /* confdefs.h. */
57131 _ACEOF
57132 cat confdefs.h >>conftest.$ac_ext
57133 cat >>conftest.$ac_ext <<_ACEOF
57134 /* end confdefs.h. */
57135 #include <math.h>
57137 main ()
57139 fmodf(0, 0);
57141 return 0;
57143 _ACEOF
57144 rm -f conftest.$ac_objext
57145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57146 (eval $ac_compile) 2>conftest.er1
57147 ac_status=$?
57148 grep -v '^ *+' conftest.er1 >conftest.err
57149 rm -f conftest.er1
57150 cat conftest.err >&5
57151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57152 (exit $ac_status); } &&
57153 { ac_try='test -z "$ac_cxx_werror_flag"
57154 || test ! -s conftest.err'
57155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57156 (eval $ac_try) 2>&5
57157 ac_status=$?
57158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57159 (exit $ac_status); }; } &&
57160 { ac_try='test -s conftest.$ac_objext'
57161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162 (eval $ac_try) 2>&5
57163 ac_status=$?
57164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165 (exit $ac_status); }; }; then
57166 glibcxx_cv_func_fmodf_use=yes
57167 else
57168 echo "$as_me: failed program was:" >&5
57169 sed 's/^/| /' conftest.$ac_ext >&5
57171 glibcxx_cv_func_fmodf_use=no
57173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57174 ac_ext=c
57175 ac_cpp='$CPP $CPPFLAGS'
57176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
57185 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
57187 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
57189 for ac_func in fmodf
57191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57192 echo "$as_me:$LINENO: checking for $ac_func" >&5
57193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57194 if eval "test \"\${$as_ac_var+set}\" = set"; then
57195 echo $ECHO_N "(cached) $ECHO_C" >&6
57196 else
57197 if test x$gcc_no_link = xyes; then
57198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57200 { (exit 1); exit 1; }; }
57202 cat >conftest.$ac_ext <<_ACEOF
57203 /* confdefs.h. */
57204 _ACEOF
57205 cat confdefs.h >>conftest.$ac_ext
57206 cat >>conftest.$ac_ext <<_ACEOF
57207 /* end confdefs.h. */
57208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57210 #define $ac_func innocuous_$ac_func
57212 /* System header to define __stub macros and hopefully few prototypes,
57213 which can conflict with char $ac_func (); below.
57214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57215 <limits.h> exists even on freestanding compilers. */
57217 #ifdef __STDC__
57218 # include <limits.h>
57219 #else
57220 # include <assert.h>
57221 #endif
57223 #undef $ac_func
57225 /* Override any gcc2 internal prototype to avoid an error. */
57226 #ifdef __cplusplus
57227 extern "C"
57229 #endif
57230 /* We use char because int might match the return type of a gcc2
57231 builtin and then its argument prototype would still apply. */
57232 char $ac_func ();
57233 /* The GNU C library defines this for functions which it implements
57234 to always fail with ENOSYS. Some functions are actually named
57235 something starting with __ and the normal name is an alias. */
57236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57237 choke me
57238 #else
57239 char (*f) () = $ac_func;
57240 #endif
57241 #ifdef __cplusplus
57243 #endif
57246 main ()
57248 return f != $ac_func;
57250 return 0;
57252 _ACEOF
57253 rm -f conftest.$ac_objext conftest$ac_exeext
57254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57255 (eval $ac_link) 2>conftest.er1
57256 ac_status=$?
57257 grep -v '^ *+' conftest.er1 >conftest.err
57258 rm -f conftest.er1
57259 cat conftest.err >&5
57260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57261 (exit $ac_status); } &&
57262 { ac_try='test -z "$ac_c_werror_flag"
57263 || test ! -s conftest.err'
57264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57265 (eval $ac_try) 2>&5
57266 ac_status=$?
57267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57268 (exit $ac_status); }; } &&
57269 { ac_try='test -s conftest$ac_exeext'
57270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57271 (eval $ac_try) 2>&5
57272 ac_status=$?
57273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57274 (exit $ac_status); }; }; then
57275 eval "$as_ac_var=yes"
57276 else
57277 echo "$as_me: failed program was:" >&5
57278 sed 's/^/| /' conftest.$ac_ext >&5
57280 eval "$as_ac_var=no"
57282 rm -f conftest.err conftest.$ac_objext \
57283 conftest$ac_exeext conftest.$ac_ext
57285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57287 if test `eval echo '${'$as_ac_var'}'` = yes; then
57288 cat >>confdefs.h <<_ACEOF
57289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57290 _ACEOF
57293 done
57295 else
57297 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
57298 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
57299 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
57300 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57306 ac_ext=cc
57307 ac_cpp='$CXXCPP $CPPFLAGS'
57308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57312 cat >conftest.$ac_ext <<_ACEOF
57313 /* confdefs.h. */
57314 _ACEOF
57315 cat confdefs.h >>conftest.$ac_ext
57316 cat >>conftest.$ac_ext <<_ACEOF
57317 /* end confdefs.h. */
57318 #include <math.h>
57320 main ()
57322 _fmodf(0, 0);
57324 return 0;
57326 _ACEOF
57327 rm -f conftest.$ac_objext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57329 (eval $ac_compile) 2>conftest.er1
57330 ac_status=$?
57331 grep -v '^ *+' conftest.er1 >conftest.err
57332 rm -f conftest.er1
57333 cat conftest.err >&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -z "$ac_cxx_werror_flag"
57337 || test ! -s conftest.err'
57338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57339 (eval $ac_try) 2>&5
57340 ac_status=$?
57341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57342 (exit $ac_status); }; } &&
57343 { ac_try='test -s conftest.$ac_objext'
57344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345 (eval $ac_try) 2>&5
57346 ac_status=$?
57347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348 (exit $ac_status); }; }; then
57349 glibcxx_cv_func__fmodf_use=yes
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57354 glibcxx_cv_func__fmodf_use=no
57356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
57368 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
57370 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57372 for ac_func in _fmodf
57374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57375 echo "$as_me:$LINENO: checking for $ac_func" >&5
57376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57377 if eval "test \"\${$as_ac_var+set}\" = set"; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57380 if test x$gcc_no_link = xyes; then
57381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57383 { (exit 1); exit 1; }; }
57385 cat >conftest.$ac_ext <<_ACEOF
57386 /* confdefs.h. */
57387 _ACEOF
57388 cat confdefs.h >>conftest.$ac_ext
57389 cat >>conftest.$ac_ext <<_ACEOF
57390 /* end confdefs.h. */
57391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57393 #define $ac_func innocuous_$ac_func
57395 /* System header to define __stub macros and hopefully few prototypes,
57396 which can conflict with char $ac_func (); below.
57397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57398 <limits.h> exists even on freestanding compilers. */
57400 #ifdef __STDC__
57401 # include <limits.h>
57402 #else
57403 # include <assert.h>
57404 #endif
57406 #undef $ac_func
57408 /* Override any gcc2 internal prototype to avoid an error. */
57409 #ifdef __cplusplus
57410 extern "C"
57412 #endif
57413 /* We use char because int might match the return type of a gcc2
57414 builtin and then its argument prototype would still apply. */
57415 char $ac_func ();
57416 /* The GNU C library defines this for functions which it implements
57417 to always fail with ENOSYS. Some functions are actually named
57418 something starting with __ and the normal name is an alias. */
57419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57420 choke me
57421 #else
57422 char (*f) () = $ac_func;
57423 #endif
57424 #ifdef __cplusplus
57426 #endif
57429 main ()
57431 return f != $ac_func;
57433 return 0;
57435 _ACEOF
57436 rm -f conftest.$ac_objext conftest$ac_exeext
57437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57438 (eval $ac_link) 2>conftest.er1
57439 ac_status=$?
57440 grep -v '^ *+' conftest.er1 >conftest.err
57441 rm -f conftest.er1
57442 cat conftest.err >&5
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); } &&
57445 { ac_try='test -z "$ac_c_werror_flag"
57446 || test ! -s conftest.err'
57447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57448 (eval $ac_try) 2>&5
57449 ac_status=$?
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); }; } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57459 else
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57463 eval "$as_ac_var=no"
57465 rm -f conftest.err conftest.$ac_objext \
57466 conftest$ac_exeext conftest.$ac_ext
57468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57470 if test `eval echo '${'$as_ac_var'}'` = yes; then
57471 cat >>confdefs.h <<_ACEOF
57472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57473 _ACEOF
57476 done
57483 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
57484 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
57485 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57486 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
57487 echo $ECHO_N "(cached) $ECHO_C" >&6
57488 else
57492 ac_ext=cc
57493 ac_cpp='$CXXCPP $CPPFLAGS'
57494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57498 cat >conftest.$ac_ext <<_ACEOF
57499 /* confdefs.h. */
57500 _ACEOF
57501 cat confdefs.h >>conftest.$ac_ext
57502 cat >>conftest.$ac_ext <<_ACEOF
57503 /* end confdefs.h. */
57504 #include <math.h>
57506 main ()
57508 frexpf(0, 0);
57510 return 0;
57512 _ACEOF
57513 rm -f conftest.$ac_objext
57514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57515 (eval $ac_compile) 2>conftest.er1
57516 ac_status=$?
57517 grep -v '^ *+' conftest.er1 >conftest.err
57518 rm -f conftest.er1
57519 cat conftest.err >&5
57520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57521 (exit $ac_status); } &&
57522 { ac_try='test -z "$ac_cxx_werror_flag"
57523 || test ! -s conftest.err'
57524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57525 (eval $ac_try) 2>&5
57526 ac_status=$?
57527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528 (exit $ac_status); }; } &&
57529 { ac_try='test -s conftest.$ac_objext'
57530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57531 (eval $ac_try) 2>&5
57532 ac_status=$?
57533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57534 (exit $ac_status); }; }; then
57535 glibcxx_cv_func_frexpf_use=yes
57536 else
57537 echo "$as_me: failed program was:" >&5
57538 sed 's/^/| /' conftest.$ac_ext >&5
57540 glibcxx_cv_func_frexpf_use=no
57542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57543 ac_ext=c
57544 ac_cpp='$CPP $CPPFLAGS'
57545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
57554 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
57556 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57558 for ac_func in frexpf
57560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57561 echo "$as_me:$LINENO: checking for $ac_func" >&5
57562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57563 if eval "test \"\${$as_ac_var+set}\" = set"; then
57564 echo $ECHO_N "(cached) $ECHO_C" >&6
57565 else
57566 if test x$gcc_no_link = xyes; then
57567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57569 { (exit 1); exit 1; }; }
57571 cat >conftest.$ac_ext <<_ACEOF
57572 /* confdefs.h. */
57573 _ACEOF
57574 cat confdefs.h >>conftest.$ac_ext
57575 cat >>conftest.$ac_ext <<_ACEOF
57576 /* end confdefs.h. */
57577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57579 #define $ac_func innocuous_$ac_func
57581 /* System header to define __stub macros and hopefully few prototypes,
57582 which can conflict with char $ac_func (); below.
57583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57584 <limits.h> exists even on freestanding compilers. */
57586 #ifdef __STDC__
57587 # include <limits.h>
57588 #else
57589 # include <assert.h>
57590 #endif
57592 #undef $ac_func
57594 /* Override any gcc2 internal prototype to avoid an error. */
57595 #ifdef __cplusplus
57596 extern "C"
57598 #endif
57599 /* We use char because int might match the return type of a gcc2
57600 builtin and then its argument prototype would still apply. */
57601 char $ac_func ();
57602 /* The GNU C library defines this for functions which it implements
57603 to always fail with ENOSYS. Some functions are actually named
57604 something starting with __ and the normal name is an alias. */
57605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57606 choke me
57607 #else
57608 char (*f) () = $ac_func;
57609 #endif
57610 #ifdef __cplusplus
57612 #endif
57615 main ()
57617 return f != $ac_func;
57619 return 0;
57621 _ACEOF
57622 rm -f conftest.$ac_objext conftest$ac_exeext
57623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57624 (eval $ac_link) 2>conftest.er1
57625 ac_status=$?
57626 grep -v '^ *+' conftest.er1 >conftest.err
57627 rm -f conftest.er1
57628 cat conftest.err >&5
57629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630 (exit $ac_status); } &&
57631 { ac_try='test -z "$ac_c_werror_flag"
57632 || test ! -s conftest.err'
57633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57634 (eval $ac_try) 2>&5
57635 ac_status=$?
57636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637 (exit $ac_status); }; } &&
57638 { ac_try='test -s conftest$ac_exeext'
57639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57640 (eval $ac_try) 2>&5
57641 ac_status=$?
57642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643 (exit $ac_status); }; }; then
57644 eval "$as_ac_var=yes"
57645 else
57646 echo "$as_me: failed program was:" >&5
57647 sed 's/^/| /' conftest.$ac_ext >&5
57649 eval "$as_ac_var=no"
57651 rm -f conftest.err conftest.$ac_objext \
57652 conftest$ac_exeext conftest.$ac_ext
57654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57656 if test `eval echo '${'$as_ac_var'}'` = yes; then
57657 cat >>confdefs.h <<_ACEOF
57658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57659 _ACEOF
57662 done
57664 else
57666 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
57667 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
57668 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57669 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
57670 echo $ECHO_N "(cached) $ECHO_C" >&6
57671 else
57675 ac_ext=cc
57676 ac_cpp='$CXXCPP $CPPFLAGS'
57677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57681 cat >conftest.$ac_ext <<_ACEOF
57682 /* confdefs.h. */
57683 _ACEOF
57684 cat confdefs.h >>conftest.$ac_ext
57685 cat >>conftest.$ac_ext <<_ACEOF
57686 /* end confdefs.h. */
57687 #include <math.h>
57689 main ()
57691 _frexpf(0, 0);
57693 return 0;
57695 _ACEOF
57696 rm -f conftest.$ac_objext
57697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57698 (eval $ac_compile) 2>conftest.er1
57699 ac_status=$?
57700 grep -v '^ *+' conftest.er1 >conftest.err
57701 rm -f conftest.er1
57702 cat conftest.err >&5
57703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57704 (exit $ac_status); } &&
57705 { ac_try='test -z "$ac_cxx_werror_flag"
57706 || test ! -s conftest.err'
57707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57708 (eval $ac_try) 2>&5
57709 ac_status=$?
57710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57711 (exit $ac_status); }; } &&
57712 { ac_try='test -s conftest.$ac_objext'
57713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57714 (eval $ac_try) 2>&5
57715 ac_status=$?
57716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717 (exit $ac_status); }; }; then
57718 glibcxx_cv_func__frexpf_use=yes
57719 else
57720 echo "$as_me: failed program was:" >&5
57721 sed 's/^/| /' conftest.$ac_ext >&5
57723 glibcxx_cv_func__frexpf_use=no
57725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57726 ac_ext=c
57727 ac_cpp='$CPP $CPPFLAGS'
57728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
57737 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
57739 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57741 for ac_func in _frexpf
57743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57744 echo "$as_me:$LINENO: checking for $ac_func" >&5
57745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57746 if eval "test \"\${$as_ac_var+set}\" = set"; then
57747 echo $ECHO_N "(cached) $ECHO_C" >&6
57748 else
57749 if test x$gcc_no_link = xyes; then
57750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57752 { (exit 1); exit 1; }; }
57754 cat >conftest.$ac_ext <<_ACEOF
57755 /* confdefs.h. */
57756 _ACEOF
57757 cat confdefs.h >>conftest.$ac_ext
57758 cat >>conftest.$ac_ext <<_ACEOF
57759 /* end confdefs.h. */
57760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57762 #define $ac_func innocuous_$ac_func
57764 /* System header to define __stub macros and hopefully few prototypes,
57765 which can conflict with char $ac_func (); below.
57766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57767 <limits.h> exists even on freestanding compilers. */
57769 #ifdef __STDC__
57770 # include <limits.h>
57771 #else
57772 # include <assert.h>
57773 #endif
57775 #undef $ac_func
57777 /* Override any gcc2 internal prototype to avoid an error. */
57778 #ifdef __cplusplus
57779 extern "C"
57781 #endif
57782 /* We use char because int might match the return type of a gcc2
57783 builtin and then its argument prototype would still apply. */
57784 char $ac_func ();
57785 /* The GNU C library defines this for functions which it implements
57786 to always fail with ENOSYS. Some functions are actually named
57787 something starting with __ and the normal name is an alias. */
57788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57789 choke me
57790 #else
57791 char (*f) () = $ac_func;
57792 #endif
57793 #ifdef __cplusplus
57795 #endif
57798 main ()
57800 return f != $ac_func;
57802 return 0;
57804 _ACEOF
57805 rm -f conftest.$ac_objext conftest$ac_exeext
57806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57807 (eval $ac_link) 2>conftest.er1
57808 ac_status=$?
57809 grep -v '^ *+' conftest.er1 >conftest.err
57810 rm -f conftest.er1
57811 cat conftest.err >&5
57812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57813 (exit $ac_status); } &&
57814 { ac_try='test -z "$ac_c_werror_flag"
57815 || test ! -s conftest.err'
57816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57817 (eval $ac_try) 2>&5
57818 ac_status=$?
57819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820 (exit $ac_status); }; } &&
57821 { ac_try='test -s conftest$ac_exeext'
57822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57823 (eval $ac_try) 2>&5
57824 ac_status=$?
57825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826 (exit $ac_status); }; }; then
57827 eval "$as_ac_var=yes"
57828 else
57829 echo "$as_me: failed program was:" >&5
57830 sed 's/^/| /' conftest.$ac_ext >&5
57832 eval "$as_ac_var=no"
57834 rm -f conftest.err conftest.$ac_objext \
57835 conftest$ac_exeext conftest.$ac_ext
57837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57839 if test `eval echo '${'$as_ac_var'}'` = yes; then
57840 cat >>confdefs.h <<_ACEOF
57841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57842 _ACEOF
57845 done
57852 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
57853 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
57854 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57855 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
57856 echo $ECHO_N "(cached) $ECHO_C" >&6
57857 else
57861 ac_ext=cc
57862 ac_cpp='$CXXCPP $CPPFLAGS'
57863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57867 cat >conftest.$ac_ext <<_ACEOF
57868 /* confdefs.h. */
57869 _ACEOF
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h. */
57873 #include <math.h>
57875 main ()
57877 hypotf(0, 0);
57879 return 0;
57881 _ACEOF
57882 rm -f conftest.$ac_objext
57883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57884 (eval $ac_compile) 2>conftest.er1
57885 ac_status=$?
57886 grep -v '^ *+' conftest.er1 >conftest.err
57887 rm -f conftest.er1
57888 cat conftest.err >&5
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); } &&
57891 { ac_try='test -z "$ac_cxx_werror_flag"
57892 || test ! -s conftest.err'
57893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57894 (eval $ac_try) 2>&5
57895 ac_status=$?
57896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57897 (exit $ac_status); }; } &&
57898 { ac_try='test -s conftest.$ac_objext'
57899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57900 (eval $ac_try) 2>&5
57901 ac_status=$?
57902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57903 (exit $ac_status); }; }; then
57904 glibcxx_cv_func_hypotf_use=yes
57905 else
57906 echo "$as_me: failed program was:" >&5
57907 sed 's/^/| /' conftest.$ac_ext >&5
57909 glibcxx_cv_func_hypotf_use=no
57911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57912 ac_ext=c
57913 ac_cpp='$CPP $CPPFLAGS'
57914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
57923 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
57925 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57927 for ac_func in hypotf
57929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57930 echo "$as_me:$LINENO: checking for $ac_func" >&5
57931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57932 if eval "test \"\${$as_ac_var+set}\" = set"; then
57933 echo $ECHO_N "(cached) $ECHO_C" >&6
57934 else
57935 if test x$gcc_no_link = xyes; then
57936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57938 { (exit 1); exit 1; }; }
57940 cat >conftest.$ac_ext <<_ACEOF
57941 /* confdefs.h. */
57942 _ACEOF
57943 cat confdefs.h >>conftest.$ac_ext
57944 cat >>conftest.$ac_ext <<_ACEOF
57945 /* end confdefs.h. */
57946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57948 #define $ac_func innocuous_$ac_func
57950 /* System header to define __stub macros and hopefully few prototypes,
57951 which can conflict with char $ac_func (); below.
57952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57953 <limits.h> exists even on freestanding compilers. */
57955 #ifdef __STDC__
57956 # include <limits.h>
57957 #else
57958 # include <assert.h>
57959 #endif
57961 #undef $ac_func
57963 /* Override any gcc2 internal prototype to avoid an error. */
57964 #ifdef __cplusplus
57965 extern "C"
57967 #endif
57968 /* We use char because int might match the return type of a gcc2
57969 builtin and then its argument prototype would still apply. */
57970 char $ac_func ();
57971 /* The GNU C library defines this for functions which it implements
57972 to always fail with ENOSYS. Some functions are actually named
57973 something starting with __ and the normal name is an alias. */
57974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57975 choke me
57976 #else
57977 char (*f) () = $ac_func;
57978 #endif
57979 #ifdef __cplusplus
57981 #endif
57984 main ()
57986 return f != $ac_func;
57988 return 0;
57990 _ACEOF
57991 rm -f conftest.$ac_objext conftest$ac_exeext
57992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57993 (eval $ac_link) 2>conftest.er1
57994 ac_status=$?
57995 grep -v '^ *+' conftest.er1 >conftest.err
57996 rm -f conftest.er1
57997 cat conftest.err >&5
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); } &&
58000 { ac_try='test -z "$ac_c_werror_flag"
58001 || test ! -s conftest.err'
58002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58003 (eval $ac_try) 2>&5
58004 ac_status=$?
58005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58006 (exit $ac_status); }; } &&
58007 { ac_try='test -s conftest$ac_exeext'
58008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58009 (eval $ac_try) 2>&5
58010 ac_status=$?
58011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58012 (exit $ac_status); }; }; then
58013 eval "$as_ac_var=yes"
58014 else
58015 echo "$as_me: failed program was:" >&5
58016 sed 's/^/| /' conftest.$ac_ext >&5
58018 eval "$as_ac_var=no"
58020 rm -f conftest.err conftest.$ac_objext \
58021 conftest$ac_exeext conftest.$ac_ext
58023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58025 if test `eval echo '${'$as_ac_var'}'` = yes; then
58026 cat >>confdefs.h <<_ACEOF
58027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58028 _ACEOF
58031 done
58033 else
58035 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
58036 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
58037 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58038 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
58039 echo $ECHO_N "(cached) $ECHO_C" >&6
58040 else
58044 ac_ext=cc
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050 cat >conftest.$ac_ext <<_ACEOF
58051 /* confdefs.h. */
58052 _ACEOF
58053 cat confdefs.h >>conftest.$ac_ext
58054 cat >>conftest.$ac_ext <<_ACEOF
58055 /* end confdefs.h. */
58056 #include <math.h>
58058 main ()
58060 _hypotf(0, 0);
58062 return 0;
58064 _ACEOF
58065 rm -f conftest.$ac_objext
58066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58067 (eval $ac_compile) 2>conftest.er1
58068 ac_status=$?
58069 grep -v '^ *+' conftest.er1 >conftest.err
58070 rm -f conftest.er1
58071 cat conftest.err >&5
58072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58073 (exit $ac_status); } &&
58074 { ac_try='test -z "$ac_cxx_werror_flag"
58075 || test ! -s conftest.err'
58076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58077 (eval $ac_try) 2>&5
58078 ac_status=$?
58079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58080 (exit $ac_status); }; } &&
58081 { ac_try='test -s conftest.$ac_objext'
58082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58083 (eval $ac_try) 2>&5
58084 ac_status=$?
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); }; }; then
58087 glibcxx_cv_func__hypotf_use=yes
58088 else
58089 echo "$as_me: failed program was:" >&5
58090 sed 's/^/| /' conftest.$ac_ext >&5
58092 glibcxx_cv_func__hypotf_use=no
58094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58095 ac_ext=c
58096 ac_cpp='$CPP $CPPFLAGS'
58097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
58106 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
58108 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58110 for ac_func in _hypotf
58112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58113 echo "$as_me:$LINENO: checking for $ac_func" >&5
58114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58115 if eval "test \"\${$as_ac_var+set}\" = set"; then
58116 echo $ECHO_N "(cached) $ECHO_C" >&6
58117 else
58118 if test x$gcc_no_link = xyes; then
58119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58121 { (exit 1); exit 1; }; }
58123 cat >conftest.$ac_ext <<_ACEOF
58124 /* confdefs.h. */
58125 _ACEOF
58126 cat confdefs.h >>conftest.$ac_ext
58127 cat >>conftest.$ac_ext <<_ACEOF
58128 /* end confdefs.h. */
58129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58131 #define $ac_func innocuous_$ac_func
58133 /* System header to define __stub macros and hopefully few prototypes,
58134 which can conflict with char $ac_func (); below.
58135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58136 <limits.h> exists even on freestanding compilers. */
58138 #ifdef __STDC__
58139 # include <limits.h>
58140 #else
58141 # include <assert.h>
58142 #endif
58144 #undef $ac_func
58146 /* Override any gcc2 internal prototype to avoid an error. */
58147 #ifdef __cplusplus
58148 extern "C"
58150 #endif
58151 /* We use char because int might match the return type of a gcc2
58152 builtin and then its argument prototype would still apply. */
58153 char $ac_func ();
58154 /* The GNU C library defines this for functions which it implements
58155 to always fail with ENOSYS. Some functions are actually named
58156 something starting with __ and the normal name is an alias. */
58157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58158 choke me
58159 #else
58160 char (*f) () = $ac_func;
58161 #endif
58162 #ifdef __cplusplus
58164 #endif
58167 main ()
58169 return f != $ac_func;
58171 return 0;
58173 _ACEOF
58174 rm -f conftest.$ac_objext conftest$ac_exeext
58175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58176 (eval $ac_link) 2>conftest.er1
58177 ac_status=$?
58178 grep -v '^ *+' conftest.er1 >conftest.err
58179 rm -f conftest.er1
58180 cat conftest.err >&5
58181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58182 (exit $ac_status); } &&
58183 { ac_try='test -z "$ac_c_werror_flag"
58184 || test ! -s conftest.err'
58185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58186 (eval $ac_try) 2>&5
58187 ac_status=$?
58188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189 (exit $ac_status); }; } &&
58190 { ac_try='test -s conftest$ac_exeext'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; }; then
58196 eval "$as_ac_var=yes"
58197 else
58198 echo "$as_me: failed program was:" >&5
58199 sed 's/^/| /' conftest.$ac_ext >&5
58201 eval "$as_ac_var=no"
58203 rm -f conftest.err conftest.$ac_objext \
58204 conftest$ac_exeext conftest.$ac_ext
58206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58208 if test `eval echo '${'$as_ac_var'}'` = yes; then
58209 cat >>confdefs.h <<_ACEOF
58210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58211 _ACEOF
58214 done
58221 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
58222 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
58223 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58224 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
58225 echo $ECHO_N "(cached) $ECHO_C" >&6
58226 else
58230 ac_ext=cc
58231 ac_cpp='$CXXCPP $CPPFLAGS'
58232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58236 cat >conftest.$ac_ext <<_ACEOF
58237 /* confdefs.h. */
58238 _ACEOF
58239 cat confdefs.h >>conftest.$ac_ext
58240 cat >>conftest.$ac_ext <<_ACEOF
58241 /* end confdefs.h. */
58242 #include <math.h>
58244 main ()
58246 ldexpf(0, 0);
58248 return 0;
58250 _ACEOF
58251 rm -f conftest.$ac_objext
58252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58253 (eval $ac_compile) 2>conftest.er1
58254 ac_status=$?
58255 grep -v '^ *+' conftest.er1 >conftest.err
58256 rm -f conftest.er1
58257 cat conftest.err >&5
58258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58259 (exit $ac_status); } &&
58260 { ac_try='test -z "$ac_cxx_werror_flag"
58261 || test ! -s conftest.err'
58262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58263 (eval $ac_try) 2>&5
58264 ac_status=$?
58265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266 (exit $ac_status); }; } &&
58267 { ac_try='test -s conftest.$ac_objext'
58268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269 (eval $ac_try) 2>&5
58270 ac_status=$?
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); }; }; then
58273 glibcxx_cv_func_ldexpf_use=yes
58274 else
58275 echo "$as_me: failed program was:" >&5
58276 sed 's/^/| /' conftest.$ac_ext >&5
58278 glibcxx_cv_func_ldexpf_use=no
58280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58281 ac_ext=c
58282 ac_cpp='$CPP $CPPFLAGS'
58283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
58292 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
58294 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58296 for ac_func in ldexpf
58298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58299 echo "$as_me:$LINENO: checking for $ac_func" >&5
58300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58301 if eval "test \"\${$as_ac_var+set}\" = set"; then
58302 echo $ECHO_N "(cached) $ECHO_C" >&6
58303 else
58304 if test x$gcc_no_link = xyes; then
58305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58307 { (exit 1); exit 1; }; }
58309 cat >conftest.$ac_ext <<_ACEOF
58310 /* confdefs.h. */
58311 _ACEOF
58312 cat confdefs.h >>conftest.$ac_ext
58313 cat >>conftest.$ac_ext <<_ACEOF
58314 /* end confdefs.h. */
58315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58317 #define $ac_func innocuous_$ac_func
58319 /* System header to define __stub macros and hopefully few prototypes,
58320 which can conflict with char $ac_func (); below.
58321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58322 <limits.h> exists even on freestanding compilers. */
58324 #ifdef __STDC__
58325 # include <limits.h>
58326 #else
58327 # include <assert.h>
58328 #endif
58330 #undef $ac_func
58332 /* Override any gcc2 internal prototype to avoid an error. */
58333 #ifdef __cplusplus
58334 extern "C"
58336 #endif
58337 /* We use char because int might match the return type of a gcc2
58338 builtin and then its argument prototype would still apply. */
58339 char $ac_func ();
58340 /* The GNU C library defines this for functions which it implements
58341 to always fail with ENOSYS. Some functions are actually named
58342 something starting with __ and the normal name is an alias. */
58343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58344 choke me
58345 #else
58346 char (*f) () = $ac_func;
58347 #endif
58348 #ifdef __cplusplus
58350 #endif
58353 main ()
58355 return f != $ac_func;
58357 return 0;
58359 _ACEOF
58360 rm -f conftest.$ac_objext conftest$ac_exeext
58361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58362 (eval $ac_link) 2>conftest.er1
58363 ac_status=$?
58364 grep -v '^ *+' conftest.er1 >conftest.err
58365 rm -f conftest.er1
58366 cat conftest.err >&5
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); } &&
58369 { ac_try='test -z "$ac_c_werror_flag"
58370 || test ! -s conftest.err'
58371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58372 (eval $ac_try) 2>&5
58373 ac_status=$?
58374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58375 (exit $ac_status); }; } &&
58376 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
58382 eval "$as_ac_var=yes"
58383 else
58384 echo "$as_me: failed program was:" >&5
58385 sed 's/^/| /' conftest.$ac_ext >&5
58387 eval "$as_ac_var=no"
58389 rm -f conftest.err conftest.$ac_objext \
58390 conftest$ac_exeext conftest.$ac_ext
58392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58394 if test `eval echo '${'$as_ac_var'}'` = yes; then
58395 cat >>confdefs.h <<_ACEOF
58396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58397 _ACEOF
58400 done
58402 else
58404 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
58405 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
58406 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58407 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
58408 echo $ECHO_N "(cached) $ECHO_C" >&6
58409 else
58413 ac_ext=cc
58414 ac_cpp='$CXXCPP $CPPFLAGS'
58415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58419 cat >conftest.$ac_ext <<_ACEOF
58420 /* confdefs.h. */
58421 _ACEOF
58422 cat confdefs.h >>conftest.$ac_ext
58423 cat >>conftest.$ac_ext <<_ACEOF
58424 /* end confdefs.h. */
58425 #include <math.h>
58427 main ()
58429 _ldexpf(0, 0);
58431 return 0;
58433 _ACEOF
58434 rm -f conftest.$ac_objext
58435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58436 (eval $ac_compile) 2>conftest.er1
58437 ac_status=$?
58438 grep -v '^ *+' conftest.er1 >conftest.err
58439 rm -f conftest.er1
58440 cat conftest.err >&5
58441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58442 (exit $ac_status); } &&
58443 { ac_try='test -z "$ac_cxx_werror_flag"
58444 || test ! -s conftest.err'
58445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58446 (eval $ac_try) 2>&5
58447 ac_status=$?
58448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58449 (exit $ac_status); }; } &&
58450 { ac_try='test -s conftest.$ac_objext'
58451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58452 (eval $ac_try) 2>&5
58453 ac_status=$?
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); }; }; then
58456 glibcxx_cv_func__ldexpf_use=yes
58457 else
58458 echo "$as_me: failed program was:" >&5
58459 sed 's/^/| /' conftest.$ac_ext >&5
58461 glibcxx_cv_func__ldexpf_use=no
58463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
58475 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
58477 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58479 for ac_func in _ldexpf
58481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58482 echo "$as_me:$LINENO: checking for $ac_func" >&5
58483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58484 if eval "test \"\${$as_ac_var+set}\" = set"; then
58485 echo $ECHO_N "(cached) $ECHO_C" >&6
58486 else
58487 if test x$gcc_no_link = xyes; then
58488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58490 { (exit 1); exit 1; }; }
58492 cat >conftest.$ac_ext <<_ACEOF
58493 /* confdefs.h. */
58494 _ACEOF
58495 cat confdefs.h >>conftest.$ac_ext
58496 cat >>conftest.$ac_ext <<_ACEOF
58497 /* end confdefs.h. */
58498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58500 #define $ac_func innocuous_$ac_func
58502 /* System header to define __stub macros and hopefully few prototypes,
58503 which can conflict with char $ac_func (); below.
58504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58505 <limits.h> exists even on freestanding compilers. */
58507 #ifdef __STDC__
58508 # include <limits.h>
58509 #else
58510 # include <assert.h>
58511 #endif
58513 #undef $ac_func
58515 /* Override any gcc2 internal prototype to avoid an error. */
58516 #ifdef __cplusplus
58517 extern "C"
58519 #endif
58520 /* We use char because int might match the return type of a gcc2
58521 builtin and then its argument prototype would still apply. */
58522 char $ac_func ();
58523 /* The GNU C library defines this for functions which it implements
58524 to always fail with ENOSYS. Some functions are actually named
58525 something starting with __ and the normal name is an alias. */
58526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58527 choke me
58528 #else
58529 char (*f) () = $ac_func;
58530 #endif
58531 #ifdef __cplusplus
58533 #endif
58536 main ()
58538 return f != $ac_func;
58540 return 0;
58542 _ACEOF
58543 rm -f conftest.$ac_objext conftest$ac_exeext
58544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58545 (eval $ac_link) 2>conftest.er1
58546 ac_status=$?
58547 grep -v '^ *+' conftest.er1 >conftest.err
58548 rm -f conftest.er1
58549 cat conftest.err >&5
58550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58551 (exit $ac_status); } &&
58552 { ac_try='test -z "$ac_c_werror_flag"
58553 || test ! -s conftest.err'
58554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58555 (eval $ac_try) 2>&5
58556 ac_status=$?
58557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58558 (exit $ac_status); }; } &&
58559 { ac_try='test -s conftest$ac_exeext'
58560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58561 (eval $ac_try) 2>&5
58562 ac_status=$?
58563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58564 (exit $ac_status); }; }; then
58565 eval "$as_ac_var=yes"
58566 else
58567 echo "$as_me: failed program was:" >&5
58568 sed 's/^/| /' conftest.$ac_ext >&5
58570 eval "$as_ac_var=no"
58572 rm -f conftest.err conftest.$ac_objext \
58573 conftest$ac_exeext conftest.$ac_ext
58575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58577 if test `eval echo '${'$as_ac_var'}'` = yes; then
58578 cat >>confdefs.h <<_ACEOF
58579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58580 _ACEOF
58583 done
58590 echo "$as_me:$LINENO: checking for logf declaration" >&5
58591 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
58592 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58593 if test "${glibcxx_cv_func_logf_use+set}" = set; then
58594 echo $ECHO_N "(cached) $ECHO_C" >&6
58595 else
58599 ac_ext=cc
58600 ac_cpp='$CXXCPP $CPPFLAGS'
58601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58605 cat >conftest.$ac_ext <<_ACEOF
58606 /* confdefs.h. */
58607 _ACEOF
58608 cat confdefs.h >>conftest.$ac_ext
58609 cat >>conftest.$ac_ext <<_ACEOF
58610 /* end confdefs.h. */
58611 #include <math.h>
58612 #ifdef HAVE_IEEEFP_H
58613 #include <ieeefp.h>
58614 #endif
58617 main ()
58619 logf(0);
58621 return 0;
58623 _ACEOF
58624 rm -f conftest.$ac_objext
58625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58626 (eval $ac_compile) 2>conftest.er1
58627 ac_status=$?
58628 grep -v '^ *+' conftest.er1 >conftest.err
58629 rm -f conftest.er1
58630 cat conftest.err >&5
58631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58632 (exit $ac_status); } &&
58633 { ac_try='test -z "$ac_cxx_werror_flag"
58634 || test ! -s conftest.err'
58635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58636 (eval $ac_try) 2>&5
58637 ac_status=$?
58638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58639 (exit $ac_status); }; } &&
58640 { ac_try='test -s conftest.$ac_objext'
58641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58642 (eval $ac_try) 2>&5
58643 ac_status=$?
58644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645 (exit $ac_status); }; }; then
58646 glibcxx_cv_func_logf_use=yes
58647 else
58648 echo "$as_me: failed program was:" >&5
58649 sed 's/^/| /' conftest.$ac_ext >&5
58651 glibcxx_cv_func_logf_use=no
58653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58654 ac_ext=c
58655 ac_cpp='$CPP $CPPFLAGS'
58656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
58665 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
58667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58669 for ac_func in logf
58671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58672 echo "$as_me:$LINENO: checking for $ac_func" >&5
58673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58674 if eval "test \"\${$as_ac_var+set}\" = set"; then
58675 echo $ECHO_N "(cached) $ECHO_C" >&6
58676 else
58677 if test x$gcc_no_link = xyes; then
58678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58680 { (exit 1); exit 1; }; }
58682 cat >conftest.$ac_ext <<_ACEOF
58683 /* confdefs.h. */
58684 _ACEOF
58685 cat confdefs.h >>conftest.$ac_ext
58686 cat >>conftest.$ac_ext <<_ACEOF
58687 /* end confdefs.h. */
58688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58690 #define $ac_func innocuous_$ac_func
58692 /* System header to define __stub macros and hopefully few prototypes,
58693 which can conflict with char $ac_func (); below.
58694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58695 <limits.h> exists even on freestanding compilers. */
58697 #ifdef __STDC__
58698 # include <limits.h>
58699 #else
58700 # include <assert.h>
58701 #endif
58703 #undef $ac_func
58705 /* Override any gcc2 internal prototype to avoid an error. */
58706 #ifdef __cplusplus
58707 extern "C"
58709 #endif
58710 /* We use char because int might match the return type of a gcc2
58711 builtin and then its argument prototype would still apply. */
58712 char $ac_func ();
58713 /* The GNU C library defines this for functions which it implements
58714 to always fail with ENOSYS. Some functions are actually named
58715 something starting with __ and the normal name is an alias. */
58716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58717 choke me
58718 #else
58719 char (*f) () = $ac_func;
58720 #endif
58721 #ifdef __cplusplus
58723 #endif
58726 main ()
58728 return f != $ac_func;
58730 return 0;
58732 _ACEOF
58733 rm -f conftest.$ac_objext conftest$ac_exeext
58734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58735 (eval $ac_link) 2>conftest.er1
58736 ac_status=$?
58737 grep -v '^ *+' conftest.er1 >conftest.err
58738 rm -f conftest.er1
58739 cat conftest.err >&5
58740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58741 (exit $ac_status); } &&
58742 { ac_try='test -z "$ac_c_werror_flag"
58743 || test ! -s conftest.err'
58744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58745 (eval $ac_try) 2>&5
58746 ac_status=$?
58747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58748 (exit $ac_status); }; } &&
58749 { ac_try='test -s conftest$ac_exeext'
58750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58751 (eval $ac_try) 2>&5
58752 ac_status=$?
58753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754 (exit $ac_status); }; }; then
58755 eval "$as_ac_var=yes"
58756 else
58757 echo "$as_me: failed program was:" >&5
58758 sed 's/^/| /' conftest.$ac_ext >&5
58760 eval "$as_ac_var=no"
58762 rm -f conftest.err conftest.$ac_objext \
58763 conftest$ac_exeext conftest.$ac_ext
58765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58767 if test `eval echo '${'$as_ac_var'}'` = yes; then
58768 cat >>confdefs.h <<_ACEOF
58769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58770 _ACEOF
58773 done
58775 else
58777 echo "$as_me:$LINENO: checking for _logf declaration" >&5
58778 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
58779 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58780 if test "${glibcxx_cv_func__logf_use+set}" = set; then
58781 echo $ECHO_N "(cached) $ECHO_C" >&6
58782 else
58786 ac_ext=cc
58787 ac_cpp='$CXXCPP $CPPFLAGS'
58788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58792 cat >conftest.$ac_ext <<_ACEOF
58793 /* confdefs.h. */
58794 _ACEOF
58795 cat confdefs.h >>conftest.$ac_ext
58796 cat >>conftest.$ac_ext <<_ACEOF
58797 /* end confdefs.h. */
58798 #include <math.h>
58799 #ifdef HAVE_IEEEFP_H
58800 #include <ieeefp.h>
58801 #endif
58804 main ()
58806 _logf(0);
58808 return 0;
58810 _ACEOF
58811 rm -f conftest.$ac_objext
58812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58813 (eval $ac_compile) 2>conftest.er1
58814 ac_status=$?
58815 grep -v '^ *+' conftest.er1 >conftest.err
58816 rm -f conftest.er1
58817 cat conftest.err >&5
58818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58819 (exit $ac_status); } &&
58820 { ac_try='test -z "$ac_cxx_werror_flag"
58821 || test ! -s conftest.err'
58822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58823 (eval $ac_try) 2>&5
58824 ac_status=$?
58825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58826 (exit $ac_status); }; } &&
58827 { ac_try='test -s conftest.$ac_objext'
58828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58829 (eval $ac_try) 2>&5
58830 ac_status=$?
58831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832 (exit $ac_status); }; }; then
58833 glibcxx_cv_func__logf_use=yes
58834 else
58835 echo "$as_me: failed program was:" >&5
58836 sed 's/^/| /' conftest.$ac_ext >&5
58838 glibcxx_cv_func__logf_use=no
58840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58841 ac_ext=c
58842 ac_cpp='$CPP $CPPFLAGS'
58843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
58852 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
58854 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58856 for ac_func in _logf
58858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58859 echo "$as_me:$LINENO: checking for $ac_func" >&5
58860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58861 if eval "test \"\${$as_ac_var+set}\" = set"; then
58862 echo $ECHO_N "(cached) $ECHO_C" >&6
58863 else
58864 if test x$gcc_no_link = xyes; then
58865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58867 { (exit 1); exit 1; }; }
58869 cat >conftest.$ac_ext <<_ACEOF
58870 /* confdefs.h. */
58871 _ACEOF
58872 cat confdefs.h >>conftest.$ac_ext
58873 cat >>conftest.$ac_ext <<_ACEOF
58874 /* end confdefs.h. */
58875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58877 #define $ac_func innocuous_$ac_func
58879 /* System header to define __stub macros and hopefully few prototypes,
58880 which can conflict with char $ac_func (); below.
58881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58882 <limits.h> exists even on freestanding compilers. */
58884 #ifdef __STDC__
58885 # include <limits.h>
58886 #else
58887 # include <assert.h>
58888 #endif
58890 #undef $ac_func
58892 /* Override any gcc2 internal prototype to avoid an error. */
58893 #ifdef __cplusplus
58894 extern "C"
58896 #endif
58897 /* We use char because int might match the return type of a gcc2
58898 builtin and then its argument prototype would still apply. */
58899 char $ac_func ();
58900 /* The GNU C library defines this for functions which it implements
58901 to always fail with ENOSYS. Some functions are actually named
58902 something starting with __ and the normal name is an alias. */
58903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58904 choke me
58905 #else
58906 char (*f) () = $ac_func;
58907 #endif
58908 #ifdef __cplusplus
58910 #endif
58913 main ()
58915 return f != $ac_func;
58917 return 0;
58919 _ACEOF
58920 rm -f conftest.$ac_objext conftest$ac_exeext
58921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58922 (eval $ac_link) 2>conftest.er1
58923 ac_status=$?
58924 grep -v '^ *+' conftest.er1 >conftest.err
58925 rm -f conftest.er1
58926 cat conftest.err >&5
58927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58928 (exit $ac_status); } &&
58929 { ac_try='test -z "$ac_c_werror_flag"
58930 || test ! -s conftest.err'
58931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58932 (eval $ac_try) 2>&5
58933 ac_status=$?
58934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58935 (exit $ac_status); }; } &&
58936 { ac_try='test -s conftest$ac_exeext'
58937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58938 (eval $ac_try) 2>&5
58939 ac_status=$?
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); }; }; then
58942 eval "$as_ac_var=yes"
58943 else
58944 echo "$as_me: failed program was:" >&5
58945 sed 's/^/| /' conftest.$ac_ext >&5
58947 eval "$as_ac_var=no"
58949 rm -f conftest.err conftest.$ac_objext \
58950 conftest$ac_exeext conftest.$ac_ext
58952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58954 if test `eval echo '${'$as_ac_var'}'` = yes; then
58955 cat >>confdefs.h <<_ACEOF
58956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58957 _ACEOF
58960 done
58967 echo "$as_me:$LINENO: checking for log10f declaration" >&5
58968 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
58969 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58970 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
58971 echo $ECHO_N "(cached) $ECHO_C" >&6
58972 else
58976 ac_ext=cc
58977 ac_cpp='$CXXCPP $CPPFLAGS'
58978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58982 cat >conftest.$ac_ext <<_ACEOF
58983 /* confdefs.h. */
58984 _ACEOF
58985 cat confdefs.h >>conftest.$ac_ext
58986 cat >>conftest.$ac_ext <<_ACEOF
58987 /* end confdefs.h. */
58988 #include <math.h>
58989 #ifdef HAVE_IEEEFP_H
58990 #include <ieeefp.h>
58991 #endif
58994 main ()
58996 log10f(0);
58998 return 0;
59000 _ACEOF
59001 rm -f conftest.$ac_objext
59002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59003 (eval $ac_compile) 2>conftest.er1
59004 ac_status=$?
59005 grep -v '^ *+' conftest.er1 >conftest.err
59006 rm -f conftest.er1
59007 cat conftest.err >&5
59008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59009 (exit $ac_status); } &&
59010 { ac_try='test -z "$ac_cxx_werror_flag"
59011 || test ! -s conftest.err'
59012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59013 (eval $ac_try) 2>&5
59014 ac_status=$?
59015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59016 (exit $ac_status); }; } &&
59017 { ac_try='test -s conftest.$ac_objext'
59018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59019 (eval $ac_try) 2>&5
59020 ac_status=$?
59021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59022 (exit $ac_status); }; }; then
59023 glibcxx_cv_func_log10f_use=yes
59024 else
59025 echo "$as_me: failed program was:" >&5
59026 sed 's/^/| /' conftest.$ac_ext >&5
59028 glibcxx_cv_func_log10f_use=no
59030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59031 ac_ext=c
59032 ac_cpp='$CPP $CPPFLAGS'
59033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
59042 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
59044 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59046 for ac_func in log10f
59048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59049 echo "$as_me:$LINENO: checking for $ac_func" >&5
59050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59051 if eval "test \"\${$as_ac_var+set}\" = set"; then
59052 echo $ECHO_N "(cached) $ECHO_C" >&6
59053 else
59054 if test x$gcc_no_link = xyes; then
59055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59057 { (exit 1); exit 1; }; }
59059 cat >conftest.$ac_ext <<_ACEOF
59060 /* confdefs.h. */
59061 _ACEOF
59062 cat confdefs.h >>conftest.$ac_ext
59063 cat >>conftest.$ac_ext <<_ACEOF
59064 /* end confdefs.h. */
59065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59067 #define $ac_func innocuous_$ac_func
59069 /* System header to define __stub macros and hopefully few prototypes,
59070 which can conflict with char $ac_func (); below.
59071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59072 <limits.h> exists even on freestanding compilers. */
59074 #ifdef __STDC__
59075 # include <limits.h>
59076 #else
59077 # include <assert.h>
59078 #endif
59080 #undef $ac_func
59082 /* Override any gcc2 internal prototype to avoid an error. */
59083 #ifdef __cplusplus
59084 extern "C"
59086 #endif
59087 /* We use char because int might match the return type of a gcc2
59088 builtin and then its argument prototype would still apply. */
59089 char $ac_func ();
59090 /* The GNU C library defines this for functions which it implements
59091 to always fail with ENOSYS. Some functions are actually named
59092 something starting with __ and the normal name is an alias. */
59093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59094 choke me
59095 #else
59096 char (*f) () = $ac_func;
59097 #endif
59098 #ifdef __cplusplus
59100 #endif
59103 main ()
59105 return f != $ac_func;
59107 return 0;
59109 _ACEOF
59110 rm -f conftest.$ac_objext conftest$ac_exeext
59111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59112 (eval $ac_link) 2>conftest.er1
59113 ac_status=$?
59114 grep -v '^ *+' conftest.er1 >conftest.err
59115 rm -f conftest.er1
59116 cat conftest.err >&5
59117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59118 (exit $ac_status); } &&
59119 { ac_try='test -z "$ac_c_werror_flag"
59120 || test ! -s conftest.err'
59121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59122 (eval $ac_try) 2>&5
59123 ac_status=$?
59124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59125 (exit $ac_status); }; } &&
59126 { ac_try='test -s conftest$ac_exeext'
59127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59128 (eval $ac_try) 2>&5
59129 ac_status=$?
59130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59131 (exit $ac_status); }; }; then
59132 eval "$as_ac_var=yes"
59133 else
59134 echo "$as_me: failed program was:" >&5
59135 sed 's/^/| /' conftest.$ac_ext >&5
59137 eval "$as_ac_var=no"
59139 rm -f conftest.err conftest.$ac_objext \
59140 conftest$ac_exeext conftest.$ac_ext
59142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59144 if test `eval echo '${'$as_ac_var'}'` = yes; then
59145 cat >>confdefs.h <<_ACEOF
59146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59147 _ACEOF
59150 done
59152 else
59154 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
59155 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
59156 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59157 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
59158 echo $ECHO_N "(cached) $ECHO_C" >&6
59159 else
59163 ac_ext=cc
59164 ac_cpp='$CXXCPP $CPPFLAGS'
59165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59169 cat >conftest.$ac_ext <<_ACEOF
59170 /* confdefs.h. */
59171 _ACEOF
59172 cat confdefs.h >>conftest.$ac_ext
59173 cat >>conftest.$ac_ext <<_ACEOF
59174 /* end confdefs.h. */
59175 #include <math.h>
59176 #ifdef HAVE_IEEEFP_H
59177 #include <ieeefp.h>
59178 #endif
59181 main ()
59183 _log10f(0);
59185 return 0;
59187 _ACEOF
59188 rm -f conftest.$ac_objext
59189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59190 (eval $ac_compile) 2>conftest.er1
59191 ac_status=$?
59192 grep -v '^ *+' conftest.er1 >conftest.err
59193 rm -f conftest.er1
59194 cat conftest.err >&5
59195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196 (exit $ac_status); } &&
59197 { ac_try='test -z "$ac_cxx_werror_flag"
59198 || test ! -s conftest.err'
59199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59200 (eval $ac_try) 2>&5
59201 ac_status=$?
59202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59203 (exit $ac_status); }; } &&
59204 { ac_try='test -s conftest.$ac_objext'
59205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59206 (eval $ac_try) 2>&5
59207 ac_status=$?
59208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59209 (exit $ac_status); }; }; then
59210 glibcxx_cv_func__log10f_use=yes
59211 else
59212 echo "$as_me: failed program was:" >&5
59213 sed 's/^/| /' conftest.$ac_ext >&5
59215 glibcxx_cv_func__log10f_use=no
59217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59218 ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
59229 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
59231 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59233 for ac_func in _log10f
59235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59236 echo "$as_me:$LINENO: checking for $ac_func" >&5
59237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59238 if eval "test \"\${$as_ac_var+set}\" = set"; then
59239 echo $ECHO_N "(cached) $ECHO_C" >&6
59240 else
59241 if test x$gcc_no_link = xyes; then
59242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59244 { (exit 1); exit 1; }; }
59246 cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h. */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h. */
59252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59254 #define $ac_func innocuous_$ac_func
59256 /* System header to define __stub macros and hopefully few prototypes,
59257 which can conflict with char $ac_func (); below.
59258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59259 <limits.h> exists even on freestanding compilers. */
59261 #ifdef __STDC__
59262 # include <limits.h>
59263 #else
59264 # include <assert.h>
59265 #endif
59267 #undef $ac_func
59269 /* Override any gcc2 internal prototype to avoid an error. */
59270 #ifdef __cplusplus
59271 extern "C"
59273 #endif
59274 /* We use char because int might match the return type of a gcc2
59275 builtin and then its argument prototype would still apply. */
59276 char $ac_func ();
59277 /* The GNU C library defines this for functions which it implements
59278 to always fail with ENOSYS. Some functions are actually named
59279 something starting with __ and the normal name is an alias. */
59280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59281 choke me
59282 #else
59283 char (*f) () = $ac_func;
59284 #endif
59285 #ifdef __cplusplus
59287 #endif
59290 main ()
59292 return f != $ac_func;
59294 return 0;
59296 _ACEOF
59297 rm -f conftest.$ac_objext conftest$ac_exeext
59298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59299 (eval $ac_link) 2>conftest.er1
59300 ac_status=$?
59301 grep -v '^ *+' conftest.er1 >conftest.err
59302 rm -f conftest.er1
59303 cat conftest.err >&5
59304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305 (exit $ac_status); } &&
59306 { ac_try='test -z "$ac_c_werror_flag"
59307 || test ! -s conftest.err'
59308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59309 (eval $ac_try) 2>&5
59310 ac_status=$?
59311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59312 (exit $ac_status); }; } &&
59313 { ac_try='test -s conftest$ac_exeext'
59314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59315 (eval $ac_try) 2>&5
59316 ac_status=$?
59317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59318 (exit $ac_status); }; }; then
59319 eval "$as_ac_var=yes"
59320 else
59321 echo "$as_me: failed program was:" >&5
59322 sed 's/^/| /' conftest.$ac_ext >&5
59324 eval "$as_ac_var=no"
59326 rm -f conftest.err conftest.$ac_objext \
59327 conftest$ac_exeext conftest.$ac_ext
59329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59331 if test `eval echo '${'$as_ac_var'}'` = yes; then
59332 cat >>confdefs.h <<_ACEOF
59333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59334 _ACEOF
59337 done
59344 echo "$as_me:$LINENO: checking for modff declaration" >&5
59345 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
59346 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59347 if test "${glibcxx_cv_func_modff_use+set}" = set; then
59348 echo $ECHO_N "(cached) $ECHO_C" >&6
59349 else
59353 ac_ext=cc
59354 ac_cpp='$CXXCPP $CPPFLAGS'
59355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59359 cat >conftest.$ac_ext <<_ACEOF
59360 /* confdefs.h. */
59361 _ACEOF
59362 cat confdefs.h >>conftest.$ac_ext
59363 cat >>conftest.$ac_ext <<_ACEOF
59364 /* end confdefs.h. */
59365 #include <math.h>
59367 main ()
59369 modff(0, 0);
59371 return 0;
59373 _ACEOF
59374 rm -f conftest.$ac_objext
59375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59376 (eval $ac_compile) 2>conftest.er1
59377 ac_status=$?
59378 grep -v '^ *+' conftest.er1 >conftest.err
59379 rm -f conftest.er1
59380 cat conftest.err >&5
59381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59382 (exit $ac_status); } &&
59383 { ac_try='test -z "$ac_cxx_werror_flag"
59384 || test ! -s conftest.err'
59385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59386 (eval $ac_try) 2>&5
59387 ac_status=$?
59388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59389 (exit $ac_status); }; } &&
59390 { ac_try='test -s conftest.$ac_objext'
59391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59392 (eval $ac_try) 2>&5
59393 ac_status=$?
59394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59395 (exit $ac_status); }; }; then
59396 glibcxx_cv_func_modff_use=yes
59397 else
59398 echo "$as_me: failed program was:" >&5
59399 sed 's/^/| /' conftest.$ac_ext >&5
59401 glibcxx_cv_func_modff_use=no
59403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59404 ac_ext=c
59405 ac_cpp='$CPP $CPPFLAGS'
59406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
59415 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
59417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59419 for ac_func in modff
59421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59422 echo "$as_me:$LINENO: checking for $ac_func" >&5
59423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59424 if eval "test \"\${$as_ac_var+set}\" = set"; then
59425 echo $ECHO_N "(cached) $ECHO_C" >&6
59426 else
59427 if test x$gcc_no_link = xyes; then
59428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59430 { (exit 1); exit 1; }; }
59432 cat >conftest.$ac_ext <<_ACEOF
59433 /* confdefs.h. */
59434 _ACEOF
59435 cat confdefs.h >>conftest.$ac_ext
59436 cat >>conftest.$ac_ext <<_ACEOF
59437 /* end confdefs.h. */
59438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59440 #define $ac_func innocuous_$ac_func
59442 /* System header to define __stub macros and hopefully few prototypes,
59443 which can conflict with char $ac_func (); below.
59444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59445 <limits.h> exists even on freestanding compilers. */
59447 #ifdef __STDC__
59448 # include <limits.h>
59449 #else
59450 # include <assert.h>
59451 #endif
59453 #undef $ac_func
59455 /* Override any gcc2 internal prototype to avoid an error. */
59456 #ifdef __cplusplus
59457 extern "C"
59459 #endif
59460 /* We use char because int might match the return type of a gcc2
59461 builtin and then its argument prototype would still apply. */
59462 char $ac_func ();
59463 /* The GNU C library defines this for functions which it implements
59464 to always fail with ENOSYS. Some functions are actually named
59465 something starting with __ and the normal name is an alias. */
59466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59467 choke me
59468 #else
59469 char (*f) () = $ac_func;
59470 #endif
59471 #ifdef __cplusplus
59473 #endif
59476 main ()
59478 return f != $ac_func;
59480 return 0;
59482 _ACEOF
59483 rm -f conftest.$ac_objext conftest$ac_exeext
59484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59485 (eval $ac_link) 2>conftest.er1
59486 ac_status=$?
59487 grep -v '^ *+' conftest.er1 >conftest.err
59488 rm -f conftest.er1
59489 cat conftest.err >&5
59490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59491 (exit $ac_status); } &&
59492 { ac_try='test -z "$ac_c_werror_flag"
59493 || test ! -s conftest.err'
59494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59495 (eval $ac_try) 2>&5
59496 ac_status=$?
59497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498 (exit $ac_status); }; } &&
59499 { ac_try='test -s conftest$ac_exeext'
59500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59501 (eval $ac_try) 2>&5
59502 ac_status=$?
59503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59504 (exit $ac_status); }; }; then
59505 eval "$as_ac_var=yes"
59506 else
59507 echo "$as_me: failed program was:" >&5
59508 sed 's/^/| /' conftest.$ac_ext >&5
59510 eval "$as_ac_var=no"
59512 rm -f conftest.err conftest.$ac_objext \
59513 conftest$ac_exeext conftest.$ac_ext
59515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59517 if test `eval echo '${'$as_ac_var'}'` = yes; then
59518 cat >>confdefs.h <<_ACEOF
59519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59520 _ACEOF
59523 done
59525 else
59527 echo "$as_me:$LINENO: checking for _modff declaration" >&5
59528 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
59529 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59530 if test "${glibcxx_cv_func__modff_use+set}" = set; then
59531 echo $ECHO_N "(cached) $ECHO_C" >&6
59532 else
59536 ac_ext=cc
59537 ac_cpp='$CXXCPP $CPPFLAGS'
59538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59542 cat >conftest.$ac_ext <<_ACEOF
59543 /* confdefs.h. */
59544 _ACEOF
59545 cat confdefs.h >>conftest.$ac_ext
59546 cat >>conftest.$ac_ext <<_ACEOF
59547 /* end confdefs.h. */
59548 #include <math.h>
59550 main ()
59552 _modff(0, 0);
59554 return 0;
59556 _ACEOF
59557 rm -f conftest.$ac_objext
59558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59559 (eval $ac_compile) 2>conftest.er1
59560 ac_status=$?
59561 grep -v '^ *+' conftest.er1 >conftest.err
59562 rm -f conftest.er1
59563 cat conftest.err >&5
59564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59565 (exit $ac_status); } &&
59566 { ac_try='test -z "$ac_cxx_werror_flag"
59567 || test ! -s conftest.err'
59568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59569 (eval $ac_try) 2>&5
59570 ac_status=$?
59571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59572 (exit $ac_status); }; } &&
59573 { ac_try='test -s conftest.$ac_objext'
59574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59575 (eval $ac_try) 2>&5
59576 ac_status=$?
59577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59578 (exit $ac_status); }; }; then
59579 glibcxx_cv_func__modff_use=yes
59580 else
59581 echo "$as_me: failed program was:" >&5
59582 sed 's/^/| /' conftest.$ac_ext >&5
59584 glibcxx_cv_func__modff_use=no
59586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59587 ac_ext=c
59588 ac_cpp='$CPP $CPPFLAGS'
59589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
59598 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
59600 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59602 for ac_func in _modff
59604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59605 echo "$as_me:$LINENO: checking for $ac_func" >&5
59606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59607 if eval "test \"\${$as_ac_var+set}\" = set"; then
59608 echo $ECHO_N "(cached) $ECHO_C" >&6
59609 else
59610 if test x$gcc_no_link = xyes; then
59611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59613 { (exit 1); exit 1; }; }
59615 cat >conftest.$ac_ext <<_ACEOF
59616 /* confdefs.h. */
59617 _ACEOF
59618 cat confdefs.h >>conftest.$ac_ext
59619 cat >>conftest.$ac_ext <<_ACEOF
59620 /* end confdefs.h. */
59621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59623 #define $ac_func innocuous_$ac_func
59625 /* System header to define __stub macros and hopefully few prototypes,
59626 which can conflict with char $ac_func (); below.
59627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59628 <limits.h> exists even on freestanding compilers. */
59630 #ifdef __STDC__
59631 # include <limits.h>
59632 #else
59633 # include <assert.h>
59634 #endif
59636 #undef $ac_func
59638 /* Override any gcc2 internal prototype to avoid an error. */
59639 #ifdef __cplusplus
59640 extern "C"
59642 #endif
59643 /* We use char because int might match the return type of a gcc2
59644 builtin and then its argument prototype would still apply. */
59645 char $ac_func ();
59646 /* The GNU C library defines this for functions which it implements
59647 to always fail with ENOSYS. Some functions are actually named
59648 something starting with __ and the normal name is an alias. */
59649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59650 choke me
59651 #else
59652 char (*f) () = $ac_func;
59653 #endif
59654 #ifdef __cplusplus
59656 #endif
59659 main ()
59661 return f != $ac_func;
59663 return 0;
59665 _ACEOF
59666 rm -f conftest.$ac_objext conftest$ac_exeext
59667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59668 (eval $ac_link) 2>conftest.er1
59669 ac_status=$?
59670 grep -v '^ *+' conftest.er1 >conftest.err
59671 rm -f conftest.er1
59672 cat conftest.err >&5
59673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59674 (exit $ac_status); } &&
59675 { ac_try='test -z "$ac_c_werror_flag"
59676 || test ! -s conftest.err'
59677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59678 (eval $ac_try) 2>&5
59679 ac_status=$?
59680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59681 (exit $ac_status); }; } &&
59682 { ac_try='test -s conftest$ac_exeext'
59683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59684 (eval $ac_try) 2>&5
59685 ac_status=$?
59686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59687 (exit $ac_status); }; }; then
59688 eval "$as_ac_var=yes"
59689 else
59690 echo "$as_me: failed program was:" >&5
59691 sed 's/^/| /' conftest.$ac_ext >&5
59693 eval "$as_ac_var=no"
59695 rm -f conftest.err conftest.$ac_objext \
59696 conftest$ac_exeext conftest.$ac_ext
59698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59700 if test `eval echo '${'$as_ac_var'}'` = yes; then
59701 cat >>confdefs.h <<_ACEOF
59702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59703 _ACEOF
59706 done
59713 echo "$as_me:$LINENO: checking for powf declaration" >&5
59714 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
59715 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59716 if test "${glibcxx_cv_func_powf_use+set}" = set; then
59717 echo $ECHO_N "(cached) $ECHO_C" >&6
59718 else
59722 ac_ext=cc
59723 ac_cpp='$CXXCPP $CPPFLAGS'
59724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59728 cat >conftest.$ac_ext <<_ACEOF
59729 /* confdefs.h. */
59730 _ACEOF
59731 cat confdefs.h >>conftest.$ac_ext
59732 cat >>conftest.$ac_ext <<_ACEOF
59733 /* end confdefs.h. */
59734 #include <math.h>
59736 main ()
59738 powf(0, 0);
59740 return 0;
59742 _ACEOF
59743 rm -f conftest.$ac_objext
59744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59745 (eval $ac_compile) 2>conftest.er1
59746 ac_status=$?
59747 grep -v '^ *+' conftest.er1 >conftest.err
59748 rm -f conftest.er1
59749 cat conftest.err >&5
59750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59751 (exit $ac_status); } &&
59752 { ac_try='test -z "$ac_cxx_werror_flag"
59753 || test ! -s conftest.err'
59754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59755 (eval $ac_try) 2>&5
59756 ac_status=$?
59757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59758 (exit $ac_status); }; } &&
59759 { ac_try='test -s conftest.$ac_objext'
59760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59761 (eval $ac_try) 2>&5
59762 ac_status=$?
59763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59764 (exit $ac_status); }; }; then
59765 glibcxx_cv_func_powf_use=yes
59766 else
59767 echo "$as_me: failed program was:" >&5
59768 sed 's/^/| /' conftest.$ac_ext >&5
59770 glibcxx_cv_func_powf_use=no
59772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
59784 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
59786 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59788 for ac_func in powf
59790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59791 echo "$as_me:$LINENO: checking for $ac_func" >&5
59792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59793 if eval "test \"\${$as_ac_var+set}\" = set"; then
59794 echo $ECHO_N "(cached) $ECHO_C" >&6
59795 else
59796 if test x$gcc_no_link = xyes; then
59797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59799 { (exit 1); exit 1; }; }
59801 cat >conftest.$ac_ext <<_ACEOF
59802 /* confdefs.h. */
59803 _ACEOF
59804 cat confdefs.h >>conftest.$ac_ext
59805 cat >>conftest.$ac_ext <<_ACEOF
59806 /* end confdefs.h. */
59807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59809 #define $ac_func innocuous_$ac_func
59811 /* System header to define __stub macros and hopefully few prototypes,
59812 which can conflict with char $ac_func (); below.
59813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59814 <limits.h> exists even on freestanding compilers. */
59816 #ifdef __STDC__
59817 # include <limits.h>
59818 #else
59819 # include <assert.h>
59820 #endif
59822 #undef $ac_func
59824 /* Override any gcc2 internal prototype to avoid an error. */
59825 #ifdef __cplusplus
59826 extern "C"
59828 #endif
59829 /* We use char because int might match the return type of a gcc2
59830 builtin and then its argument prototype would still apply. */
59831 char $ac_func ();
59832 /* The GNU C library defines this for functions which it implements
59833 to always fail with ENOSYS. Some functions are actually named
59834 something starting with __ and the normal name is an alias. */
59835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59836 choke me
59837 #else
59838 char (*f) () = $ac_func;
59839 #endif
59840 #ifdef __cplusplus
59842 #endif
59845 main ()
59847 return f != $ac_func;
59849 return 0;
59851 _ACEOF
59852 rm -f conftest.$ac_objext conftest$ac_exeext
59853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59854 (eval $ac_link) 2>conftest.er1
59855 ac_status=$?
59856 grep -v '^ *+' conftest.er1 >conftest.err
59857 rm -f conftest.er1
59858 cat conftest.err >&5
59859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59860 (exit $ac_status); } &&
59861 { ac_try='test -z "$ac_c_werror_flag"
59862 || test ! -s conftest.err'
59863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59864 (eval $ac_try) 2>&5
59865 ac_status=$?
59866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59867 (exit $ac_status); }; } &&
59868 { ac_try='test -s conftest$ac_exeext'
59869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870 (eval $ac_try) 2>&5
59871 ac_status=$?
59872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873 (exit $ac_status); }; }; then
59874 eval "$as_ac_var=yes"
59875 else
59876 echo "$as_me: failed program was:" >&5
59877 sed 's/^/| /' conftest.$ac_ext >&5
59879 eval "$as_ac_var=no"
59881 rm -f conftest.err conftest.$ac_objext \
59882 conftest$ac_exeext conftest.$ac_ext
59884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59886 if test `eval echo '${'$as_ac_var'}'` = yes; then
59887 cat >>confdefs.h <<_ACEOF
59888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59889 _ACEOF
59892 done
59894 else
59896 echo "$as_me:$LINENO: checking for _powf declaration" >&5
59897 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
59898 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59899 if test "${glibcxx_cv_func__powf_use+set}" = set; then
59900 echo $ECHO_N "(cached) $ECHO_C" >&6
59901 else
59905 ac_ext=cc
59906 ac_cpp='$CXXCPP $CPPFLAGS'
59907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59911 cat >conftest.$ac_ext <<_ACEOF
59912 /* confdefs.h. */
59913 _ACEOF
59914 cat confdefs.h >>conftest.$ac_ext
59915 cat >>conftest.$ac_ext <<_ACEOF
59916 /* end confdefs.h. */
59917 #include <math.h>
59919 main ()
59921 _powf(0, 0);
59923 return 0;
59925 _ACEOF
59926 rm -f conftest.$ac_objext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59928 (eval $ac_compile) 2>conftest.er1
59929 ac_status=$?
59930 grep -v '^ *+' conftest.er1 >conftest.err
59931 rm -f conftest.er1
59932 cat conftest.err >&5
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); } &&
59935 { ac_try='test -z "$ac_cxx_werror_flag"
59936 || test ! -s conftest.err'
59937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59938 (eval $ac_try) 2>&5
59939 ac_status=$?
59940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941 (exit $ac_status); }; } &&
59942 { ac_try='test -s conftest.$ac_objext'
59943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944 (eval $ac_try) 2>&5
59945 ac_status=$?
59946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947 (exit $ac_status); }; }; then
59948 glibcxx_cv_func__powf_use=yes
59949 else
59950 echo "$as_me: failed program was:" >&5
59951 sed 's/^/| /' conftest.$ac_ext >&5
59953 glibcxx_cv_func__powf_use=no
59955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59956 ac_ext=c
59957 ac_cpp='$CPP $CPPFLAGS'
59958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
59967 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
59969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59971 for ac_func in _powf
59973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59974 echo "$as_me:$LINENO: checking for $ac_func" >&5
59975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59976 if eval "test \"\${$as_ac_var+set}\" = set"; then
59977 echo $ECHO_N "(cached) $ECHO_C" >&6
59978 else
59979 if test x$gcc_no_link = xyes; then
59980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59982 { (exit 1); exit 1; }; }
59984 cat >conftest.$ac_ext <<_ACEOF
59985 /* confdefs.h. */
59986 _ACEOF
59987 cat confdefs.h >>conftest.$ac_ext
59988 cat >>conftest.$ac_ext <<_ACEOF
59989 /* end confdefs.h. */
59990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59992 #define $ac_func innocuous_$ac_func
59994 /* System header to define __stub macros and hopefully few prototypes,
59995 which can conflict with char $ac_func (); below.
59996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59997 <limits.h> exists even on freestanding compilers. */
59999 #ifdef __STDC__
60000 # include <limits.h>
60001 #else
60002 # include <assert.h>
60003 #endif
60005 #undef $ac_func
60007 /* Override any gcc2 internal prototype to avoid an error. */
60008 #ifdef __cplusplus
60009 extern "C"
60011 #endif
60012 /* We use char because int might match the return type of a gcc2
60013 builtin and then its argument prototype would still apply. */
60014 char $ac_func ();
60015 /* The GNU C library defines this for functions which it implements
60016 to always fail with ENOSYS. Some functions are actually named
60017 something starting with __ and the normal name is an alias. */
60018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60019 choke me
60020 #else
60021 char (*f) () = $ac_func;
60022 #endif
60023 #ifdef __cplusplus
60025 #endif
60028 main ()
60030 return f != $ac_func;
60032 return 0;
60034 _ACEOF
60035 rm -f conftest.$ac_objext conftest$ac_exeext
60036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60037 (eval $ac_link) 2>conftest.er1
60038 ac_status=$?
60039 grep -v '^ *+' conftest.er1 >conftest.err
60040 rm -f conftest.er1
60041 cat conftest.err >&5
60042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60043 (exit $ac_status); } &&
60044 { ac_try='test -z "$ac_c_werror_flag"
60045 || test ! -s conftest.err'
60046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60047 (eval $ac_try) 2>&5
60048 ac_status=$?
60049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60050 (exit $ac_status); }; } &&
60051 { ac_try='test -s conftest$ac_exeext'
60052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053 (eval $ac_try) 2>&5
60054 ac_status=$?
60055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056 (exit $ac_status); }; }; then
60057 eval "$as_ac_var=yes"
60058 else
60059 echo "$as_me: failed program was:" >&5
60060 sed 's/^/| /' conftest.$ac_ext >&5
60062 eval "$as_ac_var=no"
60064 rm -f conftest.err conftest.$ac_objext \
60065 conftest$ac_exeext conftest.$ac_ext
60067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60069 if test `eval echo '${'$as_ac_var'}'` = yes; then
60070 cat >>confdefs.h <<_ACEOF
60071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60072 _ACEOF
60075 done
60082 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
60083 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
60084 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60085 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
60086 echo $ECHO_N "(cached) $ECHO_C" >&6
60087 else
60091 ac_ext=cc
60092 ac_cpp='$CXXCPP $CPPFLAGS'
60093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60097 cat >conftest.$ac_ext <<_ACEOF
60098 /* confdefs.h. */
60099 _ACEOF
60100 cat confdefs.h >>conftest.$ac_ext
60101 cat >>conftest.$ac_ext <<_ACEOF
60102 /* end confdefs.h. */
60103 #include <math.h>
60104 #ifdef HAVE_IEEEFP_H
60105 #include <ieeefp.h>
60106 #endif
60109 main ()
60111 sqrtf(0);
60113 return 0;
60115 _ACEOF
60116 rm -f conftest.$ac_objext
60117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60118 (eval $ac_compile) 2>conftest.er1
60119 ac_status=$?
60120 grep -v '^ *+' conftest.er1 >conftest.err
60121 rm -f conftest.er1
60122 cat conftest.err >&5
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); } &&
60125 { ac_try='test -z "$ac_cxx_werror_flag"
60126 || test ! -s conftest.err'
60127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60128 (eval $ac_try) 2>&5
60129 ac_status=$?
60130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60131 (exit $ac_status); }; } &&
60132 { ac_try='test -s conftest.$ac_objext'
60133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60134 (eval $ac_try) 2>&5
60135 ac_status=$?
60136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137 (exit $ac_status); }; }; then
60138 glibcxx_cv_func_sqrtf_use=yes
60139 else
60140 echo "$as_me: failed program was:" >&5
60141 sed 's/^/| /' conftest.$ac_ext >&5
60143 glibcxx_cv_func_sqrtf_use=no
60145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60146 ac_ext=c
60147 ac_cpp='$CPP $CPPFLAGS'
60148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
60157 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
60159 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60161 for ac_func in sqrtf
60163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60164 echo "$as_me:$LINENO: checking for $ac_func" >&5
60165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60166 if eval "test \"\${$as_ac_var+set}\" = set"; then
60167 echo $ECHO_N "(cached) $ECHO_C" >&6
60168 else
60169 if test x$gcc_no_link = xyes; then
60170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60172 { (exit 1); exit 1; }; }
60174 cat >conftest.$ac_ext <<_ACEOF
60175 /* confdefs.h. */
60176 _ACEOF
60177 cat confdefs.h >>conftest.$ac_ext
60178 cat >>conftest.$ac_ext <<_ACEOF
60179 /* end confdefs.h. */
60180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60182 #define $ac_func innocuous_$ac_func
60184 /* System header to define __stub macros and hopefully few prototypes,
60185 which can conflict with char $ac_func (); below.
60186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60187 <limits.h> exists even on freestanding compilers. */
60189 #ifdef __STDC__
60190 # include <limits.h>
60191 #else
60192 # include <assert.h>
60193 #endif
60195 #undef $ac_func
60197 /* Override any gcc2 internal prototype to avoid an error. */
60198 #ifdef __cplusplus
60199 extern "C"
60201 #endif
60202 /* We use char because int might match the return type of a gcc2
60203 builtin and then its argument prototype would still apply. */
60204 char $ac_func ();
60205 /* The GNU C library defines this for functions which it implements
60206 to always fail with ENOSYS. Some functions are actually named
60207 something starting with __ and the normal name is an alias. */
60208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60209 choke me
60210 #else
60211 char (*f) () = $ac_func;
60212 #endif
60213 #ifdef __cplusplus
60215 #endif
60218 main ()
60220 return f != $ac_func;
60222 return 0;
60224 _ACEOF
60225 rm -f conftest.$ac_objext conftest$ac_exeext
60226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60227 (eval $ac_link) 2>conftest.er1
60228 ac_status=$?
60229 grep -v '^ *+' conftest.er1 >conftest.err
60230 rm -f conftest.er1
60231 cat conftest.err >&5
60232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233 (exit $ac_status); } &&
60234 { ac_try='test -z "$ac_c_werror_flag"
60235 || test ! -s conftest.err'
60236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60237 (eval $ac_try) 2>&5
60238 ac_status=$?
60239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60240 (exit $ac_status); }; } &&
60241 { ac_try='test -s conftest$ac_exeext'
60242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60243 (eval $ac_try) 2>&5
60244 ac_status=$?
60245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246 (exit $ac_status); }; }; then
60247 eval "$as_ac_var=yes"
60248 else
60249 echo "$as_me: failed program was:" >&5
60250 sed 's/^/| /' conftest.$ac_ext >&5
60252 eval "$as_ac_var=no"
60254 rm -f conftest.err conftest.$ac_objext \
60255 conftest$ac_exeext conftest.$ac_ext
60257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60259 if test `eval echo '${'$as_ac_var'}'` = yes; then
60260 cat >>confdefs.h <<_ACEOF
60261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60262 _ACEOF
60265 done
60267 else
60269 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
60270 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
60271 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60272 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
60273 echo $ECHO_N "(cached) $ECHO_C" >&6
60274 else
60278 ac_ext=cc
60279 ac_cpp='$CXXCPP $CPPFLAGS'
60280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60284 cat >conftest.$ac_ext <<_ACEOF
60285 /* confdefs.h. */
60286 _ACEOF
60287 cat confdefs.h >>conftest.$ac_ext
60288 cat >>conftest.$ac_ext <<_ACEOF
60289 /* end confdefs.h. */
60290 #include <math.h>
60291 #ifdef HAVE_IEEEFP_H
60292 #include <ieeefp.h>
60293 #endif
60296 main ()
60298 _sqrtf(0);
60300 return 0;
60302 _ACEOF
60303 rm -f conftest.$ac_objext
60304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60305 (eval $ac_compile) 2>conftest.er1
60306 ac_status=$?
60307 grep -v '^ *+' conftest.er1 >conftest.err
60308 rm -f conftest.er1
60309 cat conftest.err >&5
60310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60311 (exit $ac_status); } &&
60312 { ac_try='test -z "$ac_cxx_werror_flag"
60313 || test ! -s conftest.err'
60314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60315 (eval $ac_try) 2>&5
60316 ac_status=$?
60317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318 (exit $ac_status); }; } &&
60319 { ac_try='test -s conftest.$ac_objext'
60320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60321 (eval $ac_try) 2>&5
60322 ac_status=$?
60323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60324 (exit $ac_status); }; }; then
60325 glibcxx_cv_func__sqrtf_use=yes
60326 else
60327 echo "$as_me: failed program was:" >&5
60328 sed 's/^/| /' conftest.$ac_ext >&5
60330 glibcxx_cv_func__sqrtf_use=no
60332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60333 ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
60344 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
60346 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60348 for ac_func in _sqrtf
60350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60351 echo "$as_me:$LINENO: checking for $ac_func" >&5
60352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60353 if eval "test \"\${$as_ac_var+set}\" = set"; then
60354 echo $ECHO_N "(cached) $ECHO_C" >&6
60355 else
60356 if test x$gcc_no_link = xyes; then
60357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60359 { (exit 1); exit 1; }; }
60361 cat >conftest.$ac_ext <<_ACEOF
60362 /* confdefs.h. */
60363 _ACEOF
60364 cat confdefs.h >>conftest.$ac_ext
60365 cat >>conftest.$ac_ext <<_ACEOF
60366 /* end confdefs.h. */
60367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60369 #define $ac_func innocuous_$ac_func
60371 /* System header to define __stub macros and hopefully few prototypes,
60372 which can conflict with char $ac_func (); below.
60373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60374 <limits.h> exists even on freestanding compilers. */
60376 #ifdef __STDC__
60377 # include <limits.h>
60378 #else
60379 # include <assert.h>
60380 #endif
60382 #undef $ac_func
60384 /* Override any gcc2 internal prototype to avoid an error. */
60385 #ifdef __cplusplus
60386 extern "C"
60388 #endif
60389 /* We use char because int might match the return type of a gcc2
60390 builtin and then its argument prototype would still apply. */
60391 char $ac_func ();
60392 /* The GNU C library defines this for functions which it implements
60393 to always fail with ENOSYS. Some functions are actually named
60394 something starting with __ and the normal name is an alias. */
60395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60396 choke me
60397 #else
60398 char (*f) () = $ac_func;
60399 #endif
60400 #ifdef __cplusplus
60402 #endif
60405 main ()
60407 return f != $ac_func;
60409 return 0;
60411 _ACEOF
60412 rm -f conftest.$ac_objext conftest$ac_exeext
60413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60414 (eval $ac_link) 2>conftest.er1
60415 ac_status=$?
60416 grep -v '^ *+' conftest.er1 >conftest.err
60417 rm -f conftest.er1
60418 cat conftest.err >&5
60419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60420 (exit $ac_status); } &&
60421 { ac_try='test -z "$ac_c_werror_flag"
60422 || test ! -s conftest.err'
60423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60424 (eval $ac_try) 2>&5
60425 ac_status=$?
60426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427 (exit $ac_status); }; } &&
60428 { ac_try='test -s conftest$ac_exeext'
60429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60430 (eval $ac_try) 2>&5
60431 ac_status=$?
60432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433 (exit $ac_status); }; }; then
60434 eval "$as_ac_var=yes"
60435 else
60436 echo "$as_me: failed program was:" >&5
60437 sed 's/^/| /' conftest.$ac_ext >&5
60439 eval "$as_ac_var=no"
60441 rm -f conftest.err conftest.$ac_objext \
60442 conftest$ac_exeext conftest.$ac_ext
60444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60446 if test `eval echo '${'$as_ac_var'}'` = yes; then
60447 cat >>confdefs.h <<_ACEOF
60448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60449 _ACEOF
60452 done
60459 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
60460 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
60461 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60462 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
60463 echo $ECHO_N "(cached) $ECHO_C" >&6
60464 else
60468 ac_ext=cc
60469 ac_cpp='$CXXCPP $CPPFLAGS'
60470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60474 cat >conftest.$ac_ext <<_ACEOF
60475 /* confdefs.h. */
60476 _ACEOF
60477 cat confdefs.h >>conftest.$ac_ext
60478 cat >>conftest.$ac_ext <<_ACEOF
60479 /* end confdefs.h. */
60480 #include <math.h>
60482 main ()
60484 sincosf(0, 0, 0);
60486 return 0;
60488 _ACEOF
60489 rm -f conftest.$ac_objext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60491 (eval $ac_compile) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_cxx_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest.$ac_objext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 glibcxx_cv_func_sincosf_use=yes
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60516 glibcxx_cv_func_sincosf_use=no
60518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60519 ac_ext=c
60520 ac_cpp='$CPP $CPPFLAGS'
60521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
60530 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
60532 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60534 for ac_func in sincosf
60536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60537 echo "$as_me:$LINENO: checking for $ac_func" >&5
60538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60539 if eval "test \"\${$as_ac_var+set}\" = set"; then
60540 echo $ECHO_N "(cached) $ECHO_C" >&6
60541 else
60542 if test x$gcc_no_link = xyes; then
60543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60545 { (exit 1); exit 1; }; }
60547 cat >conftest.$ac_ext <<_ACEOF
60548 /* confdefs.h. */
60549 _ACEOF
60550 cat confdefs.h >>conftest.$ac_ext
60551 cat >>conftest.$ac_ext <<_ACEOF
60552 /* end confdefs.h. */
60553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60555 #define $ac_func innocuous_$ac_func
60557 /* System header to define __stub macros and hopefully few prototypes,
60558 which can conflict with char $ac_func (); below.
60559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60560 <limits.h> exists even on freestanding compilers. */
60562 #ifdef __STDC__
60563 # include <limits.h>
60564 #else
60565 # include <assert.h>
60566 #endif
60568 #undef $ac_func
60570 /* Override any gcc2 internal prototype to avoid an error. */
60571 #ifdef __cplusplus
60572 extern "C"
60574 #endif
60575 /* We use char because int might match the return type of a gcc2
60576 builtin and then its argument prototype would still apply. */
60577 char $ac_func ();
60578 /* The GNU C library defines this for functions which it implements
60579 to always fail with ENOSYS. Some functions are actually named
60580 something starting with __ and the normal name is an alias. */
60581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60582 choke me
60583 #else
60584 char (*f) () = $ac_func;
60585 #endif
60586 #ifdef __cplusplus
60588 #endif
60591 main ()
60593 return f != $ac_func;
60595 return 0;
60597 _ACEOF
60598 rm -f conftest.$ac_objext conftest$ac_exeext
60599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60600 (eval $ac_link) 2>conftest.er1
60601 ac_status=$?
60602 grep -v '^ *+' conftest.er1 >conftest.err
60603 rm -f conftest.er1
60604 cat conftest.err >&5
60605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60606 (exit $ac_status); } &&
60607 { ac_try='test -z "$ac_c_werror_flag"
60608 || test ! -s conftest.err'
60609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60610 (eval $ac_try) 2>&5
60611 ac_status=$?
60612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60613 (exit $ac_status); }; } &&
60614 { ac_try='test -s conftest$ac_exeext'
60615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60616 (eval $ac_try) 2>&5
60617 ac_status=$?
60618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619 (exit $ac_status); }; }; then
60620 eval "$as_ac_var=yes"
60621 else
60622 echo "$as_me: failed program was:" >&5
60623 sed 's/^/| /' conftest.$ac_ext >&5
60625 eval "$as_ac_var=no"
60627 rm -f conftest.err conftest.$ac_objext \
60628 conftest$ac_exeext conftest.$ac_ext
60630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60632 if test `eval echo '${'$as_ac_var'}'` = yes; then
60633 cat >>confdefs.h <<_ACEOF
60634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60635 _ACEOF
60638 done
60640 else
60642 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
60643 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
60644 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60645 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
60646 echo $ECHO_N "(cached) $ECHO_C" >&6
60647 else
60651 ac_ext=cc
60652 ac_cpp='$CXXCPP $CPPFLAGS'
60653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60657 cat >conftest.$ac_ext <<_ACEOF
60658 /* confdefs.h. */
60659 _ACEOF
60660 cat confdefs.h >>conftest.$ac_ext
60661 cat >>conftest.$ac_ext <<_ACEOF
60662 /* end confdefs.h. */
60663 #include <math.h>
60665 main ()
60667 _sincosf(0, 0, 0);
60669 return 0;
60671 _ACEOF
60672 rm -f conftest.$ac_objext
60673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60674 (eval $ac_compile) 2>conftest.er1
60675 ac_status=$?
60676 grep -v '^ *+' conftest.er1 >conftest.err
60677 rm -f conftest.er1
60678 cat conftest.err >&5
60679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60680 (exit $ac_status); } &&
60681 { ac_try='test -z "$ac_cxx_werror_flag"
60682 || test ! -s conftest.err'
60683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684 (eval $ac_try) 2>&5
60685 ac_status=$?
60686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687 (exit $ac_status); }; } &&
60688 { ac_try='test -s conftest.$ac_objext'
60689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60690 (eval $ac_try) 2>&5
60691 ac_status=$?
60692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60693 (exit $ac_status); }; }; then
60694 glibcxx_cv_func__sincosf_use=yes
60695 else
60696 echo "$as_me: failed program was:" >&5
60697 sed 's/^/| /' conftest.$ac_ext >&5
60699 glibcxx_cv_func__sincosf_use=no
60701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60702 ac_ext=c
60703 ac_cpp='$CPP $CPPFLAGS'
60704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
60713 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
60715 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60717 for ac_func in _sincosf
60719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60720 echo "$as_me:$LINENO: checking for $ac_func" >&5
60721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60722 if eval "test \"\${$as_ac_var+set}\" = set"; then
60723 echo $ECHO_N "(cached) $ECHO_C" >&6
60724 else
60725 if test x$gcc_no_link = xyes; then
60726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60728 { (exit 1); exit 1; }; }
60730 cat >conftest.$ac_ext <<_ACEOF
60731 /* confdefs.h. */
60732 _ACEOF
60733 cat confdefs.h >>conftest.$ac_ext
60734 cat >>conftest.$ac_ext <<_ACEOF
60735 /* end confdefs.h. */
60736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60738 #define $ac_func innocuous_$ac_func
60740 /* System header to define __stub macros and hopefully few prototypes,
60741 which can conflict with char $ac_func (); below.
60742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60743 <limits.h> exists even on freestanding compilers. */
60745 #ifdef __STDC__
60746 # include <limits.h>
60747 #else
60748 # include <assert.h>
60749 #endif
60751 #undef $ac_func
60753 /* Override any gcc2 internal prototype to avoid an error. */
60754 #ifdef __cplusplus
60755 extern "C"
60757 #endif
60758 /* We use char because int might match the return type of a gcc2
60759 builtin and then its argument prototype would still apply. */
60760 char $ac_func ();
60761 /* The GNU C library defines this for functions which it implements
60762 to always fail with ENOSYS. Some functions are actually named
60763 something starting with __ and the normal name is an alias. */
60764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60765 choke me
60766 #else
60767 char (*f) () = $ac_func;
60768 #endif
60769 #ifdef __cplusplus
60771 #endif
60774 main ()
60776 return f != $ac_func;
60778 return 0;
60780 _ACEOF
60781 rm -f conftest.$ac_objext conftest$ac_exeext
60782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60783 (eval $ac_link) 2>conftest.er1
60784 ac_status=$?
60785 grep -v '^ *+' conftest.er1 >conftest.err
60786 rm -f conftest.er1
60787 cat conftest.err >&5
60788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60789 (exit $ac_status); } &&
60790 { ac_try='test -z "$ac_c_werror_flag"
60791 || test ! -s conftest.err'
60792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60793 (eval $ac_try) 2>&5
60794 ac_status=$?
60795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60796 (exit $ac_status); }; } &&
60797 { ac_try='test -s conftest$ac_exeext'
60798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60799 (eval $ac_try) 2>&5
60800 ac_status=$?
60801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60802 (exit $ac_status); }; }; then
60803 eval "$as_ac_var=yes"
60804 else
60805 echo "$as_me: failed program was:" >&5
60806 sed 's/^/| /' conftest.$ac_ext >&5
60808 eval "$as_ac_var=no"
60810 rm -f conftest.err conftest.$ac_objext \
60811 conftest$ac_exeext conftest.$ac_ext
60813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60815 if test `eval echo '${'$as_ac_var'}'` = yes; then
60816 cat >>confdefs.h <<_ACEOF
60817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60818 _ACEOF
60821 done
60828 echo "$as_me:$LINENO: checking for finitef declaration" >&5
60829 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
60830 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60831 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
60832 echo $ECHO_N "(cached) $ECHO_C" >&6
60833 else
60837 ac_ext=cc
60838 ac_cpp='$CXXCPP $CPPFLAGS'
60839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h. */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h. */
60849 #include <math.h>
60850 #ifdef HAVE_IEEEFP_H
60851 #include <ieeefp.h>
60852 #endif
60855 main ()
60857 finitef(0);
60859 return 0;
60861 _ACEOF
60862 rm -f conftest.$ac_objext
60863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60864 (eval $ac_compile) 2>conftest.er1
60865 ac_status=$?
60866 grep -v '^ *+' conftest.er1 >conftest.err
60867 rm -f conftest.er1
60868 cat conftest.err >&5
60869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60870 (exit $ac_status); } &&
60871 { ac_try='test -z "$ac_cxx_werror_flag"
60872 || test ! -s conftest.err'
60873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60874 (eval $ac_try) 2>&5
60875 ac_status=$?
60876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60877 (exit $ac_status); }; } &&
60878 { ac_try='test -s conftest.$ac_objext'
60879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60880 (eval $ac_try) 2>&5
60881 ac_status=$?
60882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60883 (exit $ac_status); }; }; then
60884 glibcxx_cv_func_finitef_use=yes
60885 else
60886 echo "$as_me: failed program was:" >&5
60887 sed 's/^/| /' conftest.$ac_ext >&5
60889 glibcxx_cv_func_finitef_use=no
60891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60892 ac_ext=c
60893 ac_cpp='$CPP $CPPFLAGS'
60894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
60903 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
60905 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60907 for ac_func in finitef
60909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60910 echo "$as_me:$LINENO: checking for $ac_func" >&5
60911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60912 if eval "test \"\${$as_ac_var+set}\" = set"; then
60913 echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60915 if test x$gcc_no_link = xyes; then
60916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60918 { (exit 1); exit 1; }; }
60920 cat >conftest.$ac_ext <<_ACEOF
60921 /* confdefs.h. */
60922 _ACEOF
60923 cat confdefs.h >>conftest.$ac_ext
60924 cat >>conftest.$ac_ext <<_ACEOF
60925 /* end confdefs.h. */
60926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60928 #define $ac_func innocuous_$ac_func
60930 /* System header to define __stub macros and hopefully few prototypes,
60931 which can conflict with char $ac_func (); below.
60932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60933 <limits.h> exists even on freestanding compilers. */
60935 #ifdef __STDC__
60936 # include <limits.h>
60937 #else
60938 # include <assert.h>
60939 #endif
60941 #undef $ac_func
60943 /* Override any gcc2 internal prototype to avoid an error. */
60944 #ifdef __cplusplus
60945 extern "C"
60947 #endif
60948 /* We use char because int might match the return type of a gcc2
60949 builtin and then its argument prototype would still apply. */
60950 char $ac_func ();
60951 /* The GNU C library defines this for functions which it implements
60952 to always fail with ENOSYS. Some functions are actually named
60953 something starting with __ and the normal name is an alias. */
60954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60955 choke me
60956 #else
60957 char (*f) () = $ac_func;
60958 #endif
60959 #ifdef __cplusplus
60961 #endif
60964 main ()
60966 return f != $ac_func;
60968 return 0;
60970 _ACEOF
60971 rm -f conftest.$ac_objext conftest$ac_exeext
60972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60973 (eval $ac_link) 2>conftest.er1
60974 ac_status=$?
60975 grep -v '^ *+' conftest.er1 >conftest.err
60976 rm -f conftest.er1
60977 cat conftest.err >&5
60978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60979 (exit $ac_status); } &&
60980 { ac_try='test -z "$ac_c_werror_flag"
60981 || test ! -s conftest.err'
60982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60983 (eval $ac_try) 2>&5
60984 ac_status=$?
60985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 (exit $ac_status); }; } &&
60987 { ac_try='test -s conftest$ac_exeext'
60988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60989 (eval $ac_try) 2>&5
60990 ac_status=$?
60991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60992 (exit $ac_status); }; }; then
60993 eval "$as_ac_var=yes"
60994 else
60995 echo "$as_me: failed program was:" >&5
60996 sed 's/^/| /' conftest.$ac_ext >&5
60998 eval "$as_ac_var=no"
61000 rm -f conftest.err conftest.$ac_objext \
61001 conftest$ac_exeext conftest.$ac_ext
61003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61005 if test `eval echo '${'$as_ac_var'}'` = yes; then
61006 cat >>confdefs.h <<_ACEOF
61007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61008 _ACEOF
61011 done
61013 else
61015 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
61016 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
61017 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61018 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
61019 echo $ECHO_N "(cached) $ECHO_C" >&6
61020 else
61024 ac_ext=cc
61025 ac_cpp='$CXXCPP $CPPFLAGS'
61026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61030 cat >conftest.$ac_ext <<_ACEOF
61031 /* confdefs.h. */
61032 _ACEOF
61033 cat confdefs.h >>conftest.$ac_ext
61034 cat >>conftest.$ac_ext <<_ACEOF
61035 /* end confdefs.h. */
61036 #include <math.h>
61037 #ifdef HAVE_IEEEFP_H
61038 #include <ieeefp.h>
61039 #endif
61042 main ()
61044 _finitef(0);
61046 return 0;
61048 _ACEOF
61049 rm -f conftest.$ac_objext
61050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61051 (eval $ac_compile) 2>conftest.er1
61052 ac_status=$?
61053 grep -v '^ *+' conftest.er1 >conftest.err
61054 rm -f conftest.er1
61055 cat conftest.err >&5
61056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61057 (exit $ac_status); } &&
61058 { ac_try='test -z "$ac_cxx_werror_flag"
61059 || test ! -s conftest.err'
61060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61061 (eval $ac_try) 2>&5
61062 ac_status=$?
61063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61064 (exit $ac_status); }; } &&
61065 { ac_try='test -s conftest.$ac_objext'
61066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61067 (eval $ac_try) 2>&5
61068 ac_status=$?
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); }; }; then
61071 glibcxx_cv_func__finitef_use=yes
61072 else
61073 echo "$as_me: failed program was:" >&5
61074 sed 's/^/| /' conftest.$ac_ext >&5
61076 glibcxx_cv_func__finitef_use=no
61078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
61090 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
61092 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61094 for ac_func in _finitef
61096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61097 echo "$as_me:$LINENO: checking for $ac_func" >&5
61098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61099 if eval "test \"\${$as_ac_var+set}\" = set"; then
61100 echo $ECHO_N "(cached) $ECHO_C" >&6
61101 else
61102 if test x$gcc_no_link = xyes; then
61103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61105 { (exit 1); exit 1; }; }
61107 cat >conftest.$ac_ext <<_ACEOF
61108 /* confdefs.h. */
61109 _ACEOF
61110 cat confdefs.h >>conftest.$ac_ext
61111 cat >>conftest.$ac_ext <<_ACEOF
61112 /* end confdefs.h. */
61113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61115 #define $ac_func innocuous_$ac_func
61117 /* System header to define __stub macros and hopefully few prototypes,
61118 which can conflict with char $ac_func (); below.
61119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61120 <limits.h> exists even on freestanding compilers. */
61122 #ifdef __STDC__
61123 # include <limits.h>
61124 #else
61125 # include <assert.h>
61126 #endif
61128 #undef $ac_func
61130 /* Override any gcc2 internal prototype to avoid an error. */
61131 #ifdef __cplusplus
61132 extern "C"
61134 #endif
61135 /* We use char because int might match the return type of a gcc2
61136 builtin and then its argument prototype would still apply. */
61137 char $ac_func ();
61138 /* The GNU C library defines this for functions which it implements
61139 to always fail with ENOSYS. Some functions are actually named
61140 something starting with __ and the normal name is an alias. */
61141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61142 choke me
61143 #else
61144 char (*f) () = $ac_func;
61145 #endif
61146 #ifdef __cplusplus
61148 #endif
61151 main ()
61153 return f != $ac_func;
61155 return 0;
61157 _ACEOF
61158 rm -f conftest.$ac_objext conftest$ac_exeext
61159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61160 (eval $ac_link) 2>conftest.er1
61161 ac_status=$?
61162 grep -v '^ *+' conftest.er1 >conftest.err
61163 rm -f conftest.er1
61164 cat conftest.err >&5
61165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61166 (exit $ac_status); } &&
61167 { ac_try='test -z "$ac_c_werror_flag"
61168 || test ! -s conftest.err'
61169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61170 (eval $ac_try) 2>&5
61171 ac_status=$?
61172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61173 (exit $ac_status); }; } &&
61174 { ac_try='test -s conftest$ac_exeext'
61175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61176 (eval $ac_try) 2>&5
61177 ac_status=$?
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); }; }; then
61180 eval "$as_ac_var=yes"
61181 else
61182 echo "$as_me: failed program was:" >&5
61183 sed 's/^/| /' conftest.$ac_ext >&5
61185 eval "$as_ac_var=no"
61187 rm -f conftest.err conftest.$ac_objext \
61188 conftest$ac_exeext conftest.$ac_ext
61190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61192 if test `eval echo '${'$as_ac_var'}'` = yes; then
61193 cat >>confdefs.h <<_ACEOF
61194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61195 _ACEOF
61198 done
61205 echo "$as_me:$LINENO: checking for long double trig functions" >&5
61206 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
61207 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
61208 echo $ECHO_N "(cached) $ECHO_C" >&6
61209 else
61213 ac_ext=cc
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61219 cat >conftest.$ac_ext <<_ACEOF
61220 /* confdefs.h. */
61221 _ACEOF
61222 cat confdefs.h >>conftest.$ac_ext
61223 cat >>conftest.$ac_ext <<_ACEOF
61224 /* end confdefs.h. */
61225 #include <math.h>
61227 main ()
61229 `for x in acosl asinl atanl \
61230 cosl sinl tanl \
61231 coshl sinhl tanhl; do echo "$x (0);"; done`
61233 return 0;
61235 _ACEOF
61236 rm -f conftest.$ac_objext
61237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61238 (eval $ac_compile) 2>conftest.er1
61239 ac_status=$?
61240 grep -v '^ *+' conftest.er1 >conftest.err
61241 rm -f conftest.er1
61242 cat conftest.err >&5
61243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61244 (exit $ac_status); } &&
61245 { ac_try='test -z "$ac_cxx_werror_flag"
61246 || test ! -s conftest.err'
61247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61248 (eval $ac_try) 2>&5
61249 ac_status=$?
61250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61251 (exit $ac_status); }; } &&
61252 { ac_try='test -s conftest.$ac_objext'
61253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61254 (eval $ac_try) 2>&5
61255 ac_status=$?
61256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257 (exit $ac_status); }; }; then
61258 glibcxx_cv_func_long_double_trig_use=yes
61259 else
61260 echo "$as_me: failed program was:" >&5
61261 sed 's/^/| /' conftest.$ac_ext >&5
61263 glibcxx_cv_func_long_double_trig_use=no
61265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61266 ac_ext=c
61267 ac_cpp='$CPP $CPPFLAGS'
61268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
61275 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
61276 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61286 for ac_func in acosl asinl atanl \
61287 cosl sinl tanl \
61288 coshl sinhl tanhl
61290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61291 echo "$as_me:$LINENO: checking for $ac_func" >&5
61292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61293 if eval "test \"\${$as_ac_var+set}\" = set"; then
61294 echo $ECHO_N "(cached) $ECHO_C" >&6
61295 else
61296 if test x$gcc_no_link = xyes; then
61297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61299 { (exit 1); exit 1; }; }
61301 cat >conftest.$ac_ext <<_ACEOF
61302 /* confdefs.h. */
61303 _ACEOF
61304 cat confdefs.h >>conftest.$ac_ext
61305 cat >>conftest.$ac_ext <<_ACEOF
61306 /* end confdefs.h. */
61307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61309 #define $ac_func innocuous_$ac_func
61311 /* System header to define __stub macros and hopefully few prototypes,
61312 which can conflict with char $ac_func (); below.
61313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61314 <limits.h> exists even on freestanding compilers. */
61316 #ifdef __STDC__
61317 # include <limits.h>
61318 #else
61319 # include <assert.h>
61320 #endif
61322 #undef $ac_func
61324 /* Override any gcc2 internal prototype to avoid an error. */
61325 #ifdef __cplusplus
61326 extern "C"
61328 #endif
61329 /* We use char because int might match the return type of a gcc2
61330 builtin and then its argument prototype would still apply. */
61331 char $ac_func ();
61332 /* The GNU C library defines this for functions which it implements
61333 to always fail with ENOSYS. Some functions are actually named
61334 something starting with __ and the normal name is an alias. */
61335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61336 choke me
61337 #else
61338 char (*f) () = $ac_func;
61339 #endif
61340 #ifdef __cplusplus
61342 #endif
61345 main ()
61347 return f != $ac_func;
61349 return 0;
61351 _ACEOF
61352 rm -f conftest.$ac_objext conftest$ac_exeext
61353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61354 (eval $ac_link) 2>conftest.er1
61355 ac_status=$?
61356 grep -v '^ *+' conftest.er1 >conftest.err
61357 rm -f conftest.er1
61358 cat conftest.err >&5
61359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61360 (exit $ac_status); } &&
61361 { ac_try='test -z "$ac_c_werror_flag"
61362 || test ! -s conftest.err'
61363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61364 (eval $ac_try) 2>&5
61365 ac_status=$?
61366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61367 (exit $ac_status); }; } &&
61368 { ac_try='test -s conftest$ac_exeext'
61369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61370 (eval $ac_try) 2>&5
61371 ac_status=$?
61372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373 (exit $ac_status); }; }; then
61374 eval "$as_ac_var=yes"
61375 else
61376 echo "$as_me: failed program was:" >&5
61377 sed 's/^/| /' conftest.$ac_ext >&5
61379 eval "$as_ac_var=no"
61381 rm -f conftest.err conftest.$ac_objext \
61382 conftest$ac_exeext conftest.$ac_ext
61384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61386 if test `eval echo '${'$as_ac_var'}'` = yes; then
61387 cat >>confdefs.h <<_ACEOF
61388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61389 _ACEOF
61392 done
61397 echo "$as_me:$LINENO: checking for long double round functions" >&5
61398 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
61399 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
61400 echo $ECHO_N "(cached) $ECHO_C" >&6
61401 else
61405 ac_ext=cc
61406 ac_cpp='$CXXCPP $CPPFLAGS'
61407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411 cat >conftest.$ac_ext <<_ACEOF
61412 /* confdefs.h. */
61413 _ACEOF
61414 cat confdefs.h >>conftest.$ac_ext
61415 cat >>conftest.$ac_ext <<_ACEOF
61416 /* end confdefs.h. */
61417 #include <math.h>
61419 main ()
61421 `for x in ceill floorl; do echo "$x (0);"; done`
61423 return 0;
61425 _ACEOF
61426 rm -f conftest.$ac_objext
61427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61428 (eval $ac_compile) 2>conftest.er1
61429 ac_status=$?
61430 grep -v '^ *+' conftest.er1 >conftest.err
61431 rm -f conftest.er1
61432 cat conftest.err >&5
61433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61434 (exit $ac_status); } &&
61435 { ac_try='test -z "$ac_cxx_werror_flag"
61436 || test ! -s conftest.err'
61437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61438 (eval $ac_try) 2>&5
61439 ac_status=$?
61440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61441 (exit $ac_status); }; } &&
61442 { ac_try='test -s conftest.$ac_objext'
61443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61444 (eval $ac_try) 2>&5
61445 ac_status=$?
61446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61447 (exit $ac_status); }; }; then
61448 glibcxx_cv_func_long_double_round_use=yes
61449 else
61450 echo "$as_me: failed program was:" >&5
61451 sed 's/^/| /' conftest.$ac_ext >&5
61453 glibcxx_cv_func_long_double_round_use=no
61455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
61465 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
61466 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61469 for ac_func in ceill floorl
61471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61472 echo "$as_me:$LINENO: checking for $ac_func" >&5
61473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61474 if eval "test \"\${$as_ac_var+set}\" = set"; then
61475 echo $ECHO_N "(cached) $ECHO_C" >&6
61476 else
61477 if test x$gcc_no_link = xyes; then
61478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61480 { (exit 1); exit 1; }; }
61482 cat >conftest.$ac_ext <<_ACEOF
61483 /* confdefs.h. */
61484 _ACEOF
61485 cat confdefs.h >>conftest.$ac_ext
61486 cat >>conftest.$ac_ext <<_ACEOF
61487 /* end confdefs.h. */
61488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61490 #define $ac_func innocuous_$ac_func
61492 /* System header to define __stub macros and hopefully few prototypes,
61493 which can conflict with char $ac_func (); below.
61494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61495 <limits.h> exists even on freestanding compilers. */
61497 #ifdef __STDC__
61498 # include <limits.h>
61499 #else
61500 # include <assert.h>
61501 #endif
61503 #undef $ac_func
61505 /* Override any gcc2 internal prototype to avoid an error. */
61506 #ifdef __cplusplus
61507 extern "C"
61509 #endif
61510 /* We use char because int might match the return type of a gcc2
61511 builtin and then its argument prototype would still apply. */
61512 char $ac_func ();
61513 /* The GNU C library defines this for functions which it implements
61514 to always fail with ENOSYS. Some functions are actually named
61515 something starting with __ and the normal name is an alias. */
61516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61517 choke me
61518 #else
61519 char (*f) () = $ac_func;
61520 #endif
61521 #ifdef __cplusplus
61523 #endif
61526 main ()
61528 return f != $ac_func;
61530 return 0;
61532 _ACEOF
61533 rm -f conftest.$ac_objext conftest$ac_exeext
61534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61535 (eval $ac_link) 2>conftest.er1
61536 ac_status=$?
61537 grep -v '^ *+' conftest.er1 >conftest.err
61538 rm -f conftest.er1
61539 cat conftest.err >&5
61540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61541 (exit $ac_status); } &&
61542 { ac_try='test -z "$ac_c_werror_flag"
61543 || test ! -s conftest.err'
61544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61545 (eval $ac_try) 2>&5
61546 ac_status=$?
61547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61548 (exit $ac_status); }; } &&
61549 { ac_try='test -s conftest$ac_exeext'
61550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61551 (eval $ac_try) 2>&5
61552 ac_status=$?
61553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61554 (exit $ac_status); }; }; then
61555 eval "$as_ac_var=yes"
61556 else
61557 echo "$as_me: failed program was:" >&5
61558 sed 's/^/| /' conftest.$ac_ext >&5
61560 eval "$as_ac_var=no"
61562 rm -f conftest.err conftest.$ac_objext \
61563 conftest$ac_exeext conftest.$ac_ext
61565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61567 if test `eval echo '${'$as_ac_var'}'` = yes; then
61568 cat >>confdefs.h <<_ACEOF
61569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61570 _ACEOF
61573 done
61579 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
61580 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
61581 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61582 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
61583 echo $ECHO_N "(cached) $ECHO_C" >&6
61584 else
61588 ac_ext=cc
61589 ac_cpp='$CXXCPP $CPPFLAGS'
61590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61594 cat >conftest.$ac_ext <<_ACEOF
61595 /* confdefs.h. */
61596 _ACEOF
61597 cat confdefs.h >>conftest.$ac_ext
61598 cat >>conftest.$ac_ext <<_ACEOF
61599 /* end confdefs.h. */
61600 #include <math.h>
61601 #ifdef HAVE_IEEEFP_H
61602 #include <ieeefp.h>
61603 #endif
61606 main ()
61608 isnanl(0);
61610 return 0;
61612 _ACEOF
61613 rm -f conftest.$ac_objext
61614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61615 (eval $ac_compile) 2>conftest.er1
61616 ac_status=$?
61617 grep -v '^ *+' conftest.er1 >conftest.err
61618 rm -f conftest.er1
61619 cat conftest.err >&5
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); } &&
61622 { ac_try='test -z "$ac_cxx_werror_flag"
61623 || test ! -s conftest.err'
61624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61625 (eval $ac_try) 2>&5
61626 ac_status=$?
61627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61628 (exit $ac_status); }; } &&
61629 { ac_try='test -s conftest.$ac_objext'
61630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61631 (eval $ac_try) 2>&5
61632 ac_status=$?
61633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61634 (exit $ac_status); }; }; then
61635 glibcxx_cv_func_isnanl_use=yes
61636 else
61637 echo "$as_me: failed program was:" >&5
61638 sed 's/^/| /' conftest.$ac_ext >&5
61640 glibcxx_cv_func_isnanl_use=no
61642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
61654 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
61656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61658 for ac_func in isnanl
61660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61661 echo "$as_me:$LINENO: checking for $ac_func" >&5
61662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61663 if eval "test \"\${$as_ac_var+set}\" = set"; then
61664 echo $ECHO_N "(cached) $ECHO_C" >&6
61665 else
61666 if test x$gcc_no_link = xyes; then
61667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61669 { (exit 1); exit 1; }; }
61671 cat >conftest.$ac_ext <<_ACEOF
61672 /* confdefs.h. */
61673 _ACEOF
61674 cat confdefs.h >>conftest.$ac_ext
61675 cat >>conftest.$ac_ext <<_ACEOF
61676 /* end confdefs.h. */
61677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61679 #define $ac_func innocuous_$ac_func
61681 /* System header to define __stub macros and hopefully few prototypes,
61682 which can conflict with char $ac_func (); below.
61683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61684 <limits.h> exists even on freestanding compilers. */
61686 #ifdef __STDC__
61687 # include <limits.h>
61688 #else
61689 # include <assert.h>
61690 #endif
61692 #undef $ac_func
61694 /* Override any gcc2 internal prototype to avoid an error. */
61695 #ifdef __cplusplus
61696 extern "C"
61698 #endif
61699 /* We use char because int might match the return type of a gcc2
61700 builtin and then its argument prototype would still apply. */
61701 char $ac_func ();
61702 /* The GNU C library defines this for functions which it implements
61703 to always fail with ENOSYS. Some functions are actually named
61704 something starting with __ and the normal name is an alias. */
61705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61706 choke me
61707 #else
61708 char (*f) () = $ac_func;
61709 #endif
61710 #ifdef __cplusplus
61712 #endif
61715 main ()
61717 return f != $ac_func;
61719 return 0;
61721 _ACEOF
61722 rm -f conftest.$ac_objext conftest$ac_exeext
61723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61724 (eval $ac_link) 2>conftest.er1
61725 ac_status=$?
61726 grep -v '^ *+' conftest.er1 >conftest.err
61727 rm -f conftest.er1
61728 cat conftest.err >&5
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); } &&
61731 { ac_try='test -z "$ac_c_werror_flag"
61732 || test ! -s conftest.err'
61733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61734 (eval $ac_try) 2>&5
61735 ac_status=$?
61736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737 (exit $ac_status); }; } &&
61738 { ac_try='test -s conftest$ac_exeext'
61739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61740 (eval $ac_try) 2>&5
61741 ac_status=$?
61742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61743 (exit $ac_status); }; }; then
61744 eval "$as_ac_var=yes"
61745 else
61746 echo "$as_me: failed program was:" >&5
61747 sed 's/^/| /' conftest.$ac_ext >&5
61749 eval "$as_ac_var=no"
61751 rm -f conftest.err conftest.$ac_objext \
61752 conftest$ac_exeext conftest.$ac_ext
61754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61756 if test `eval echo '${'$as_ac_var'}'` = yes; then
61757 cat >>confdefs.h <<_ACEOF
61758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61759 _ACEOF
61762 done
61764 else
61766 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
61767 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
61768 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61769 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
61770 echo $ECHO_N "(cached) $ECHO_C" >&6
61771 else
61775 ac_ext=cc
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781 cat >conftest.$ac_ext <<_ACEOF
61782 /* confdefs.h. */
61783 _ACEOF
61784 cat confdefs.h >>conftest.$ac_ext
61785 cat >>conftest.$ac_ext <<_ACEOF
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 #ifdef HAVE_IEEEFP_H
61789 #include <ieeefp.h>
61790 #endif
61793 main ()
61795 _isnanl(0);
61797 return 0;
61799 _ACEOF
61800 rm -f conftest.$ac_objext
61801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61802 (eval $ac_compile) 2>conftest.er1
61803 ac_status=$?
61804 grep -v '^ *+' conftest.er1 >conftest.err
61805 rm -f conftest.er1
61806 cat conftest.err >&5
61807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61808 (exit $ac_status); } &&
61809 { ac_try='test -z "$ac_cxx_werror_flag"
61810 || test ! -s conftest.err'
61811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61812 (eval $ac_try) 2>&5
61813 ac_status=$?
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); }; } &&
61816 { ac_try='test -s conftest.$ac_objext'
61817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61818 (eval $ac_try) 2>&5
61819 ac_status=$?
61820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61821 (exit $ac_status); }; }; then
61822 glibcxx_cv_func__isnanl_use=yes
61823 else
61824 echo "$as_me: failed program was:" >&5
61825 sed 's/^/| /' conftest.$ac_ext >&5
61827 glibcxx_cv_func__isnanl_use=no
61829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61830 ac_ext=c
61831 ac_cpp='$CPP $CPPFLAGS'
61832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
61841 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
61843 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61845 for ac_func in _isnanl
61847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61848 echo "$as_me:$LINENO: checking for $ac_func" >&5
61849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61850 if eval "test \"\${$as_ac_var+set}\" = set"; then
61851 echo $ECHO_N "(cached) $ECHO_C" >&6
61852 else
61853 if test x$gcc_no_link = xyes; then
61854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61856 { (exit 1); exit 1; }; }
61858 cat >conftest.$ac_ext <<_ACEOF
61859 /* confdefs.h. */
61860 _ACEOF
61861 cat confdefs.h >>conftest.$ac_ext
61862 cat >>conftest.$ac_ext <<_ACEOF
61863 /* end confdefs.h. */
61864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61866 #define $ac_func innocuous_$ac_func
61868 /* System header to define __stub macros and hopefully few prototypes,
61869 which can conflict with char $ac_func (); below.
61870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61871 <limits.h> exists even on freestanding compilers. */
61873 #ifdef __STDC__
61874 # include <limits.h>
61875 #else
61876 # include <assert.h>
61877 #endif
61879 #undef $ac_func
61881 /* Override any gcc2 internal prototype to avoid an error. */
61882 #ifdef __cplusplus
61883 extern "C"
61885 #endif
61886 /* We use char because int might match the return type of a gcc2
61887 builtin and then its argument prototype would still apply. */
61888 char $ac_func ();
61889 /* The GNU C library defines this for functions which it implements
61890 to always fail with ENOSYS. Some functions are actually named
61891 something starting with __ and the normal name is an alias. */
61892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61893 choke me
61894 #else
61895 char (*f) () = $ac_func;
61896 #endif
61897 #ifdef __cplusplus
61899 #endif
61902 main ()
61904 return f != $ac_func;
61906 return 0;
61908 _ACEOF
61909 rm -f conftest.$ac_objext conftest$ac_exeext
61910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61911 (eval $ac_link) 2>conftest.er1
61912 ac_status=$?
61913 grep -v '^ *+' conftest.er1 >conftest.err
61914 rm -f conftest.er1
61915 cat conftest.err >&5
61916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61917 (exit $ac_status); } &&
61918 { ac_try='test -z "$ac_c_werror_flag"
61919 || test ! -s conftest.err'
61920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921 (eval $ac_try) 2>&5
61922 ac_status=$?
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); }; } &&
61925 { ac_try='test -s conftest$ac_exeext'
61926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61927 (eval $ac_try) 2>&5
61928 ac_status=$?
61929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61930 (exit $ac_status); }; }; then
61931 eval "$as_ac_var=yes"
61932 else
61933 echo "$as_me: failed program was:" >&5
61934 sed 's/^/| /' conftest.$ac_ext >&5
61936 eval "$as_ac_var=no"
61938 rm -f conftest.err conftest.$ac_objext \
61939 conftest$ac_exeext conftest.$ac_ext
61941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61943 if test `eval echo '${'$as_ac_var'}'` = yes; then
61944 cat >>confdefs.h <<_ACEOF
61945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61946 _ACEOF
61949 done
61956 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
61957 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
61958 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61959 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
61960 echo $ECHO_N "(cached) $ECHO_C" >&6
61961 else
61965 ac_ext=cc
61966 ac_cpp='$CXXCPP $CPPFLAGS'
61967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61971 cat >conftest.$ac_ext <<_ACEOF
61972 /* confdefs.h. */
61973 _ACEOF
61974 cat confdefs.h >>conftest.$ac_ext
61975 cat >>conftest.$ac_ext <<_ACEOF
61976 /* end confdefs.h. */
61977 #include <math.h>
61978 #ifdef HAVE_IEEEFP_H
61979 #include <ieeefp.h>
61980 #endif
61983 main ()
61985 isinfl(0);
61987 return 0;
61989 _ACEOF
61990 rm -f conftest.$ac_objext
61991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61992 (eval $ac_compile) 2>conftest.er1
61993 ac_status=$?
61994 grep -v '^ *+' conftest.er1 >conftest.err
61995 rm -f conftest.er1
61996 cat conftest.err >&5
61997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998 (exit $ac_status); } &&
61999 { ac_try='test -z "$ac_cxx_werror_flag"
62000 || test ! -s conftest.err'
62001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002 (eval $ac_try) 2>&5
62003 ac_status=$?
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); }; } &&
62006 { ac_try='test -s conftest.$ac_objext'
62007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62008 (eval $ac_try) 2>&5
62009 ac_status=$?
62010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62011 (exit $ac_status); }; }; then
62012 glibcxx_cv_func_isinfl_use=yes
62013 else
62014 echo "$as_me: failed program was:" >&5
62015 sed 's/^/| /' conftest.$ac_ext >&5
62017 glibcxx_cv_func_isinfl_use=no
62019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62020 ac_ext=c
62021 ac_cpp='$CPP $CPPFLAGS'
62022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
62031 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
62033 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62035 for ac_func in isinfl
62037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62038 echo "$as_me:$LINENO: checking for $ac_func" >&5
62039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62040 if eval "test \"\${$as_ac_var+set}\" = set"; then
62041 echo $ECHO_N "(cached) $ECHO_C" >&6
62042 else
62043 if test x$gcc_no_link = xyes; then
62044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62046 { (exit 1); exit 1; }; }
62048 cat >conftest.$ac_ext <<_ACEOF
62049 /* confdefs.h. */
62050 _ACEOF
62051 cat confdefs.h >>conftest.$ac_ext
62052 cat >>conftest.$ac_ext <<_ACEOF
62053 /* end confdefs.h. */
62054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62056 #define $ac_func innocuous_$ac_func
62058 /* System header to define __stub macros and hopefully few prototypes,
62059 which can conflict with char $ac_func (); below.
62060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62061 <limits.h> exists even on freestanding compilers. */
62063 #ifdef __STDC__
62064 # include <limits.h>
62065 #else
62066 # include <assert.h>
62067 #endif
62069 #undef $ac_func
62071 /* Override any gcc2 internal prototype to avoid an error. */
62072 #ifdef __cplusplus
62073 extern "C"
62075 #endif
62076 /* We use char because int might match the return type of a gcc2
62077 builtin and then its argument prototype would still apply. */
62078 char $ac_func ();
62079 /* The GNU C library defines this for functions which it implements
62080 to always fail with ENOSYS. Some functions are actually named
62081 something starting with __ and the normal name is an alias. */
62082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62083 choke me
62084 #else
62085 char (*f) () = $ac_func;
62086 #endif
62087 #ifdef __cplusplus
62089 #endif
62092 main ()
62094 return f != $ac_func;
62096 return 0;
62098 _ACEOF
62099 rm -f conftest.$ac_objext conftest$ac_exeext
62100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62101 (eval $ac_link) 2>conftest.er1
62102 ac_status=$?
62103 grep -v '^ *+' conftest.er1 >conftest.err
62104 rm -f conftest.er1
62105 cat conftest.err >&5
62106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62107 (exit $ac_status); } &&
62108 { ac_try='test -z "$ac_c_werror_flag"
62109 || test ! -s conftest.err'
62110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62111 (eval $ac_try) 2>&5
62112 ac_status=$?
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); }; } &&
62115 { ac_try='test -s conftest$ac_exeext'
62116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62117 (eval $ac_try) 2>&5
62118 ac_status=$?
62119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62120 (exit $ac_status); }; }; then
62121 eval "$as_ac_var=yes"
62122 else
62123 echo "$as_me: failed program was:" >&5
62124 sed 's/^/| /' conftest.$ac_ext >&5
62126 eval "$as_ac_var=no"
62128 rm -f conftest.err conftest.$ac_objext \
62129 conftest$ac_exeext conftest.$ac_ext
62131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62133 if test `eval echo '${'$as_ac_var'}'` = yes; then
62134 cat >>confdefs.h <<_ACEOF
62135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62136 _ACEOF
62139 done
62141 else
62143 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
62144 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
62145 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62146 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
62147 echo $ECHO_N "(cached) $ECHO_C" >&6
62148 else
62152 ac_ext=cc
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158 cat >conftest.$ac_ext <<_ACEOF
62159 /* confdefs.h. */
62160 _ACEOF
62161 cat confdefs.h >>conftest.$ac_ext
62162 cat >>conftest.$ac_ext <<_ACEOF
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62170 main ()
62172 _isinfl(0);
62174 return 0;
62176 _ACEOF
62177 rm -f conftest.$ac_objext
62178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62179 (eval $ac_compile) 2>conftest.er1
62180 ac_status=$?
62181 grep -v '^ *+' conftest.er1 >conftest.err
62182 rm -f conftest.er1
62183 cat conftest.err >&5
62184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185 (exit $ac_status); } &&
62186 { ac_try='test -z "$ac_cxx_werror_flag"
62187 || test ! -s conftest.err'
62188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189 (eval $ac_try) 2>&5
62190 ac_status=$?
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); }; } &&
62193 { ac_try='test -s conftest.$ac_objext'
62194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195 (eval $ac_try) 2>&5
62196 ac_status=$?
62197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198 (exit $ac_status); }; }; then
62199 glibcxx_cv_func__isinfl_use=yes
62200 else
62201 echo "$as_me: failed program was:" >&5
62202 sed 's/^/| /' conftest.$ac_ext >&5
62204 glibcxx_cv_func__isinfl_use=no
62206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62207 ac_ext=c
62208 ac_cpp='$CPP $CPPFLAGS'
62209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
62218 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
62220 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62222 for ac_func in _isinfl
62224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62225 echo "$as_me:$LINENO: checking for $ac_func" >&5
62226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62227 if eval "test \"\${$as_ac_var+set}\" = set"; then
62228 echo $ECHO_N "(cached) $ECHO_C" >&6
62229 else
62230 if test x$gcc_no_link = xyes; then
62231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62233 { (exit 1); exit 1; }; }
62235 cat >conftest.$ac_ext <<_ACEOF
62236 /* confdefs.h. */
62237 _ACEOF
62238 cat confdefs.h >>conftest.$ac_ext
62239 cat >>conftest.$ac_ext <<_ACEOF
62240 /* end confdefs.h. */
62241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62243 #define $ac_func innocuous_$ac_func
62245 /* System header to define __stub macros and hopefully few prototypes,
62246 which can conflict with char $ac_func (); below.
62247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62248 <limits.h> exists even on freestanding compilers. */
62250 #ifdef __STDC__
62251 # include <limits.h>
62252 #else
62253 # include <assert.h>
62254 #endif
62256 #undef $ac_func
62258 /* Override any gcc2 internal prototype to avoid an error. */
62259 #ifdef __cplusplus
62260 extern "C"
62262 #endif
62263 /* We use char because int might match the return type of a gcc2
62264 builtin and then its argument prototype would still apply. */
62265 char $ac_func ();
62266 /* The GNU C library defines this for functions which it implements
62267 to always fail with ENOSYS. Some functions are actually named
62268 something starting with __ and the normal name is an alias. */
62269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62270 choke me
62271 #else
62272 char (*f) () = $ac_func;
62273 #endif
62274 #ifdef __cplusplus
62276 #endif
62279 main ()
62281 return f != $ac_func;
62283 return 0;
62285 _ACEOF
62286 rm -f conftest.$ac_objext conftest$ac_exeext
62287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62288 (eval $ac_link) 2>conftest.er1
62289 ac_status=$?
62290 grep -v '^ *+' conftest.er1 >conftest.err
62291 rm -f conftest.er1
62292 cat conftest.err >&5
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); } &&
62295 { ac_try='test -z "$ac_c_werror_flag"
62296 || test ! -s conftest.err'
62297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62298 (eval $ac_try) 2>&5
62299 ac_status=$?
62300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62301 (exit $ac_status); }; } &&
62302 { ac_try='test -s conftest$ac_exeext'
62303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62304 (eval $ac_try) 2>&5
62305 ac_status=$?
62306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62307 (exit $ac_status); }; }; then
62308 eval "$as_ac_var=yes"
62309 else
62310 echo "$as_me: failed program was:" >&5
62311 sed 's/^/| /' conftest.$ac_ext >&5
62313 eval "$as_ac_var=no"
62315 rm -f conftest.err conftest.$ac_objext \
62316 conftest$ac_exeext conftest.$ac_ext
62318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62320 if test `eval echo '${'$as_ac_var'}'` = yes; then
62321 cat >>confdefs.h <<_ACEOF
62322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62326 done
62333 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
62334 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
62335 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
62336 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
62337 echo $ECHO_N "(cached) $ECHO_C" >&6
62338 else
62342 ac_ext=cc
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62348 cat >conftest.$ac_ext <<_ACEOF
62349 /* confdefs.h. */
62350 _ACEOF
62351 cat confdefs.h >>conftest.$ac_ext
62352 cat >>conftest.$ac_ext <<_ACEOF
62353 /* end confdefs.h. */
62354 #include <math.h>
62356 main ()
62358 copysignl(0, 0);
62360 return 0;
62362 _ACEOF
62363 rm -f conftest.$ac_objext
62364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62365 (eval $ac_compile) 2>conftest.er1
62366 ac_status=$?
62367 grep -v '^ *+' conftest.er1 >conftest.err
62368 rm -f conftest.er1
62369 cat conftest.err >&5
62370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62371 (exit $ac_status); } &&
62372 { ac_try='test -z "$ac_cxx_werror_flag"
62373 || test ! -s conftest.err'
62374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375 (eval $ac_try) 2>&5
62376 ac_status=$?
62377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378 (exit $ac_status); }; } &&
62379 { ac_try='test -s conftest.$ac_objext'
62380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381 (eval $ac_try) 2>&5
62382 ac_status=$?
62383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384 (exit $ac_status); }; }; then
62385 glibcxx_cv_func_copysignl_use=yes
62386 else
62387 echo "$as_me: failed program was:" >&5
62388 sed 's/^/| /' conftest.$ac_ext >&5
62390 glibcxx_cv_func_copysignl_use=no
62392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62393 ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
62404 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
62406 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
62408 for ac_func in copysignl
62410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62411 echo "$as_me:$LINENO: checking for $ac_func" >&5
62412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62413 if eval "test \"\${$as_ac_var+set}\" = set"; then
62414 echo $ECHO_N "(cached) $ECHO_C" >&6
62415 else
62416 if test x$gcc_no_link = xyes; then
62417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62419 { (exit 1); exit 1; }; }
62421 cat >conftest.$ac_ext <<_ACEOF
62422 /* confdefs.h. */
62423 _ACEOF
62424 cat confdefs.h >>conftest.$ac_ext
62425 cat >>conftest.$ac_ext <<_ACEOF
62426 /* end confdefs.h. */
62427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62429 #define $ac_func innocuous_$ac_func
62431 /* System header to define __stub macros and hopefully few prototypes,
62432 which can conflict with char $ac_func (); below.
62433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62434 <limits.h> exists even on freestanding compilers. */
62436 #ifdef __STDC__
62437 # include <limits.h>
62438 #else
62439 # include <assert.h>
62440 #endif
62442 #undef $ac_func
62444 /* Override any gcc2 internal prototype to avoid an error. */
62445 #ifdef __cplusplus
62446 extern "C"
62448 #endif
62449 /* We use char because int might match the return type of a gcc2
62450 builtin and then its argument prototype would still apply. */
62451 char $ac_func ();
62452 /* The GNU C library defines this for functions which it implements
62453 to always fail with ENOSYS. Some functions are actually named
62454 something starting with __ and the normal name is an alias. */
62455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62456 choke me
62457 #else
62458 char (*f) () = $ac_func;
62459 #endif
62460 #ifdef __cplusplus
62462 #endif
62465 main ()
62467 return f != $ac_func;
62469 return 0;
62471 _ACEOF
62472 rm -f conftest.$ac_objext conftest$ac_exeext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62474 (eval $ac_link) 2>conftest.er1
62475 ac_status=$?
62476 grep -v '^ *+' conftest.er1 >conftest.err
62477 rm -f conftest.er1
62478 cat conftest.err >&5
62479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 (exit $ac_status); } &&
62481 { ac_try='test -z "$ac_c_werror_flag"
62482 || test ! -s conftest.err'
62483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62484 (eval $ac_try) 2>&5
62485 ac_status=$?
62486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62487 (exit $ac_status); }; } &&
62488 { ac_try='test -s conftest$ac_exeext'
62489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490 (eval $ac_try) 2>&5
62491 ac_status=$?
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); }; }; then
62494 eval "$as_ac_var=yes"
62495 else
62496 echo "$as_me: failed program was:" >&5
62497 sed 's/^/| /' conftest.$ac_ext >&5
62499 eval "$as_ac_var=no"
62501 rm -f conftest.err conftest.$ac_objext \
62502 conftest$ac_exeext conftest.$ac_ext
62504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62506 if test `eval echo '${'$as_ac_var'}'` = yes; then
62507 cat >>confdefs.h <<_ACEOF
62508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62509 _ACEOF
62512 done
62514 else
62516 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
62517 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
62518 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
62519 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
62520 echo $ECHO_N "(cached) $ECHO_C" >&6
62521 else
62525 ac_ext=cc
62526 ac_cpp='$CXXCPP $CPPFLAGS'
62527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62531 cat >conftest.$ac_ext <<_ACEOF
62532 /* confdefs.h. */
62533 _ACEOF
62534 cat confdefs.h >>conftest.$ac_ext
62535 cat >>conftest.$ac_ext <<_ACEOF
62536 /* end confdefs.h. */
62537 #include <math.h>
62539 main ()
62541 _copysignl(0, 0);
62543 return 0;
62545 _ACEOF
62546 rm -f conftest.$ac_objext
62547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62548 (eval $ac_compile) 2>conftest.er1
62549 ac_status=$?
62550 grep -v '^ *+' conftest.er1 >conftest.err
62551 rm -f conftest.er1
62552 cat conftest.err >&5
62553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62554 (exit $ac_status); } &&
62555 { ac_try='test -z "$ac_cxx_werror_flag"
62556 || test ! -s conftest.err'
62557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62558 (eval $ac_try) 2>&5
62559 ac_status=$?
62560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62561 (exit $ac_status); }; } &&
62562 { ac_try='test -s conftest.$ac_objext'
62563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62564 (eval $ac_try) 2>&5
62565 ac_status=$?
62566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567 (exit $ac_status); }; }; then
62568 glibcxx_cv_func__copysignl_use=yes
62569 else
62570 echo "$as_me: failed program was:" >&5
62571 sed 's/^/| /' conftest.$ac_ext >&5
62573 glibcxx_cv_func__copysignl_use=no
62575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62576 ac_ext=c
62577 ac_cpp='$CPP $CPPFLAGS'
62578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
62587 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
62589 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
62591 for ac_func in _copysignl
62593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62594 echo "$as_me:$LINENO: checking for $ac_func" >&5
62595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62596 if eval "test \"\${$as_ac_var+set}\" = set"; then
62597 echo $ECHO_N "(cached) $ECHO_C" >&6
62598 else
62599 if test x$gcc_no_link = xyes; then
62600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62602 { (exit 1); exit 1; }; }
62604 cat >conftest.$ac_ext <<_ACEOF
62605 /* confdefs.h. */
62606 _ACEOF
62607 cat confdefs.h >>conftest.$ac_ext
62608 cat >>conftest.$ac_ext <<_ACEOF
62609 /* end confdefs.h. */
62610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62612 #define $ac_func innocuous_$ac_func
62614 /* System header to define __stub macros and hopefully few prototypes,
62615 which can conflict with char $ac_func (); below.
62616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62617 <limits.h> exists even on freestanding compilers. */
62619 #ifdef __STDC__
62620 # include <limits.h>
62621 #else
62622 # include <assert.h>
62623 #endif
62625 #undef $ac_func
62627 /* Override any gcc2 internal prototype to avoid an error. */
62628 #ifdef __cplusplus
62629 extern "C"
62631 #endif
62632 /* We use char because int might match the return type of a gcc2
62633 builtin and then its argument prototype would still apply. */
62634 char $ac_func ();
62635 /* The GNU C library defines this for functions which it implements
62636 to always fail with ENOSYS. Some functions are actually named
62637 something starting with __ and the normal name is an alias. */
62638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62639 choke me
62640 #else
62641 char (*f) () = $ac_func;
62642 #endif
62643 #ifdef __cplusplus
62645 #endif
62648 main ()
62650 return f != $ac_func;
62652 return 0;
62654 _ACEOF
62655 rm -f conftest.$ac_objext conftest$ac_exeext
62656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62657 (eval $ac_link) 2>conftest.er1
62658 ac_status=$?
62659 grep -v '^ *+' conftest.er1 >conftest.err
62660 rm -f conftest.er1
62661 cat conftest.err >&5
62662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62663 (exit $ac_status); } &&
62664 { ac_try='test -z "$ac_c_werror_flag"
62665 || test ! -s conftest.err'
62666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62667 (eval $ac_try) 2>&5
62668 ac_status=$?
62669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62670 (exit $ac_status); }; } &&
62671 { ac_try='test -s conftest$ac_exeext'
62672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673 (eval $ac_try) 2>&5
62674 ac_status=$?
62675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676 (exit $ac_status); }; }; then
62677 eval "$as_ac_var=yes"
62678 else
62679 echo "$as_me: failed program was:" >&5
62680 sed 's/^/| /' conftest.$ac_ext >&5
62682 eval "$as_ac_var=no"
62684 rm -f conftest.err conftest.$ac_objext \
62685 conftest$ac_exeext conftest.$ac_ext
62687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62689 if test `eval echo '${'$as_ac_var'}'` = yes; then
62690 cat >>confdefs.h <<_ACEOF
62691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62692 _ACEOF
62695 done
62702 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
62703 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
62704 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62705 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
62706 echo $ECHO_N "(cached) $ECHO_C" >&6
62707 else
62711 ac_ext=cc
62712 ac_cpp='$CXXCPP $CPPFLAGS'
62713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62717 cat >conftest.$ac_ext <<_ACEOF
62718 /* confdefs.h. */
62719 _ACEOF
62720 cat confdefs.h >>conftest.$ac_ext
62721 cat >>conftest.$ac_ext <<_ACEOF
62722 /* end confdefs.h. */
62723 #include <math.h>
62725 main ()
62727 atan2l(0, 0);
62729 return 0;
62731 _ACEOF
62732 rm -f conftest.$ac_objext
62733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62734 (eval $ac_compile) 2>conftest.er1
62735 ac_status=$?
62736 grep -v '^ *+' conftest.er1 >conftest.err
62737 rm -f conftest.er1
62738 cat conftest.err >&5
62739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62740 (exit $ac_status); } &&
62741 { ac_try='test -z "$ac_cxx_werror_flag"
62742 || test ! -s conftest.err'
62743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62744 (eval $ac_try) 2>&5
62745 ac_status=$?
62746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62747 (exit $ac_status); }; } &&
62748 { ac_try='test -s conftest.$ac_objext'
62749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62750 (eval $ac_try) 2>&5
62751 ac_status=$?
62752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62753 (exit $ac_status); }; }; then
62754 glibcxx_cv_func_atan2l_use=yes
62755 else
62756 echo "$as_me: failed program was:" >&5
62757 sed 's/^/| /' conftest.$ac_ext >&5
62759 glibcxx_cv_func_atan2l_use=no
62761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62762 ac_ext=c
62763 ac_cpp='$CPP $CPPFLAGS'
62764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
62773 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
62775 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62777 for ac_func in atan2l
62779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62780 echo "$as_me:$LINENO: checking for $ac_func" >&5
62781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62782 if eval "test \"\${$as_ac_var+set}\" = set"; then
62783 echo $ECHO_N "(cached) $ECHO_C" >&6
62784 else
62785 if test x$gcc_no_link = xyes; then
62786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62788 { (exit 1); exit 1; }; }
62790 cat >conftest.$ac_ext <<_ACEOF
62791 /* confdefs.h. */
62792 _ACEOF
62793 cat confdefs.h >>conftest.$ac_ext
62794 cat >>conftest.$ac_ext <<_ACEOF
62795 /* end confdefs.h. */
62796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62798 #define $ac_func innocuous_$ac_func
62800 /* System header to define __stub macros and hopefully few prototypes,
62801 which can conflict with char $ac_func (); below.
62802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62803 <limits.h> exists even on freestanding compilers. */
62805 #ifdef __STDC__
62806 # include <limits.h>
62807 #else
62808 # include <assert.h>
62809 #endif
62811 #undef $ac_func
62813 /* Override any gcc2 internal prototype to avoid an error. */
62814 #ifdef __cplusplus
62815 extern "C"
62817 #endif
62818 /* We use char because int might match the return type of a gcc2
62819 builtin and then its argument prototype would still apply. */
62820 char $ac_func ();
62821 /* The GNU C library defines this for functions which it implements
62822 to always fail with ENOSYS. Some functions are actually named
62823 something starting with __ and the normal name is an alias. */
62824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62825 choke me
62826 #else
62827 char (*f) () = $ac_func;
62828 #endif
62829 #ifdef __cplusplus
62831 #endif
62834 main ()
62836 return f != $ac_func;
62838 return 0;
62840 _ACEOF
62841 rm -f conftest.$ac_objext conftest$ac_exeext
62842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62843 (eval $ac_link) 2>conftest.er1
62844 ac_status=$?
62845 grep -v '^ *+' conftest.er1 >conftest.err
62846 rm -f conftest.er1
62847 cat conftest.err >&5
62848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62849 (exit $ac_status); } &&
62850 { ac_try='test -z "$ac_c_werror_flag"
62851 || test ! -s conftest.err'
62852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62853 (eval $ac_try) 2>&5
62854 ac_status=$?
62855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62856 (exit $ac_status); }; } &&
62857 { ac_try='test -s conftest$ac_exeext'
62858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62859 (eval $ac_try) 2>&5
62860 ac_status=$?
62861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62862 (exit $ac_status); }; }; then
62863 eval "$as_ac_var=yes"
62864 else
62865 echo "$as_me: failed program was:" >&5
62866 sed 's/^/| /' conftest.$ac_ext >&5
62868 eval "$as_ac_var=no"
62870 rm -f conftest.err conftest.$ac_objext \
62871 conftest$ac_exeext conftest.$ac_ext
62873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62875 if test `eval echo '${'$as_ac_var'}'` = yes; then
62876 cat >>confdefs.h <<_ACEOF
62877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62878 _ACEOF
62881 done
62883 else
62885 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
62886 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
62887 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62888 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
62889 echo $ECHO_N "(cached) $ECHO_C" >&6
62890 else
62894 ac_ext=cc
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62900 cat >conftest.$ac_ext <<_ACEOF
62901 /* confdefs.h. */
62902 _ACEOF
62903 cat confdefs.h >>conftest.$ac_ext
62904 cat >>conftest.$ac_ext <<_ACEOF
62905 /* end confdefs.h. */
62906 #include <math.h>
62908 main ()
62910 _atan2l(0, 0);
62912 return 0;
62914 _ACEOF
62915 rm -f conftest.$ac_objext
62916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62917 (eval $ac_compile) 2>conftest.er1
62918 ac_status=$?
62919 grep -v '^ *+' conftest.er1 >conftest.err
62920 rm -f conftest.er1
62921 cat conftest.err >&5
62922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62923 (exit $ac_status); } &&
62924 { ac_try='test -z "$ac_cxx_werror_flag"
62925 || test ! -s conftest.err'
62926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62927 (eval $ac_try) 2>&5
62928 ac_status=$?
62929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62930 (exit $ac_status); }; } &&
62931 { ac_try='test -s conftest.$ac_objext'
62932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62933 (eval $ac_try) 2>&5
62934 ac_status=$?
62935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62936 (exit $ac_status); }; }; then
62937 glibcxx_cv_func__atan2l_use=yes
62938 else
62939 echo "$as_me: failed program was:" >&5
62940 sed 's/^/| /' conftest.$ac_ext >&5
62942 glibcxx_cv_func__atan2l_use=no
62944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62945 ac_ext=c
62946 ac_cpp='$CPP $CPPFLAGS'
62947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
62956 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
62958 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62960 for ac_func in _atan2l
62962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62963 echo "$as_me:$LINENO: checking for $ac_func" >&5
62964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62965 if eval "test \"\${$as_ac_var+set}\" = set"; then
62966 echo $ECHO_N "(cached) $ECHO_C" >&6
62967 else
62968 if test x$gcc_no_link = xyes; then
62969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62971 { (exit 1); exit 1; }; }
62973 cat >conftest.$ac_ext <<_ACEOF
62974 /* confdefs.h. */
62975 _ACEOF
62976 cat confdefs.h >>conftest.$ac_ext
62977 cat >>conftest.$ac_ext <<_ACEOF
62978 /* end confdefs.h. */
62979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62981 #define $ac_func innocuous_$ac_func
62983 /* System header to define __stub macros and hopefully few prototypes,
62984 which can conflict with char $ac_func (); below.
62985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62986 <limits.h> exists even on freestanding compilers. */
62988 #ifdef __STDC__
62989 # include <limits.h>
62990 #else
62991 # include <assert.h>
62992 #endif
62994 #undef $ac_func
62996 /* Override any gcc2 internal prototype to avoid an error. */
62997 #ifdef __cplusplus
62998 extern "C"
63000 #endif
63001 /* We use char because int might match the return type of a gcc2
63002 builtin and then its argument prototype would still apply. */
63003 char $ac_func ();
63004 /* The GNU C library defines this for functions which it implements
63005 to always fail with ENOSYS. Some functions are actually named
63006 something starting with __ and the normal name is an alias. */
63007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63008 choke me
63009 #else
63010 char (*f) () = $ac_func;
63011 #endif
63012 #ifdef __cplusplus
63014 #endif
63017 main ()
63019 return f != $ac_func;
63021 return 0;
63023 _ACEOF
63024 rm -f conftest.$ac_objext conftest$ac_exeext
63025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63026 (eval $ac_link) 2>conftest.er1
63027 ac_status=$?
63028 grep -v '^ *+' conftest.er1 >conftest.err
63029 rm -f conftest.er1
63030 cat conftest.err >&5
63031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63032 (exit $ac_status); } &&
63033 { ac_try='test -z "$ac_c_werror_flag"
63034 || test ! -s conftest.err'
63035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63036 (eval $ac_try) 2>&5
63037 ac_status=$?
63038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63039 (exit $ac_status); }; } &&
63040 { ac_try='test -s conftest$ac_exeext'
63041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63042 (eval $ac_try) 2>&5
63043 ac_status=$?
63044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63045 (exit $ac_status); }; }; then
63046 eval "$as_ac_var=yes"
63047 else
63048 echo "$as_me: failed program was:" >&5
63049 sed 's/^/| /' conftest.$ac_ext >&5
63051 eval "$as_ac_var=no"
63053 rm -f conftest.err conftest.$ac_objext \
63054 conftest$ac_exeext conftest.$ac_ext
63056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63058 if test `eval echo '${'$as_ac_var'}'` = yes; then
63059 cat >>confdefs.h <<_ACEOF
63060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63061 _ACEOF
63064 done
63071 echo "$as_me:$LINENO: checking for expl declaration" >&5
63072 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
63073 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63074 if test "${glibcxx_cv_func_expl_use+set}" = set; then
63075 echo $ECHO_N "(cached) $ECHO_C" >&6
63076 else
63080 ac_ext=cc
63081 ac_cpp='$CXXCPP $CPPFLAGS'
63082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63086 cat >conftest.$ac_ext <<_ACEOF
63087 /* confdefs.h. */
63088 _ACEOF
63089 cat confdefs.h >>conftest.$ac_ext
63090 cat >>conftest.$ac_ext <<_ACEOF
63091 /* end confdefs.h. */
63092 #include <math.h>
63093 #ifdef HAVE_IEEEFP_H
63094 #include <ieeefp.h>
63095 #endif
63098 main ()
63100 expl(0);
63102 return 0;
63104 _ACEOF
63105 rm -f conftest.$ac_objext
63106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63107 (eval $ac_compile) 2>conftest.er1
63108 ac_status=$?
63109 grep -v '^ *+' conftest.er1 >conftest.err
63110 rm -f conftest.er1
63111 cat conftest.err >&5
63112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63113 (exit $ac_status); } &&
63114 { ac_try='test -z "$ac_cxx_werror_flag"
63115 || test ! -s conftest.err'
63116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63117 (eval $ac_try) 2>&5
63118 ac_status=$?
63119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63120 (exit $ac_status); }; } &&
63121 { ac_try='test -s conftest.$ac_objext'
63122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63123 (eval $ac_try) 2>&5
63124 ac_status=$?
63125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126 (exit $ac_status); }; }; then
63127 glibcxx_cv_func_expl_use=yes
63128 else
63129 echo "$as_me: failed program was:" >&5
63130 sed 's/^/| /' conftest.$ac_ext >&5
63132 glibcxx_cv_func_expl_use=no
63134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63135 ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
63146 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
63148 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63150 for ac_func in expl
63152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63153 echo "$as_me:$LINENO: checking for $ac_func" >&5
63154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63155 if eval "test \"\${$as_ac_var+set}\" = set"; then
63156 echo $ECHO_N "(cached) $ECHO_C" >&6
63157 else
63158 if test x$gcc_no_link = xyes; then
63159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63161 { (exit 1); exit 1; }; }
63163 cat >conftest.$ac_ext <<_ACEOF
63164 /* confdefs.h. */
63165 _ACEOF
63166 cat confdefs.h >>conftest.$ac_ext
63167 cat >>conftest.$ac_ext <<_ACEOF
63168 /* end confdefs.h. */
63169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63171 #define $ac_func innocuous_$ac_func
63173 /* System header to define __stub macros and hopefully few prototypes,
63174 which can conflict with char $ac_func (); below.
63175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63176 <limits.h> exists even on freestanding compilers. */
63178 #ifdef __STDC__
63179 # include <limits.h>
63180 #else
63181 # include <assert.h>
63182 #endif
63184 #undef $ac_func
63186 /* Override any gcc2 internal prototype to avoid an error. */
63187 #ifdef __cplusplus
63188 extern "C"
63190 #endif
63191 /* We use char because int might match the return type of a gcc2
63192 builtin and then its argument prototype would still apply. */
63193 char $ac_func ();
63194 /* The GNU C library defines this for functions which it implements
63195 to always fail with ENOSYS. Some functions are actually named
63196 something starting with __ and the normal name is an alias. */
63197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63198 choke me
63199 #else
63200 char (*f) () = $ac_func;
63201 #endif
63202 #ifdef __cplusplus
63204 #endif
63207 main ()
63209 return f != $ac_func;
63211 return 0;
63213 _ACEOF
63214 rm -f conftest.$ac_objext conftest$ac_exeext
63215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63216 (eval $ac_link) 2>conftest.er1
63217 ac_status=$?
63218 grep -v '^ *+' conftest.er1 >conftest.err
63219 rm -f conftest.er1
63220 cat conftest.err >&5
63221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63222 (exit $ac_status); } &&
63223 { ac_try='test -z "$ac_c_werror_flag"
63224 || test ! -s conftest.err'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; } &&
63230 { ac_try='test -s conftest$ac_exeext'
63231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63232 (eval $ac_try) 2>&5
63233 ac_status=$?
63234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63235 (exit $ac_status); }; }; then
63236 eval "$as_ac_var=yes"
63237 else
63238 echo "$as_me: failed program was:" >&5
63239 sed 's/^/| /' conftest.$ac_ext >&5
63241 eval "$as_ac_var=no"
63243 rm -f conftest.err conftest.$ac_objext \
63244 conftest$ac_exeext conftest.$ac_ext
63246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63248 if test `eval echo '${'$as_ac_var'}'` = yes; then
63249 cat >>confdefs.h <<_ACEOF
63250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63251 _ACEOF
63254 done
63256 else
63258 echo "$as_me:$LINENO: checking for _expl declaration" >&5
63259 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
63260 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63261 if test "${glibcxx_cv_func__expl_use+set}" = set; then
63262 echo $ECHO_N "(cached) $ECHO_C" >&6
63263 else
63267 ac_ext=cc
63268 ac_cpp='$CXXCPP $CPPFLAGS'
63269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63273 cat >conftest.$ac_ext <<_ACEOF
63274 /* confdefs.h. */
63275 _ACEOF
63276 cat confdefs.h >>conftest.$ac_ext
63277 cat >>conftest.$ac_ext <<_ACEOF
63278 /* end confdefs.h. */
63279 #include <math.h>
63280 #ifdef HAVE_IEEEFP_H
63281 #include <ieeefp.h>
63282 #endif
63285 main ()
63287 _expl(0);
63289 return 0;
63291 _ACEOF
63292 rm -f conftest.$ac_objext
63293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63294 (eval $ac_compile) 2>conftest.er1
63295 ac_status=$?
63296 grep -v '^ *+' conftest.er1 >conftest.err
63297 rm -f conftest.er1
63298 cat conftest.err >&5
63299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63300 (exit $ac_status); } &&
63301 { ac_try='test -z "$ac_cxx_werror_flag"
63302 || test ! -s conftest.err'
63303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63304 (eval $ac_try) 2>&5
63305 ac_status=$?
63306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63307 (exit $ac_status); }; } &&
63308 { ac_try='test -s conftest.$ac_objext'
63309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63310 (eval $ac_try) 2>&5
63311 ac_status=$?
63312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313 (exit $ac_status); }; }; then
63314 glibcxx_cv_func__expl_use=yes
63315 else
63316 echo "$as_me: failed program was:" >&5
63317 sed 's/^/| /' conftest.$ac_ext >&5
63319 glibcxx_cv_func__expl_use=no
63321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
63333 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
63335 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63337 for ac_func in _expl
63339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63340 echo "$as_me:$LINENO: checking for $ac_func" >&5
63341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63342 if eval "test \"\${$as_ac_var+set}\" = set"; then
63343 echo $ECHO_N "(cached) $ECHO_C" >&6
63344 else
63345 if test x$gcc_no_link = xyes; then
63346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63348 { (exit 1); exit 1; }; }
63350 cat >conftest.$ac_ext <<_ACEOF
63351 /* confdefs.h. */
63352 _ACEOF
63353 cat confdefs.h >>conftest.$ac_ext
63354 cat >>conftest.$ac_ext <<_ACEOF
63355 /* end confdefs.h. */
63356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63358 #define $ac_func innocuous_$ac_func
63360 /* System header to define __stub macros and hopefully few prototypes,
63361 which can conflict with char $ac_func (); below.
63362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63363 <limits.h> exists even on freestanding compilers. */
63365 #ifdef __STDC__
63366 # include <limits.h>
63367 #else
63368 # include <assert.h>
63369 #endif
63371 #undef $ac_func
63373 /* Override any gcc2 internal prototype to avoid an error. */
63374 #ifdef __cplusplus
63375 extern "C"
63377 #endif
63378 /* We use char because int might match the return type of a gcc2
63379 builtin and then its argument prototype would still apply. */
63380 char $ac_func ();
63381 /* The GNU C library defines this for functions which it implements
63382 to always fail with ENOSYS. Some functions are actually named
63383 something starting with __ and the normal name is an alias. */
63384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63385 choke me
63386 #else
63387 char (*f) () = $ac_func;
63388 #endif
63389 #ifdef __cplusplus
63391 #endif
63394 main ()
63396 return f != $ac_func;
63398 return 0;
63400 _ACEOF
63401 rm -f conftest.$ac_objext conftest$ac_exeext
63402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63403 (eval $ac_link) 2>conftest.er1
63404 ac_status=$?
63405 grep -v '^ *+' conftest.er1 >conftest.err
63406 rm -f conftest.er1
63407 cat conftest.err >&5
63408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63409 (exit $ac_status); } &&
63410 { ac_try='test -z "$ac_c_werror_flag"
63411 || test ! -s conftest.err'
63412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63413 (eval $ac_try) 2>&5
63414 ac_status=$?
63415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63416 (exit $ac_status); }; } &&
63417 { ac_try='test -s conftest$ac_exeext'
63418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63419 (eval $ac_try) 2>&5
63420 ac_status=$?
63421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63422 (exit $ac_status); }; }; then
63423 eval "$as_ac_var=yes"
63424 else
63425 echo "$as_me: failed program was:" >&5
63426 sed 's/^/| /' conftest.$ac_ext >&5
63428 eval "$as_ac_var=no"
63430 rm -f conftest.err conftest.$ac_objext \
63431 conftest$ac_exeext conftest.$ac_ext
63433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63435 if test `eval echo '${'$as_ac_var'}'` = yes; then
63436 cat >>confdefs.h <<_ACEOF
63437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63438 _ACEOF
63441 done
63448 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
63449 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
63450 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63451 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
63452 echo $ECHO_N "(cached) $ECHO_C" >&6
63453 else
63457 ac_ext=cc
63458 ac_cpp='$CXXCPP $CPPFLAGS'
63459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63463 cat >conftest.$ac_ext <<_ACEOF
63464 /* confdefs.h. */
63465 _ACEOF
63466 cat confdefs.h >>conftest.$ac_ext
63467 cat >>conftest.$ac_ext <<_ACEOF
63468 /* end confdefs.h. */
63469 #include <math.h>
63470 #ifdef HAVE_IEEEFP_H
63471 #include <ieeefp.h>
63472 #endif
63475 main ()
63477 fabsl(0);
63479 return 0;
63481 _ACEOF
63482 rm -f conftest.$ac_objext
63483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63484 (eval $ac_compile) 2>conftest.er1
63485 ac_status=$?
63486 grep -v '^ *+' conftest.er1 >conftest.err
63487 rm -f conftest.er1
63488 cat conftest.err >&5
63489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63490 (exit $ac_status); } &&
63491 { ac_try='test -z "$ac_cxx_werror_flag"
63492 || test ! -s conftest.err'
63493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494 (eval $ac_try) 2>&5
63495 ac_status=$?
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); }; } &&
63498 { ac_try='test -s conftest.$ac_objext'
63499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63500 (eval $ac_try) 2>&5
63501 ac_status=$?
63502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63503 (exit $ac_status); }; }; then
63504 glibcxx_cv_func_fabsl_use=yes
63505 else
63506 echo "$as_me: failed program was:" >&5
63507 sed 's/^/| /' conftest.$ac_ext >&5
63509 glibcxx_cv_func_fabsl_use=no
63511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
63523 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
63525 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63527 for ac_func in fabsl
63529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63530 echo "$as_me:$LINENO: checking for $ac_func" >&5
63531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63532 if eval "test \"\${$as_ac_var+set}\" = set"; then
63533 echo $ECHO_N "(cached) $ECHO_C" >&6
63534 else
63535 if test x$gcc_no_link = xyes; then
63536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63538 { (exit 1); exit 1; }; }
63540 cat >conftest.$ac_ext <<_ACEOF
63541 /* confdefs.h. */
63542 _ACEOF
63543 cat confdefs.h >>conftest.$ac_ext
63544 cat >>conftest.$ac_ext <<_ACEOF
63545 /* end confdefs.h. */
63546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63548 #define $ac_func innocuous_$ac_func
63550 /* System header to define __stub macros and hopefully few prototypes,
63551 which can conflict with char $ac_func (); below.
63552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63553 <limits.h> exists even on freestanding compilers. */
63555 #ifdef __STDC__
63556 # include <limits.h>
63557 #else
63558 # include <assert.h>
63559 #endif
63561 #undef $ac_func
63563 /* Override any gcc2 internal prototype to avoid an error. */
63564 #ifdef __cplusplus
63565 extern "C"
63567 #endif
63568 /* We use char because int might match the return type of a gcc2
63569 builtin and then its argument prototype would still apply. */
63570 char $ac_func ();
63571 /* The GNU C library defines this for functions which it implements
63572 to always fail with ENOSYS. Some functions are actually named
63573 something starting with __ and the normal name is an alias. */
63574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63575 choke me
63576 #else
63577 char (*f) () = $ac_func;
63578 #endif
63579 #ifdef __cplusplus
63581 #endif
63584 main ()
63586 return f != $ac_func;
63588 return 0;
63590 _ACEOF
63591 rm -f conftest.$ac_objext conftest$ac_exeext
63592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63593 (eval $ac_link) 2>conftest.er1
63594 ac_status=$?
63595 grep -v '^ *+' conftest.er1 >conftest.err
63596 rm -f conftest.er1
63597 cat conftest.err >&5
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); } &&
63600 { ac_try='test -z "$ac_c_werror_flag"
63601 || test ! -s conftest.err'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; } &&
63607 { ac_try='test -s conftest$ac_exeext'
63608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609 (eval $ac_try) 2>&5
63610 ac_status=$?
63611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 (exit $ac_status); }; }; then
63613 eval "$as_ac_var=yes"
63614 else
63615 echo "$as_me: failed program was:" >&5
63616 sed 's/^/| /' conftest.$ac_ext >&5
63618 eval "$as_ac_var=no"
63620 rm -f conftest.err conftest.$ac_objext \
63621 conftest$ac_exeext conftest.$ac_ext
63623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63625 if test `eval echo '${'$as_ac_var'}'` = yes; then
63626 cat >>confdefs.h <<_ACEOF
63627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63628 _ACEOF
63631 done
63633 else
63635 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
63636 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
63637 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63638 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
63639 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 else
63644 ac_ext=cc
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63650 cat >conftest.$ac_ext <<_ACEOF
63651 /* confdefs.h. */
63652 _ACEOF
63653 cat confdefs.h >>conftest.$ac_ext
63654 cat >>conftest.$ac_ext <<_ACEOF
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63662 main ()
63664 _fabsl(0);
63666 return 0;
63668 _ACEOF
63669 rm -f conftest.$ac_objext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63671 (eval $ac_compile) 2>conftest.er1
63672 ac_status=$?
63673 grep -v '^ *+' conftest.er1 >conftest.err
63674 rm -f conftest.er1
63675 cat conftest.err >&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -z "$ac_cxx_werror_flag"
63679 || test ! -s conftest.err'
63680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681 (eval $ac_try) 2>&5
63682 ac_status=$?
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); }; } &&
63685 { ac_try='test -s conftest.$ac_objext'
63686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687 (eval $ac_try) 2>&5
63688 ac_status=$?
63689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690 (exit $ac_status); }; }; then
63691 glibcxx_cv_func__fabsl_use=yes
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63696 glibcxx_cv_func__fabsl_use=no
63698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
63710 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
63712 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63714 for ac_func in _fabsl
63716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63717 echo "$as_me:$LINENO: checking for $ac_func" >&5
63718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63719 if eval "test \"\${$as_ac_var+set}\" = set"; then
63720 echo $ECHO_N "(cached) $ECHO_C" >&6
63721 else
63722 if test x$gcc_no_link = xyes; then
63723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63725 { (exit 1); exit 1; }; }
63727 cat >conftest.$ac_ext <<_ACEOF
63728 /* confdefs.h. */
63729 _ACEOF
63730 cat confdefs.h >>conftest.$ac_ext
63731 cat >>conftest.$ac_ext <<_ACEOF
63732 /* end confdefs.h. */
63733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63735 #define $ac_func innocuous_$ac_func
63737 /* System header to define __stub macros and hopefully few prototypes,
63738 which can conflict with char $ac_func (); below.
63739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63740 <limits.h> exists even on freestanding compilers. */
63742 #ifdef __STDC__
63743 # include <limits.h>
63744 #else
63745 # include <assert.h>
63746 #endif
63748 #undef $ac_func
63750 /* Override any gcc2 internal prototype to avoid an error. */
63751 #ifdef __cplusplus
63752 extern "C"
63754 #endif
63755 /* We use char because int might match the return type of a gcc2
63756 builtin and then its argument prototype would still apply. */
63757 char $ac_func ();
63758 /* The GNU C library defines this for functions which it implements
63759 to always fail with ENOSYS. Some functions are actually named
63760 something starting with __ and the normal name is an alias. */
63761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63762 choke me
63763 #else
63764 char (*f) () = $ac_func;
63765 #endif
63766 #ifdef __cplusplus
63768 #endif
63771 main ()
63773 return f != $ac_func;
63775 return 0;
63777 _ACEOF
63778 rm -f conftest.$ac_objext conftest$ac_exeext
63779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63780 (eval $ac_link) 2>conftest.er1
63781 ac_status=$?
63782 grep -v '^ *+' conftest.er1 >conftest.err
63783 rm -f conftest.er1
63784 cat conftest.err >&5
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); } &&
63787 { ac_try='test -z "$ac_c_werror_flag"
63788 || test ! -s conftest.err'
63789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63790 (eval $ac_try) 2>&5
63791 ac_status=$?
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); }; } &&
63794 { ac_try='test -s conftest$ac_exeext'
63795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796 (eval $ac_try) 2>&5
63797 ac_status=$?
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); }; }; then
63800 eval "$as_ac_var=yes"
63801 else
63802 echo "$as_me: failed program was:" >&5
63803 sed 's/^/| /' conftest.$ac_ext >&5
63805 eval "$as_ac_var=no"
63807 rm -f conftest.err conftest.$ac_objext \
63808 conftest$ac_exeext conftest.$ac_ext
63810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63812 if test `eval echo '${'$as_ac_var'}'` = yes; then
63813 cat >>confdefs.h <<_ACEOF
63814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63815 _ACEOF
63818 done
63825 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
63826 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
63827 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63828 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
63829 echo $ECHO_N "(cached) $ECHO_C" >&6
63830 else
63834 ac_ext=cc
63835 ac_cpp='$CXXCPP $CPPFLAGS'
63836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63840 cat >conftest.$ac_ext <<_ACEOF
63841 /* confdefs.h. */
63842 _ACEOF
63843 cat confdefs.h >>conftest.$ac_ext
63844 cat >>conftest.$ac_ext <<_ACEOF
63845 /* end confdefs.h. */
63846 #include <math.h>
63848 main ()
63850 fmodl(0, 0);
63852 return 0;
63854 _ACEOF
63855 rm -f conftest.$ac_objext
63856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63857 (eval $ac_compile) 2>conftest.er1
63858 ac_status=$?
63859 grep -v '^ *+' conftest.er1 >conftest.err
63860 rm -f conftest.er1
63861 cat conftest.err >&5
63862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63863 (exit $ac_status); } &&
63864 { ac_try='test -z "$ac_cxx_werror_flag"
63865 || test ! -s conftest.err'
63866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867 (eval $ac_try) 2>&5
63868 ac_status=$?
63869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870 (exit $ac_status); }; } &&
63871 { ac_try='test -s conftest.$ac_objext'
63872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63873 (eval $ac_try) 2>&5
63874 ac_status=$?
63875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63876 (exit $ac_status); }; }; then
63877 glibcxx_cv_func_fmodl_use=yes
63878 else
63879 echo "$as_me: failed program was:" >&5
63880 sed 's/^/| /' conftest.$ac_ext >&5
63882 glibcxx_cv_func_fmodl_use=no
63884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63885 ac_ext=c
63886 ac_cpp='$CPP $CPPFLAGS'
63887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
63896 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
63898 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63900 for ac_func in fmodl
63902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63903 echo "$as_me:$LINENO: checking for $ac_func" >&5
63904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63905 if eval "test \"\${$as_ac_var+set}\" = set"; then
63906 echo $ECHO_N "(cached) $ECHO_C" >&6
63907 else
63908 if test x$gcc_no_link = xyes; then
63909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63911 { (exit 1); exit 1; }; }
63913 cat >conftest.$ac_ext <<_ACEOF
63914 /* confdefs.h. */
63915 _ACEOF
63916 cat confdefs.h >>conftest.$ac_ext
63917 cat >>conftest.$ac_ext <<_ACEOF
63918 /* end confdefs.h. */
63919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63921 #define $ac_func innocuous_$ac_func
63923 /* System header to define __stub macros and hopefully few prototypes,
63924 which can conflict with char $ac_func (); below.
63925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63926 <limits.h> exists even on freestanding compilers. */
63928 #ifdef __STDC__
63929 # include <limits.h>
63930 #else
63931 # include <assert.h>
63932 #endif
63934 #undef $ac_func
63936 /* Override any gcc2 internal prototype to avoid an error. */
63937 #ifdef __cplusplus
63938 extern "C"
63940 #endif
63941 /* We use char because int might match the return type of a gcc2
63942 builtin and then its argument prototype would still apply. */
63943 char $ac_func ();
63944 /* The GNU C library defines this for functions which it implements
63945 to always fail with ENOSYS. Some functions are actually named
63946 something starting with __ and the normal name is an alias. */
63947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63948 choke me
63949 #else
63950 char (*f) () = $ac_func;
63951 #endif
63952 #ifdef __cplusplus
63954 #endif
63957 main ()
63959 return f != $ac_func;
63961 return 0;
63963 _ACEOF
63964 rm -f conftest.$ac_objext conftest$ac_exeext
63965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63966 (eval $ac_link) 2>conftest.er1
63967 ac_status=$?
63968 grep -v '^ *+' conftest.er1 >conftest.err
63969 rm -f conftest.er1
63970 cat conftest.err >&5
63971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63972 (exit $ac_status); } &&
63973 { ac_try='test -z "$ac_c_werror_flag"
63974 || test ! -s conftest.err'
63975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63976 (eval $ac_try) 2>&5
63977 ac_status=$?
63978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63979 (exit $ac_status); }; } &&
63980 { ac_try='test -s conftest$ac_exeext'
63981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63982 (eval $ac_try) 2>&5
63983 ac_status=$?
63984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985 (exit $ac_status); }; }; then
63986 eval "$as_ac_var=yes"
63987 else
63988 echo "$as_me: failed program was:" >&5
63989 sed 's/^/| /' conftest.$ac_ext >&5
63991 eval "$as_ac_var=no"
63993 rm -f conftest.err conftest.$ac_objext \
63994 conftest$ac_exeext conftest.$ac_ext
63996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63998 if test `eval echo '${'$as_ac_var'}'` = yes; then
63999 cat >>confdefs.h <<_ACEOF
64000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64001 _ACEOF
64004 done
64006 else
64008 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
64009 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
64010 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64011 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
64012 echo $ECHO_N "(cached) $ECHO_C" >&6
64013 else
64017 ac_ext=cc
64018 ac_cpp='$CXXCPP $CPPFLAGS'
64019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64023 cat >conftest.$ac_ext <<_ACEOF
64024 /* confdefs.h. */
64025 _ACEOF
64026 cat confdefs.h >>conftest.$ac_ext
64027 cat >>conftest.$ac_ext <<_ACEOF
64028 /* end confdefs.h. */
64029 #include <math.h>
64031 main ()
64033 _fmodl(0, 0);
64035 return 0;
64037 _ACEOF
64038 rm -f conftest.$ac_objext
64039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64040 (eval $ac_compile) 2>conftest.er1
64041 ac_status=$?
64042 grep -v '^ *+' conftest.er1 >conftest.err
64043 rm -f conftest.er1
64044 cat conftest.err >&5
64045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64046 (exit $ac_status); } &&
64047 { ac_try='test -z "$ac_cxx_werror_flag"
64048 || test ! -s conftest.err'
64049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64050 (eval $ac_try) 2>&5
64051 ac_status=$?
64052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64053 (exit $ac_status); }; } &&
64054 { ac_try='test -s conftest.$ac_objext'
64055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64056 (eval $ac_try) 2>&5
64057 ac_status=$?
64058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64059 (exit $ac_status); }; }; then
64060 glibcxx_cv_func__fmodl_use=yes
64061 else
64062 echo "$as_me: failed program was:" >&5
64063 sed 's/^/| /' conftest.$ac_ext >&5
64065 glibcxx_cv_func__fmodl_use=no
64067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64068 ac_ext=c
64069 ac_cpp='$CPP $CPPFLAGS'
64070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
64079 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
64081 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64083 for ac_func in _fmodl
64085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64086 echo "$as_me:$LINENO: checking for $ac_func" >&5
64087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64088 if eval "test \"\${$as_ac_var+set}\" = set"; then
64089 echo $ECHO_N "(cached) $ECHO_C" >&6
64090 else
64091 if test x$gcc_no_link = xyes; then
64092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64094 { (exit 1); exit 1; }; }
64096 cat >conftest.$ac_ext <<_ACEOF
64097 /* confdefs.h. */
64098 _ACEOF
64099 cat confdefs.h >>conftest.$ac_ext
64100 cat >>conftest.$ac_ext <<_ACEOF
64101 /* end confdefs.h. */
64102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64104 #define $ac_func innocuous_$ac_func
64106 /* System header to define __stub macros and hopefully few prototypes,
64107 which can conflict with char $ac_func (); below.
64108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64109 <limits.h> exists even on freestanding compilers. */
64111 #ifdef __STDC__
64112 # include <limits.h>
64113 #else
64114 # include <assert.h>
64115 #endif
64117 #undef $ac_func
64119 /* Override any gcc2 internal prototype to avoid an error. */
64120 #ifdef __cplusplus
64121 extern "C"
64123 #endif
64124 /* We use char because int might match the return type of a gcc2
64125 builtin and then its argument prototype would still apply. */
64126 char $ac_func ();
64127 /* The GNU C library defines this for functions which it implements
64128 to always fail with ENOSYS. Some functions are actually named
64129 something starting with __ and the normal name is an alias. */
64130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64131 choke me
64132 #else
64133 char (*f) () = $ac_func;
64134 #endif
64135 #ifdef __cplusplus
64137 #endif
64140 main ()
64142 return f != $ac_func;
64144 return 0;
64146 _ACEOF
64147 rm -f conftest.$ac_objext conftest$ac_exeext
64148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64149 (eval $ac_link) 2>conftest.er1
64150 ac_status=$?
64151 grep -v '^ *+' conftest.er1 >conftest.err
64152 rm -f conftest.er1
64153 cat conftest.err >&5
64154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64155 (exit $ac_status); } &&
64156 { ac_try='test -z "$ac_c_werror_flag"
64157 || test ! -s conftest.err'
64158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64159 (eval $ac_try) 2>&5
64160 ac_status=$?
64161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64162 (exit $ac_status); }; } &&
64163 { ac_try='test -s conftest$ac_exeext'
64164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64165 (eval $ac_try) 2>&5
64166 ac_status=$?
64167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64168 (exit $ac_status); }; }; then
64169 eval "$as_ac_var=yes"
64170 else
64171 echo "$as_me: failed program was:" >&5
64172 sed 's/^/| /' conftest.$ac_ext >&5
64174 eval "$as_ac_var=no"
64176 rm -f conftest.err conftest.$ac_objext \
64177 conftest$ac_exeext conftest.$ac_ext
64179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64181 if test `eval echo '${'$as_ac_var'}'` = yes; then
64182 cat >>confdefs.h <<_ACEOF
64183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64184 _ACEOF
64187 done
64194 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
64195 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
64196 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64197 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
64198 echo $ECHO_N "(cached) $ECHO_C" >&6
64199 else
64203 ac_ext=cc
64204 ac_cpp='$CXXCPP $CPPFLAGS'
64205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64209 cat >conftest.$ac_ext <<_ACEOF
64210 /* confdefs.h. */
64211 _ACEOF
64212 cat confdefs.h >>conftest.$ac_ext
64213 cat >>conftest.$ac_ext <<_ACEOF
64214 /* end confdefs.h. */
64215 #include <math.h>
64217 main ()
64219 frexpl(0, 0);
64221 return 0;
64223 _ACEOF
64224 rm -f conftest.$ac_objext
64225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64226 (eval $ac_compile) 2>conftest.er1
64227 ac_status=$?
64228 grep -v '^ *+' conftest.er1 >conftest.err
64229 rm -f conftest.er1
64230 cat conftest.err >&5
64231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64232 (exit $ac_status); } &&
64233 { ac_try='test -z "$ac_cxx_werror_flag"
64234 || test ! -s conftest.err'
64235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64236 (eval $ac_try) 2>&5
64237 ac_status=$?
64238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64239 (exit $ac_status); }; } &&
64240 { ac_try='test -s conftest.$ac_objext'
64241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64242 (eval $ac_try) 2>&5
64243 ac_status=$?
64244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64245 (exit $ac_status); }; }; then
64246 glibcxx_cv_func_frexpl_use=yes
64247 else
64248 echo "$as_me: failed program was:" >&5
64249 sed 's/^/| /' conftest.$ac_ext >&5
64251 glibcxx_cv_func_frexpl_use=no
64253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64254 ac_ext=c
64255 ac_cpp='$CPP $CPPFLAGS'
64256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
64265 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
64267 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64269 for ac_func in frexpl
64271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64272 echo "$as_me:$LINENO: checking for $ac_func" >&5
64273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64274 if eval "test \"\${$as_ac_var+set}\" = set"; then
64275 echo $ECHO_N "(cached) $ECHO_C" >&6
64276 else
64277 if test x$gcc_no_link = xyes; then
64278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64280 { (exit 1); exit 1; }; }
64282 cat >conftest.$ac_ext <<_ACEOF
64283 /* confdefs.h. */
64284 _ACEOF
64285 cat confdefs.h >>conftest.$ac_ext
64286 cat >>conftest.$ac_ext <<_ACEOF
64287 /* end confdefs.h. */
64288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64290 #define $ac_func innocuous_$ac_func
64292 /* System header to define __stub macros and hopefully few prototypes,
64293 which can conflict with char $ac_func (); below.
64294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64295 <limits.h> exists even on freestanding compilers. */
64297 #ifdef __STDC__
64298 # include <limits.h>
64299 #else
64300 # include <assert.h>
64301 #endif
64303 #undef $ac_func
64305 /* Override any gcc2 internal prototype to avoid an error. */
64306 #ifdef __cplusplus
64307 extern "C"
64309 #endif
64310 /* We use char because int might match the return type of a gcc2
64311 builtin and then its argument prototype would still apply. */
64312 char $ac_func ();
64313 /* The GNU C library defines this for functions which it implements
64314 to always fail with ENOSYS. Some functions are actually named
64315 something starting with __ and the normal name is an alias. */
64316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64317 choke me
64318 #else
64319 char (*f) () = $ac_func;
64320 #endif
64321 #ifdef __cplusplus
64323 #endif
64326 main ()
64328 return f != $ac_func;
64330 return 0;
64332 _ACEOF
64333 rm -f conftest.$ac_objext conftest$ac_exeext
64334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64335 (eval $ac_link) 2>conftest.er1
64336 ac_status=$?
64337 grep -v '^ *+' conftest.er1 >conftest.err
64338 rm -f conftest.er1
64339 cat conftest.err >&5
64340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64341 (exit $ac_status); } &&
64342 { ac_try='test -z "$ac_c_werror_flag"
64343 || test ! -s conftest.err'
64344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64345 (eval $ac_try) 2>&5
64346 ac_status=$?
64347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348 (exit $ac_status); }; } &&
64349 { ac_try='test -s conftest$ac_exeext'
64350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64351 (eval $ac_try) 2>&5
64352 ac_status=$?
64353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354 (exit $ac_status); }; }; then
64355 eval "$as_ac_var=yes"
64356 else
64357 echo "$as_me: failed program was:" >&5
64358 sed 's/^/| /' conftest.$ac_ext >&5
64360 eval "$as_ac_var=no"
64362 rm -f conftest.err conftest.$ac_objext \
64363 conftest$ac_exeext conftest.$ac_ext
64365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64367 if test `eval echo '${'$as_ac_var'}'` = yes; then
64368 cat >>confdefs.h <<_ACEOF
64369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64370 _ACEOF
64373 done
64375 else
64377 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
64378 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
64379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64380 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
64381 echo $ECHO_N "(cached) $ECHO_C" >&6
64382 else
64386 ac_ext=cc
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64392 cat >conftest.$ac_ext <<_ACEOF
64393 /* confdefs.h. */
64394 _ACEOF
64395 cat confdefs.h >>conftest.$ac_ext
64396 cat >>conftest.$ac_ext <<_ACEOF
64397 /* end confdefs.h. */
64398 #include <math.h>
64400 main ()
64402 _frexpl(0, 0);
64404 return 0;
64406 _ACEOF
64407 rm -f conftest.$ac_objext
64408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64409 (eval $ac_compile) 2>conftest.er1
64410 ac_status=$?
64411 grep -v '^ *+' conftest.er1 >conftest.err
64412 rm -f conftest.er1
64413 cat conftest.err >&5
64414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64415 (exit $ac_status); } &&
64416 { ac_try='test -z "$ac_cxx_werror_flag"
64417 || test ! -s conftest.err'
64418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64419 (eval $ac_try) 2>&5
64420 ac_status=$?
64421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64422 (exit $ac_status); }; } &&
64423 { ac_try='test -s conftest.$ac_objext'
64424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64425 (eval $ac_try) 2>&5
64426 ac_status=$?
64427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64428 (exit $ac_status); }; }; then
64429 glibcxx_cv_func__frexpl_use=yes
64430 else
64431 echo "$as_me: failed program was:" >&5
64432 sed 's/^/| /' conftest.$ac_ext >&5
64434 glibcxx_cv_func__frexpl_use=no
64436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64437 ac_ext=c
64438 ac_cpp='$CPP $CPPFLAGS'
64439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
64448 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
64450 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64452 for ac_func in _frexpl
64454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64455 echo "$as_me:$LINENO: checking for $ac_func" >&5
64456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64457 if eval "test \"\${$as_ac_var+set}\" = set"; then
64458 echo $ECHO_N "(cached) $ECHO_C" >&6
64459 else
64460 if test x$gcc_no_link = xyes; then
64461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64463 { (exit 1); exit 1; }; }
64465 cat >conftest.$ac_ext <<_ACEOF
64466 /* confdefs.h. */
64467 _ACEOF
64468 cat confdefs.h >>conftest.$ac_ext
64469 cat >>conftest.$ac_ext <<_ACEOF
64470 /* end confdefs.h. */
64471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64473 #define $ac_func innocuous_$ac_func
64475 /* System header to define __stub macros and hopefully few prototypes,
64476 which can conflict with char $ac_func (); below.
64477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64478 <limits.h> exists even on freestanding compilers. */
64480 #ifdef __STDC__
64481 # include <limits.h>
64482 #else
64483 # include <assert.h>
64484 #endif
64486 #undef $ac_func
64488 /* Override any gcc2 internal prototype to avoid an error. */
64489 #ifdef __cplusplus
64490 extern "C"
64492 #endif
64493 /* We use char because int might match the return type of a gcc2
64494 builtin and then its argument prototype would still apply. */
64495 char $ac_func ();
64496 /* The GNU C library defines this for functions which it implements
64497 to always fail with ENOSYS. Some functions are actually named
64498 something starting with __ and the normal name is an alias. */
64499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64500 choke me
64501 #else
64502 char (*f) () = $ac_func;
64503 #endif
64504 #ifdef __cplusplus
64506 #endif
64509 main ()
64511 return f != $ac_func;
64513 return 0;
64515 _ACEOF
64516 rm -f conftest.$ac_objext conftest$ac_exeext
64517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64518 (eval $ac_link) 2>conftest.er1
64519 ac_status=$?
64520 grep -v '^ *+' conftest.er1 >conftest.err
64521 rm -f conftest.er1
64522 cat conftest.err >&5
64523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64524 (exit $ac_status); } &&
64525 { ac_try='test -z "$ac_c_werror_flag"
64526 || test ! -s conftest.err'
64527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64528 (eval $ac_try) 2>&5
64529 ac_status=$?
64530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64531 (exit $ac_status); }; } &&
64532 { ac_try='test -s conftest$ac_exeext'
64533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64534 (eval $ac_try) 2>&5
64535 ac_status=$?
64536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64537 (exit $ac_status); }; }; then
64538 eval "$as_ac_var=yes"
64539 else
64540 echo "$as_me: failed program was:" >&5
64541 sed 's/^/| /' conftest.$ac_ext >&5
64543 eval "$as_ac_var=no"
64545 rm -f conftest.err conftest.$ac_objext \
64546 conftest$ac_exeext conftest.$ac_ext
64548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64550 if test `eval echo '${'$as_ac_var'}'` = yes; then
64551 cat >>confdefs.h <<_ACEOF
64552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64553 _ACEOF
64556 done
64563 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
64564 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
64565 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64566 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
64567 echo $ECHO_N "(cached) $ECHO_C" >&6
64568 else
64572 ac_ext=cc
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578 cat >conftest.$ac_ext <<_ACEOF
64579 /* confdefs.h. */
64580 _ACEOF
64581 cat confdefs.h >>conftest.$ac_ext
64582 cat >>conftest.$ac_ext <<_ACEOF
64583 /* end confdefs.h. */
64584 #include <math.h>
64586 main ()
64588 hypotl(0, 0);
64590 return 0;
64592 _ACEOF
64593 rm -f conftest.$ac_objext
64594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64595 (eval $ac_compile) 2>conftest.er1
64596 ac_status=$?
64597 grep -v '^ *+' conftest.er1 >conftest.err
64598 rm -f conftest.er1
64599 cat conftest.err >&5
64600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64601 (exit $ac_status); } &&
64602 { ac_try='test -z "$ac_cxx_werror_flag"
64603 || test ! -s conftest.err'
64604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64605 (eval $ac_try) 2>&5
64606 ac_status=$?
64607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64608 (exit $ac_status); }; } &&
64609 { ac_try='test -s conftest.$ac_objext'
64610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64611 (eval $ac_try) 2>&5
64612 ac_status=$?
64613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64614 (exit $ac_status); }; }; then
64615 glibcxx_cv_func_hypotl_use=yes
64616 else
64617 echo "$as_me: failed program was:" >&5
64618 sed 's/^/| /' conftest.$ac_ext >&5
64620 glibcxx_cv_func_hypotl_use=no
64622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64623 ac_ext=c
64624 ac_cpp='$CPP $CPPFLAGS'
64625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
64634 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
64636 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64638 for ac_func in hypotl
64640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64641 echo "$as_me:$LINENO: checking for $ac_func" >&5
64642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64643 if eval "test \"\${$as_ac_var+set}\" = set"; then
64644 echo $ECHO_N "(cached) $ECHO_C" >&6
64645 else
64646 if test x$gcc_no_link = xyes; then
64647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64649 { (exit 1); exit 1; }; }
64651 cat >conftest.$ac_ext <<_ACEOF
64652 /* confdefs.h. */
64653 _ACEOF
64654 cat confdefs.h >>conftest.$ac_ext
64655 cat >>conftest.$ac_ext <<_ACEOF
64656 /* end confdefs.h. */
64657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64659 #define $ac_func innocuous_$ac_func
64661 /* System header to define __stub macros and hopefully few prototypes,
64662 which can conflict with char $ac_func (); below.
64663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64664 <limits.h> exists even on freestanding compilers. */
64666 #ifdef __STDC__
64667 # include <limits.h>
64668 #else
64669 # include <assert.h>
64670 #endif
64672 #undef $ac_func
64674 /* Override any gcc2 internal prototype to avoid an error. */
64675 #ifdef __cplusplus
64676 extern "C"
64678 #endif
64679 /* We use char because int might match the return type of a gcc2
64680 builtin and then its argument prototype would still apply. */
64681 char $ac_func ();
64682 /* The GNU C library defines this for functions which it implements
64683 to always fail with ENOSYS. Some functions are actually named
64684 something starting with __ and the normal name is an alias. */
64685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64686 choke me
64687 #else
64688 char (*f) () = $ac_func;
64689 #endif
64690 #ifdef __cplusplus
64692 #endif
64695 main ()
64697 return f != $ac_func;
64699 return 0;
64701 _ACEOF
64702 rm -f conftest.$ac_objext conftest$ac_exeext
64703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64704 (eval $ac_link) 2>conftest.er1
64705 ac_status=$?
64706 grep -v '^ *+' conftest.er1 >conftest.err
64707 rm -f conftest.er1
64708 cat conftest.err >&5
64709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64710 (exit $ac_status); } &&
64711 { ac_try='test -z "$ac_c_werror_flag"
64712 || test ! -s conftest.err'
64713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64714 (eval $ac_try) 2>&5
64715 ac_status=$?
64716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64717 (exit $ac_status); }; } &&
64718 { ac_try='test -s conftest$ac_exeext'
64719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64720 (eval $ac_try) 2>&5
64721 ac_status=$?
64722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64723 (exit $ac_status); }; }; then
64724 eval "$as_ac_var=yes"
64725 else
64726 echo "$as_me: failed program was:" >&5
64727 sed 's/^/| /' conftest.$ac_ext >&5
64729 eval "$as_ac_var=no"
64731 rm -f conftest.err conftest.$ac_objext \
64732 conftest$ac_exeext conftest.$ac_ext
64734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64736 if test `eval echo '${'$as_ac_var'}'` = yes; then
64737 cat >>confdefs.h <<_ACEOF
64738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64739 _ACEOF
64742 done
64744 else
64746 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
64747 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
64748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64749 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
64750 echo $ECHO_N "(cached) $ECHO_C" >&6
64751 else
64755 ac_ext=cc
64756 ac_cpp='$CXXCPP $CPPFLAGS'
64757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64761 cat >conftest.$ac_ext <<_ACEOF
64762 /* confdefs.h. */
64763 _ACEOF
64764 cat confdefs.h >>conftest.$ac_ext
64765 cat >>conftest.$ac_ext <<_ACEOF
64766 /* end confdefs.h. */
64767 #include <math.h>
64769 main ()
64771 _hypotl(0, 0);
64773 return 0;
64775 _ACEOF
64776 rm -f conftest.$ac_objext
64777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64778 (eval $ac_compile) 2>conftest.er1
64779 ac_status=$?
64780 grep -v '^ *+' conftest.er1 >conftest.err
64781 rm -f conftest.er1
64782 cat conftest.err >&5
64783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64784 (exit $ac_status); } &&
64785 { ac_try='test -z "$ac_cxx_werror_flag"
64786 || test ! -s conftest.err'
64787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64788 (eval $ac_try) 2>&5
64789 ac_status=$?
64790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64791 (exit $ac_status); }; } &&
64792 { ac_try='test -s conftest.$ac_objext'
64793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794 (eval $ac_try) 2>&5
64795 ac_status=$?
64796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797 (exit $ac_status); }; }; then
64798 glibcxx_cv_func__hypotl_use=yes
64799 else
64800 echo "$as_me: failed program was:" >&5
64801 sed 's/^/| /' conftest.$ac_ext >&5
64803 glibcxx_cv_func__hypotl_use=no
64805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64806 ac_ext=c
64807 ac_cpp='$CPP $CPPFLAGS'
64808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
64817 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
64819 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64821 for ac_func in _hypotl
64823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64824 echo "$as_me:$LINENO: checking for $ac_func" >&5
64825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64826 if eval "test \"\${$as_ac_var+set}\" = set"; then
64827 echo $ECHO_N "(cached) $ECHO_C" >&6
64828 else
64829 if test x$gcc_no_link = xyes; then
64830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64832 { (exit 1); exit 1; }; }
64834 cat >conftest.$ac_ext <<_ACEOF
64835 /* confdefs.h. */
64836 _ACEOF
64837 cat confdefs.h >>conftest.$ac_ext
64838 cat >>conftest.$ac_ext <<_ACEOF
64839 /* end confdefs.h. */
64840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64842 #define $ac_func innocuous_$ac_func
64844 /* System header to define __stub macros and hopefully few prototypes,
64845 which can conflict with char $ac_func (); below.
64846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64847 <limits.h> exists even on freestanding compilers. */
64849 #ifdef __STDC__
64850 # include <limits.h>
64851 #else
64852 # include <assert.h>
64853 #endif
64855 #undef $ac_func
64857 /* Override any gcc2 internal prototype to avoid an error. */
64858 #ifdef __cplusplus
64859 extern "C"
64861 #endif
64862 /* We use char because int might match the return type of a gcc2
64863 builtin and then its argument prototype would still apply. */
64864 char $ac_func ();
64865 /* The GNU C library defines this for functions which it implements
64866 to always fail with ENOSYS. Some functions are actually named
64867 something starting with __ and the normal name is an alias. */
64868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64869 choke me
64870 #else
64871 char (*f) () = $ac_func;
64872 #endif
64873 #ifdef __cplusplus
64875 #endif
64878 main ()
64880 return f != $ac_func;
64882 return 0;
64884 _ACEOF
64885 rm -f conftest.$ac_objext conftest$ac_exeext
64886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64887 (eval $ac_link) 2>conftest.er1
64888 ac_status=$?
64889 grep -v '^ *+' conftest.er1 >conftest.err
64890 rm -f conftest.er1
64891 cat conftest.err >&5
64892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893 (exit $ac_status); } &&
64894 { ac_try='test -z "$ac_c_werror_flag"
64895 || test ! -s conftest.err'
64896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64897 (eval $ac_try) 2>&5
64898 ac_status=$?
64899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64900 (exit $ac_status); }; } &&
64901 { ac_try='test -s conftest$ac_exeext'
64902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64903 (eval $ac_try) 2>&5
64904 ac_status=$?
64905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906 (exit $ac_status); }; }; then
64907 eval "$as_ac_var=yes"
64908 else
64909 echo "$as_me: failed program was:" >&5
64910 sed 's/^/| /' conftest.$ac_ext >&5
64912 eval "$as_ac_var=no"
64914 rm -f conftest.err conftest.$ac_objext \
64915 conftest$ac_exeext conftest.$ac_ext
64917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64919 if test `eval echo '${'$as_ac_var'}'` = yes; then
64920 cat >>confdefs.h <<_ACEOF
64921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64922 _ACEOF
64925 done
64932 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
64933 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
64934 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64935 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
64936 echo $ECHO_N "(cached) $ECHO_C" >&6
64937 else
64941 ac_ext=cc
64942 ac_cpp='$CXXCPP $CPPFLAGS'
64943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64947 cat >conftest.$ac_ext <<_ACEOF
64948 /* confdefs.h. */
64949 _ACEOF
64950 cat confdefs.h >>conftest.$ac_ext
64951 cat >>conftest.$ac_ext <<_ACEOF
64952 /* end confdefs.h. */
64953 #include <math.h>
64955 main ()
64957 ldexpl(0, 0);
64959 return 0;
64961 _ACEOF
64962 rm -f conftest.$ac_objext
64963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64964 (eval $ac_compile) 2>conftest.er1
64965 ac_status=$?
64966 grep -v '^ *+' conftest.er1 >conftest.err
64967 rm -f conftest.er1
64968 cat conftest.err >&5
64969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64970 (exit $ac_status); } &&
64971 { ac_try='test -z "$ac_cxx_werror_flag"
64972 || test ! -s conftest.err'
64973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64974 (eval $ac_try) 2>&5
64975 ac_status=$?
64976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64977 (exit $ac_status); }; } &&
64978 { ac_try='test -s conftest.$ac_objext'
64979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64980 (eval $ac_try) 2>&5
64981 ac_status=$?
64982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64983 (exit $ac_status); }; }; then
64984 glibcxx_cv_func_ldexpl_use=yes
64985 else
64986 echo "$as_me: failed program was:" >&5
64987 sed 's/^/| /' conftest.$ac_ext >&5
64989 glibcxx_cv_func_ldexpl_use=no
64991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64992 ac_ext=c
64993 ac_cpp='$CPP $CPPFLAGS'
64994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
65003 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
65005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65007 for ac_func in ldexpl
65009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65010 echo "$as_me:$LINENO: checking for $ac_func" >&5
65011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65012 if eval "test \"\${$as_ac_var+set}\" = set"; then
65013 echo $ECHO_N "(cached) $ECHO_C" >&6
65014 else
65015 if test x$gcc_no_link = xyes; then
65016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65018 { (exit 1); exit 1; }; }
65020 cat >conftest.$ac_ext <<_ACEOF
65021 /* confdefs.h. */
65022 _ACEOF
65023 cat confdefs.h >>conftest.$ac_ext
65024 cat >>conftest.$ac_ext <<_ACEOF
65025 /* end confdefs.h. */
65026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65028 #define $ac_func innocuous_$ac_func
65030 /* System header to define __stub macros and hopefully few prototypes,
65031 which can conflict with char $ac_func (); below.
65032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65033 <limits.h> exists even on freestanding compilers. */
65035 #ifdef __STDC__
65036 # include <limits.h>
65037 #else
65038 # include <assert.h>
65039 #endif
65041 #undef $ac_func
65043 /* Override any gcc2 internal prototype to avoid an error. */
65044 #ifdef __cplusplus
65045 extern "C"
65047 #endif
65048 /* We use char because int might match the return type of a gcc2
65049 builtin and then its argument prototype would still apply. */
65050 char $ac_func ();
65051 /* The GNU C library defines this for functions which it implements
65052 to always fail with ENOSYS. Some functions are actually named
65053 something starting with __ and the normal name is an alias. */
65054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65055 choke me
65056 #else
65057 char (*f) () = $ac_func;
65058 #endif
65059 #ifdef __cplusplus
65061 #endif
65064 main ()
65066 return f != $ac_func;
65068 return 0;
65070 _ACEOF
65071 rm -f conftest.$ac_objext conftest$ac_exeext
65072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65073 (eval $ac_link) 2>conftest.er1
65074 ac_status=$?
65075 grep -v '^ *+' conftest.er1 >conftest.err
65076 rm -f conftest.er1
65077 cat conftest.err >&5
65078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65079 (exit $ac_status); } &&
65080 { ac_try='test -z "$ac_c_werror_flag"
65081 || test ! -s conftest.err'
65082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65083 (eval $ac_try) 2>&5
65084 ac_status=$?
65085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086 (exit $ac_status); }; } &&
65087 { ac_try='test -s conftest$ac_exeext'
65088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65089 (eval $ac_try) 2>&5
65090 ac_status=$?
65091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65092 (exit $ac_status); }; }; then
65093 eval "$as_ac_var=yes"
65094 else
65095 echo "$as_me: failed program was:" >&5
65096 sed 's/^/| /' conftest.$ac_ext >&5
65098 eval "$as_ac_var=no"
65100 rm -f conftest.err conftest.$ac_objext \
65101 conftest$ac_exeext conftest.$ac_ext
65103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65105 if test `eval echo '${'$as_ac_var'}'` = yes; then
65106 cat >>confdefs.h <<_ACEOF
65107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65108 _ACEOF
65111 done
65113 else
65115 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
65116 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
65117 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65118 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
65119 echo $ECHO_N "(cached) $ECHO_C" >&6
65120 else
65124 ac_ext=cc
65125 ac_cpp='$CXXCPP $CPPFLAGS'
65126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65130 cat >conftest.$ac_ext <<_ACEOF
65131 /* confdefs.h. */
65132 _ACEOF
65133 cat confdefs.h >>conftest.$ac_ext
65134 cat >>conftest.$ac_ext <<_ACEOF
65135 /* end confdefs.h. */
65136 #include <math.h>
65138 main ()
65140 _ldexpl(0, 0);
65142 return 0;
65144 _ACEOF
65145 rm -f conftest.$ac_objext
65146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65147 (eval $ac_compile) 2>conftest.er1
65148 ac_status=$?
65149 grep -v '^ *+' conftest.er1 >conftest.err
65150 rm -f conftest.er1
65151 cat conftest.err >&5
65152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65153 (exit $ac_status); } &&
65154 { ac_try='test -z "$ac_cxx_werror_flag"
65155 || test ! -s conftest.err'
65156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65157 (eval $ac_try) 2>&5
65158 ac_status=$?
65159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160 (exit $ac_status); }; } &&
65161 { ac_try='test -s conftest.$ac_objext'
65162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65163 (eval $ac_try) 2>&5
65164 ac_status=$?
65165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65166 (exit $ac_status); }; }; then
65167 glibcxx_cv_func__ldexpl_use=yes
65168 else
65169 echo "$as_me: failed program was:" >&5
65170 sed 's/^/| /' conftest.$ac_ext >&5
65172 glibcxx_cv_func__ldexpl_use=no
65174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65175 ac_ext=c
65176 ac_cpp='$CPP $CPPFLAGS'
65177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
65186 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
65188 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65190 for ac_func in _ldexpl
65192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65193 echo "$as_me:$LINENO: checking for $ac_func" >&5
65194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65195 if eval "test \"\${$as_ac_var+set}\" = set"; then
65196 echo $ECHO_N "(cached) $ECHO_C" >&6
65197 else
65198 if test x$gcc_no_link = xyes; then
65199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65201 { (exit 1); exit 1; }; }
65203 cat >conftest.$ac_ext <<_ACEOF
65204 /* confdefs.h. */
65205 _ACEOF
65206 cat confdefs.h >>conftest.$ac_ext
65207 cat >>conftest.$ac_ext <<_ACEOF
65208 /* end confdefs.h. */
65209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65211 #define $ac_func innocuous_$ac_func
65213 /* System header to define __stub macros and hopefully few prototypes,
65214 which can conflict with char $ac_func (); below.
65215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65216 <limits.h> exists even on freestanding compilers. */
65218 #ifdef __STDC__
65219 # include <limits.h>
65220 #else
65221 # include <assert.h>
65222 #endif
65224 #undef $ac_func
65226 /* Override any gcc2 internal prototype to avoid an error. */
65227 #ifdef __cplusplus
65228 extern "C"
65230 #endif
65231 /* We use char because int might match the return type of a gcc2
65232 builtin and then its argument prototype would still apply. */
65233 char $ac_func ();
65234 /* The GNU C library defines this for functions which it implements
65235 to always fail with ENOSYS. Some functions are actually named
65236 something starting with __ and the normal name is an alias. */
65237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65238 choke me
65239 #else
65240 char (*f) () = $ac_func;
65241 #endif
65242 #ifdef __cplusplus
65244 #endif
65247 main ()
65249 return f != $ac_func;
65251 return 0;
65253 _ACEOF
65254 rm -f conftest.$ac_objext conftest$ac_exeext
65255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65256 (eval $ac_link) 2>conftest.er1
65257 ac_status=$?
65258 grep -v '^ *+' conftest.er1 >conftest.err
65259 rm -f conftest.er1
65260 cat conftest.err >&5
65261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65262 (exit $ac_status); } &&
65263 { ac_try='test -z "$ac_c_werror_flag"
65264 || test ! -s conftest.err'
65265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65266 (eval $ac_try) 2>&5
65267 ac_status=$?
65268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65269 (exit $ac_status); }; } &&
65270 { ac_try='test -s conftest$ac_exeext'
65271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65272 (eval $ac_try) 2>&5
65273 ac_status=$?
65274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65275 (exit $ac_status); }; }; then
65276 eval "$as_ac_var=yes"
65277 else
65278 echo "$as_me: failed program was:" >&5
65279 sed 's/^/| /' conftest.$ac_ext >&5
65281 eval "$as_ac_var=no"
65283 rm -f conftest.err conftest.$ac_objext \
65284 conftest$ac_exeext conftest.$ac_ext
65286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65288 if test `eval echo '${'$as_ac_var'}'` = yes; then
65289 cat >>confdefs.h <<_ACEOF
65290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65291 _ACEOF
65294 done
65301 echo "$as_me:$LINENO: checking for logl declaration" >&5
65302 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
65303 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65304 if test "${glibcxx_cv_func_logl_use+set}" = set; then
65305 echo $ECHO_N "(cached) $ECHO_C" >&6
65306 else
65310 ac_ext=cc
65311 ac_cpp='$CXXCPP $CPPFLAGS'
65312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65316 cat >conftest.$ac_ext <<_ACEOF
65317 /* confdefs.h. */
65318 _ACEOF
65319 cat confdefs.h >>conftest.$ac_ext
65320 cat >>conftest.$ac_ext <<_ACEOF
65321 /* end confdefs.h. */
65322 #include <math.h>
65323 #ifdef HAVE_IEEEFP_H
65324 #include <ieeefp.h>
65325 #endif
65328 main ()
65330 logl(0);
65332 return 0;
65334 _ACEOF
65335 rm -f conftest.$ac_objext
65336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65337 (eval $ac_compile) 2>conftest.er1
65338 ac_status=$?
65339 grep -v '^ *+' conftest.er1 >conftest.err
65340 rm -f conftest.er1
65341 cat conftest.err >&5
65342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65343 (exit $ac_status); } &&
65344 { ac_try='test -z "$ac_cxx_werror_flag"
65345 || test ! -s conftest.err'
65346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65347 (eval $ac_try) 2>&5
65348 ac_status=$?
65349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65350 (exit $ac_status); }; } &&
65351 { ac_try='test -s conftest.$ac_objext'
65352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65353 (eval $ac_try) 2>&5
65354 ac_status=$?
65355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65356 (exit $ac_status); }; }; then
65357 glibcxx_cv_func_logl_use=yes
65358 else
65359 echo "$as_me: failed program was:" >&5
65360 sed 's/^/| /' conftest.$ac_ext >&5
65362 glibcxx_cv_func_logl_use=no
65364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65365 ac_ext=c
65366 ac_cpp='$CPP $CPPFLAGS'
65367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
65376 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
65378 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65380 for ac_func in logl
65382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65383 echo "$as_me:$LINENO: checking for $ac_func" >&5
65384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65385 if eval "test \"\${$as_ac_var+set}\" = set"; then
65386 echo $ECHO_N "(cached) $ECHO_C" >&6
65387 else
65388 if test x$gcc_no_link = xyes; then
65389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65391 { (exit 1); exit 1; }; }
65393 cat >conftest.$ac_ext <<_ACEOF
65394 /* confdefs.h. */
65395 _ACEOF
65396 cat confdefs.h >>conftest.$ac_ext
65397 cat >>conftest.$ac_ext <<_ACEOF
65398 /* end confdefs.h. */
65399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65401 #define $ac_func innocuous_$ac_func
65403 /* System header to define __stub macros and hopefully few prototypes,
65404 which can conflict with char $ac_func (); below.
65405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65406 <limits.h> exists even on freestanding compilers. */
65408 #ifdef __STDC__
65409 # include <limits.h>
65410 #else
65411 # include <assert.h>
65412 #endif
65414 #undef $ac_func
65416 /* Override any gcc2 internal prototype to avoid an error. */
65417 #ifdef __cplusplus
65418 extern "C"
65420 #endif
65421 /* We use char because int might match the return type of a gcc2
65422 builtin and then its argument prototype would still apply. */
65423 char $ac_func ();
65424 /* The GNU C library defines this for functions which it implements
65425 to always fail with ENOSYS. Some functions are actually named
65426 something starting with __ and the normal name is an alias. */
65427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65428 choke me
65429 #else
65430 char (*f) () = $ac_func;
65431 #endif
65432 #ifdef __cplusplus
65434 #endif
65437 main ()
65439 return f != $ac_func;
65441 return 0;
65443 _ACEOF
65444 rm -f conftest.$ac_objext conftest$ac_exeext
65445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65446 (eval $ac_link) 2>conftest.er1
65447 ac_status=$?
65448 grep -v '^ *+' conftest.er1 >conftest.err
65449 rm -f conftest.er1
65450 cat conftest.err >&5
65451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65452 (exit $ac_status); } &&
65453 { ac_try='test -z "$ac_c_werror_flag"
65454 || test ! -s conftest.err'
65455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65456 (eval $ac_try) 2>&5
65457 ac_status=$?
65458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65459 (exit $ac_status); }; } &&
65460 { ac_try='test -s conftest$ac_exeext'
65461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65462 (eval $ac_try) 2>&5
65463 ac_status=$?
65464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65465 (exit $ac_status); }; }; then
65466 eval "$as_ac_var=yes"
65467 else
65468 echo "$as_me: failed program was:" >&5
65469 sed 's/^/| /' conftest.$ac_ext >&5
65471 eval "$as_ac_var=no"
65473 rm -f conftest.err conftest.$ac_objext \
65474 conftest$ac_exeext conftest.$ac_ext
65476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65478 if test `eval echo '${'$as_ac_var'}'` = yes; then
65479 cat >>confdefs.h <<_ACEOF
65480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65481 _ACEOF
65484 done
65486 else
65488 echo "$as_me:$LINENO: checking for _logl declaration" >&5
65489 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
65490 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65491 if test "${glibcxx_cv_func__logl_use+set}" = set; then
65492 echo $ECHO_N "(cached) $ECHO_C" >&6
65493 else
65497 ac_ext=cc
65498 ac_cpp='$CXXCPP $CPPFLAGS'
65499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65503 cat >conftest.$ac_ext <<_ACEOF
65504 /* confdefs.h. */
65505 _ACEOF
65506 cat confdefs.h >>conftest.$ac_ext
65507 cat >>conftest.$ac_ext <<_ACEOF
65508 /* end confdefs.h. */
65509 #include <math.h>
65510 #ifdef HAVE_IEEEFP_H
65511 #include <ieeefp.h>
65512 #endif
65515 main ()
65517 _logl(0);
65519 return 0;
65521 _ACEOF
65522 rm -f conftest.$ac_objext
65523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65524 (eval $ac_compile) 2>conftest.er1
65525 ac_status=$?
65526 grep -v '^ *+' conftest.er1 >conftest.err
65527 rm -f conftest.er1
65528 cat conftest.err >&5
65529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65530 (exit $ac_status); } &&
65531 { ac_try='test -z "$ac_cxx_werror_flag"
65532 || test ! -s conftest.err'
65533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65534 (eval $ac_try) 2>&5
65535 ac_status=$?
65536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65537 (exit $ac_status); }; } &&
65538 { ac_try='test -s conftest.$ac_objext'
65539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65540 (eval $ac_try) 2>&5
65541 ac_status=$?
65542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65543 (exit $ac_status); }; }; then
65544 glibcxx_cv_func__logl_use=yes
65545 else
65546 echo "$as_me: failed program was:" >&5
65547 sed 's/^/| /' conftest.$ac_ext >&5
65549 glibcxx_cv_func__logl_use=no
65551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65552 ac_ext=c
65553 ac_cpp='$CPP $CPPFLAGS'
65554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
65563 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
65565 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65567 for ac_func in _logl
65569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65570 echo "$as_me:$LINENO: checking for $ac_func" >&5
65571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65572 if eval "test \"\${$as_ac_var+set}\" = set"; then
65573 echo $ECHO_N "(cached) $ECHO_C" >&6
65574 else
65575 if test x$gcc_no_link = xyes; then
65576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65578 { (exit 1); exit 1; }; }
65580 cat >conftest.$ac_ext <<_ACEOF
65581 /* confdefs.h. */
65582 _ACEOF
65583 cat confdefs.h >>conftest.$ac_ext
65584 cat >>conftest.$ac_ext <<_ACEOF
65585 /* end confdefs.h. */
65586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65588 #define $ac_func innocuous_$ac_func
65590 /* System header to define __stub macros and hopefully few prototypes,
65591 which can conflict with char $ac_func (); below.
65592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65593 <limits.h> exists even on freestanding compilers. */
65595 #ifdef __STDC__
65596 # include <limits.h>
65597 #else
65598 # include <assert.h>
65599 #endif
65601 #undef $ac_func
65603 /* Override any gcc2 internal prototype to avoid an error. */
65604 #ifdef __cplusplus
65605 extern "C"
65607 #endif
65608 /* We use char because int might match the return type of a gcc2
65609 builtin and then its argument prototype would still apply. */
65610 char $ac_func ();
65611 /* The GNU C library defines this for functions which it implements
65612 to always fail with ENOSYS. Some functions are actually named
65613 something starting with __ and the normal name is an alias. */
65614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65615 choke me
65616 #else
65617 char (*f) () = $ac_func;
65618 #endif
65619 #ifdef __cplusplus
65621 #endif
65624 main ()
65626 return f != $ac_func;
65628 return 0;
65630 _ACEOF
65631 rm -f conftest.$ac_objext conftest$ac_exeext
65632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65633 (eval $ac_link) 2>conftest.er1
65634 ac_status=$?
65635 grep -v '^ *+' conftest.er1 >conftest.err
65636 rm -f conftest.er1
65637 cat conftest.err >&5
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); } &&
65640 { ac_try='test -z "$ac_c_werror_flag"
65641 || test ! -s conftest.err'
65642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65643 (eval $ac_try) 2>&5
65644 ac_status=$?
65645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65646 (exit $ac_status); }; } &&
65647 { ac_try='test -s conftest$ac_exeext'
65648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65649 (eval $ac_try) 2>&5
65650 ac_status=$?
65651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65652 (exit $ac_status); }; }; then
65653 eval "$as_ac_var=yes"
65654 else
65655 echo "$as_me: failed program was:" >&5
65656 sed 's/^/| /' conftest.$ac_ext >&5
65658 eval "$as_ac_var=no"
65660 rm -f conftest.err conftest.$ac_objext \
65661 conftest$ac_exeext conftest.$ac_ext
65663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65665 if test `eval echo '${'$as_ac_var'}'` = yes; then
65666 cat >>confdefs.h <<_ACEOF
65667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65668 _ACEOF
65671 done
65678 echo "$as_me:$LINENO: checking for log10l declaration" >&5
65679 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
65680 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65681 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
65682 echo $ECHO_N "(cached) $ECHO_C" >&6
65683 else
65687 ac_ext=cc
65688 ac_cpp='$CXXCPP $CPPFLAGS'
65689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65693 cat >conftest.$ac_ext <<_ACEOF
65694 /* confdefs.h. */
65695 _ACEOF
65696 cat confdefs.h >>conftest.$ac_ext
65697 cat >>conftest.$ac_ext <<_ACEOF
65698 /* end confdefs.h. */
65699 #include <math.h>
65700 #ifdef HAVE_IEEEFP_H
65701 #include <ieeefp.h>
65702 #endif
65705 main ()
65707 log10l(0);
65709 return 0;
65711 _ACEOF
65712 rm -f conftest.$ac_objext
65713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65714 (eval $ac_compile) 2>conftest.er1
65715 ac_status=$?
65716 grep -v '^ *+' conftest.er1 >conftest.err
65717 rm -f conftest.er1
65718 cat conftest.err >&5
65719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65720 (exit $ac_status); } &&
65721 { ac_try='test -z "$ac_cxx_werror_flag"
65722 || test ! -s conftest.err'
65723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65724 (eval $ac_try) 2>&5
65725 ac_status=$?
65726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65727 (exit $ac_status); }; } &&
65728 { ac_try='test -s conftest.$ac_objext'
65729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65730 (eval $ac_try) 2>&5
65731 ac_status=$?
65732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65733 (exit $ac_status); }; }; then
65734 glibcxx_cv_func_log10l_use=yes
65735 else
65736 echo "$as_me: failed program was:" >&5
65737 sed 's/^/| /' conftest.$ac_ext >&5
65739 glibcxx_cv_func_log10l_use=no
65741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
65753 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
65755 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65757 for ac_func in log10l
65759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65760 echo "$as_me:$LINENO: checking for $ac_func" >&5
65761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65762 if eval "test \"\${$as_ac_var+set}\" = set"; then
65763 echo $ECHO_N "(cached) $ECHO_C" >&6
65764 else
65765 if test x$gcc_no_link = xyes; then
65766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65768 { (exit 1); exit 1; }; }
65770 cat >conftest.$ac_ext <<_ACEOF
65771 /* confdefs.h. */
65772 _ACEOF
65773 cat confdefs.h >>conftest.$ac_ext
65774 cat >>conftest.$ac_ext <<_ACEOF
65775 /* end confdefs.h. */
65776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65778 #define $ac_func innocuous_$ac_func
65780 /* System header to define __stub macros and hopefully few prototypes,
65781 which can conflict with char $ac_func (); below.
65782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65783 <limits.h> exists even on freestanding compilers. */
65785 #ifdef __STDC__
65786 # include <limits.h>
65787 #else
65788 # include <assert.h>
65789 #endif
65791 #undef $ac_func
65793 /* Override any gcc2 internal prototype to avoid an error. */
65794 #ifdef __cplusplus
65795 extern "C"
65797 #endif
65798 /* We use char because int might match the return type of a gcc2
65799 builtin and then its argument prototype would still apply. */
65800 char $ac_func ();
65801 /* The GNU C library defines this for functions which it implements
65802 to always fail with ENOSYS. Some functions are actually named
65803 something starting with __ and the normal name is an alias. */
65804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65805 choke me
65806 #else
65807 char (*f) () = $ac_func;
65808 #endif
65809 #ifdef __cplusplus
65811 #endif
65814 main ()
65816 return f != $ac_func;
65818 return 0;
65820 _ACEOF
65821 rm -f conftest.$ac_objext conftest$ac_exeext
65822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65823 (eval $ac_link) 2>conftest.er1
65824 ac_status=$?
65825 grep -v '^ *+' conftest.er1 >conftest.err
65826 rm -f conftest.er1
65827 cat conftest.err >&5
65828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65829 (exit $ac_status); } &&
65830 { ac_try='test -z "$ac_c_werror_flag"
65831 || test ! -s conftest.err'
65832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65833 (eval $ac_try) 2>&5
65834 ac_status=$?
65835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65836 (exit $ac_status); }; } &&
65837 { ac_try='test -s conftest$ac_exeext'
65838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65839 (eval $ac_try) 2>&5
65840 ac_status=$?
65841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65842 (exit $ac_status); }; }; then
65843 eval "$as_ac_var=yes"
65844 else
65845 echo "$as_me: failed program was:" >&5
65846 sed 's/^/| /' conftest.$ac_ext >&5
65848 eval "$as_ac_var=no"
65850 rm -f conftest.err conftest.$ac_objext \
65851 conftest$ac_exeext conftest.$ac_ext
65853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65855 if test `eval echo '${'$as_ac_var'}'` = yes; then
65856 cat >>confdefs.h <<_ACEOF
65857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65858 _ACEOF
65861 done
65863 else
65865 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
65866 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
65867 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65868 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
65869 echo $ECHO_N "(cached) $ECHO_C" >&6
65870 else
65874 ac_ext=cc
65875 ac_cpp='$CXXCPP $CPPFLAGS'
65876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65880 cat >conftest.$ac_ext <<_ACEOF
65881 /* confdefs.h. */
65882 _ACEOF
65883 cat confdefs.h >>conftest.$ac_ext
65884 cat >>conftest.$ac_ext <<_ACEOF
65885 /* end confdefs.h. */
65886 #include <math.h>
65887 #ifdef HAVE_IEEEFP_H
65888 #include <ieeefp.h>
65889 #endif
65892 main ()
65894 _log10l(0);
65896 return 0;
65898 _ACEOF
65899 rm -f conftest.$ac_objext
65900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65901 (eval $ac_compile) 2>conftest.er1
65902 ac_status=$?
65903 grep -v '^ *+' conftest.er1 >conftest.err
65904 rm -f conftest.er1
65905 cat conftest.err >&5
65906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65907 (exit $ac_status); } &&
65908 { ac_try='test -z "$ac_cxx_werror_flag"
65909 || test ! -s conftest.err'
65910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65911 (eval $ac_try) 2>&5
65912 ac_status=$?
65913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914 (exit $ac_status); }; } &&
65915 { ac_try='test -s conftest.$ac_objext'
65916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917 (eval $ac_try) 2>&5
65918 ac_status=$?
65919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920 (exit $ac_status); }; }; then
65921 glibcxx_cv_func__log10l_use=yes
65922 else
65923 echo "$as_me: failed program was:" >&5
65924 sed 's/^/| /' conftest.$ac_ext >&5
65926 glibcxx_cv_func__log10l_use=no
65928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65929 ac_ext=c
65930 ac_cpp='$CPP $CPPFLAGS'
65931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
65940 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
65942 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65944 for ac_func in _log10l
65946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65947 echo "$as_me:$LINENO: checking for $ac_func" >&5
65948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65949 if eval "test \"\${$as_ac_var+set}\" = set"; then
65950 echo $ECHO_N "(cached) $ECHO_C" >&6
65951 else
65952 if test x$gcc_no_link = xyes; then
65953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65955 { (exit 1); exit 1; }; }
65957 cat >conftest.$ac_ext <<_ACEOF
65958 /* confdefs.h. */
65959 _ACEOF
65960 cat confdefs.h >>conftest.$ac_ext
65961 cat >>conftest.$ac_ext <<_ACEOF
65962 /* end confdefs.h. */
65963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65965 #define $ac_func innocuous_$ac_func
65967 /* System header to define __stub macros and hopefully few prototypes,
65968 which can conflict with char $ac_func (); below.
65969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65970 <limits.h> exists even on freestanding compilers. */
65972 #ifdef __STDC__
65973 # include <limits.h>
65974 #else
65975 # include <assert.h>
65976 #endif
65978 #undef $ac_func
65980 /* Override any gcc2 internal prototype to avoid an error. */
65981 #ifdef __cplusplus
65982 extern "C"
65984 #endif
65985 /* We use char because int might match the return type of a gcc2
65986 builtin and then its argument prototype would still apply. */
65987 char $ac_func ();
65988 /* The GNU C library defines this for functions which it implements
65989 to always fail with ENOSYS. Some functions are actually named
65990 something starting with __ and the normal name is an alias. */
65991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65992 choke me
65993 #else
65994 char (*f) () = $ac_func;
65995 #endif
65996 #ifdef __cplusplus
65998 #endif
66001 main ()
66003 return f != $ac_func;
66005 return 0;
66007 _ACEOF
66008 rm -f conftest.$ac_objext conftest$ac_exeext
66009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66010 (eval $ac_link) 2>conftest.er1
66011 ac_status=$?
66012 grep -v '^ *+' conftest.er1 >conftest.err
66013 rm -f conftest.er1
66014 cat conftest.err >&5
66015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66016 (exit $ac_status); } &&
66017 { ac_try='test -z "$ac_c_werror_flag"
66018 || test ! -s conftest.err'
66019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66020 (eval $ac_try) 2>&5
66021 ac_status=$?
66022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66023 (exit $ac_status); }; } &&
66024 { ac_try='test -s conftest$ac_exeext'
66025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66026 (eval $ac_try) 2>&5
66027 ac_status=$?
66028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66029 (exit $ac_status); }; }; then
66030 eval "$as_ac_var=yes"
66031 else
66032 echo "$as_me: failed program was:" >&5
66033 sed 's/^/| /' conftest.$ac_ext >&5
66035 eval "$as_ac_var=no"
66037 rm -f conftest.err conftest.$ac_objext \
66038 conftest$ac_exeext conftest.$ac_ext
66040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66042 if test `eval echo '${'$as_ac_var'}'` = yes; then
66043 cat >>confdefs.h <<_ACEOF
66044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66045 _ACEOF
66048 done
66055 echo "$as_me:$LINENO: checking for modfl declaration" >&5
66056 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
66057 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66058 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
66059 echo $ECHO_N "(cached) $ECHO_C" >&6
66060 else
66064 ac_ext=cc
66065 ac_cpp='$CXXCPP $CPPFLAGS'
66066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66070 cat >conftest.$ac_ext <<_ACEOF
66071 /* confdefs.h. */
66072 _ACEOF
66073 cat confdefs.h >>conftest.$ac_ext
66074 cat >>conftest.$ac_ext <<_ACEOF
66075 /* end confdefs.h. */
66076 #include <math.h>
66078 main ()
66080 modfl(0, 0);
66082 return 0;
66084 _ACEOF
66085 rm -f conftest.$ac_objext
66086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66087 (eval $ac_compile) 2>conftest.er1
66088 ac_status=$?
66089 grep -v '^ *+' conftest.er1 >conftest.err
66090 rm -f conftest.er1
66091 cat conftest.err >&5
66092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66093 (exit $ac_status); } &&
66094 { ac_try='test -z "$ac_cxx_werror_flag"
66095 || test ! -s conftest.err'
66096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66097 (eval $ac_try) 2>&5
66098 ac_status=$?
66099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66100 (exit $ac_status); }; } &&
66101 { ac_try='test -s conftest.$ac_objext'
66102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66103 (eval $ac_try) 2>&5
66104 ac_status=$?
66105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66106 (exit $ac_status); }; }; then
66107 glibcxx_cv_func_modfl_use=yes
66108 else
66109 echo "$as_me: failed program was:" >&5
66110 sed 's/^/| /' conftest.$ac_ext >&5
66112 glibcxx_cv_func_modfl_use=no
66114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66115 ac_ext=c
66116 ac_cpp='$CPP $CPPFLAGS'
66117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
66126 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
66128 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66130 for ac_func in modfl
66132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66133 echo "$as_me:$LINENO: checking for $ac_func" >&5
66134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66135 if eval "test \"\${$as_ac_var+set}\" = set"; then
66136 echo $ECHO_N "(cached) $ECHO_C" >&6
66137 else
66138 if test x$gcc_no_link = xyes; then
66139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66141 { (exit 1); exit 1; }; }
66143 cat >conftest.$ac_ext <<_ACEOF
66144 /* confdefs.h. */
66145 _ACEOF
66146 cat confdefs.h >>conftest.$ac_ext
66147 cat >>conftest.$ac_ext <<_ACEOF
66148 /* end confdefs.h. */
66149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66151 #define $ac_func innocuous_$ac_func
66153 /* System header to define __stub macros and hopefully few prototypes,
66154 which can conflict with char $ac_func (); below.
66155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66156 <limits.h> exists even on freestanding compilers. */
66158 #ifdef __STDC__
66159 # include <limits.h>
66160 #else
66161 # include <assert.h>
66162 #endif
66164 #undef $ac_func
66166 /* Override any gcc2 internal prototype to avoid an error. */
66167 #ifdef __cplusplus
66168 extern "C"
66170 #endif
66171 /* We use char because int might match the return type of a gcc2
66172 builtin and then its argument prototype would still apply. */
66173 char $ac_func ();
66174 /* The GNU C library defines this for functions which it implements
66175 to always fail with ENOSYS. Some functions are actually named
66176 something starting with __ and the normal name is an alias. */
66177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66178 choke me
66179 #else
66180 char (*f) () = $ac_func;
66181 #endif
66182 #ifdef __cplusplus
66184 #endif
66187 main ()
66189 return f != $ac_func;
66191 return 0;
66193 _ACEOF
66194 rm -f conftest.$ac_objext conftest$ac_exeext
66195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66196 (eval $ac_link) 2>conftest.er1
66197 ac_status=$?
66198 grep -v '^ *+' conftest.er1 >conftest.err
66199 rm -f conftest.er1
66200 cat conftest.err >&5
66201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202 (exit $ac_status); } &&
66203 { ac_try='test -z "$ac_c_werror_flag"
66204 || test ! -s conftest.err'
66205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66206 (eval $ac_try) 2>&5
66207 ac_status=$?
66208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66209 (exit $ac_status); }; } &&
66210 { ac_try='test -s conftest$ac_exeext'
66211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66212 (eval $ac_try) 2>&5
66213 ac_status=$?
66214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66215 (exit $ac_status); }; }; then
66216 eval "$as_ac_var=yes"
66217 else
66218 echo "$as_me: failed program was:" >&5
66219 sed 's/^/| /' conftest.$ac_ext >&5
66221 eval "$as_ac_var=no"
66223 rm -f conftest.err conftest.$ac_objext \
66224 conftest$ac_exeext conftest.$ac_ext
66226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66228 if test `eval echo '${'$as_ac_var'}'` = yes; then
66229 cat >>confdefs.h <<_ACEOF
66230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66231 _ACEOF
66234 done
66236 else
66238 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
66239 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
66240 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66241 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
66242 echo $ECHO_N "(cached) $ECHO_C" >&6
66243 else
66247 ac_ext=cc
66248 ac_cpp='$CXXCPP $CPPFLAGS'
66249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66253 cat >conftest.$ac_ext <<_ACEOF
66254 /* confdefs.h. */
66255 _ACEOF
66256 cat confdefs.h >>conftest.$ac_ext
66257 cat >>conftest.$ac_ext <<_ACEOF
66258 /* end confdefs.h. */
66259 #include <math.h>
66261 main ()
66263 _modfl(0, 0);
66265 return 0;
66267 _ACEOF
66268 rm -f conftest.$ac_objext
66269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66270 (eval $ac_compile) 2>conftest.er1
66271 ac_status=$?
66272 grep -v '^ *+' conftest.er1 >conftest.err
66273 rm -f conftest.er1
66274 cat conftest.err >&5
66275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66276 (exit $ac_status); } &&
66277 { ac_try='test -z "$ac_cxx_werror_flag"
66278 || test ! -s conftest.err'
66279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66280 (eval $ac_try) 2>&5
66281 ac_status=$?
66282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66283 (exit $ac_status); }; } &&
66284 { ac_try='test -s conftest.$ac_objext'
66285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66286 (eval $ac_try) 2>&5
66287 ac_status=$?
66288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66289 (exit $ac_status); }; }; then
66290 glibcxx_cv_func__modfl_use=yes
66291 else
66292 echo "$as_me: failed program was:" >&5
66293 sed 's/^/| /' conftest.$ac_ext >&5
66295 glibcxx_cv_func__modfl_use=no
66297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66298 ac_ext=c
66299 ac_cpp='$CPP $CPPFLAGS'
66300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
66309 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
66311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66313 for ac_func in _modfl
66315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66316 echo "$as_me:$LINENO: checking for $ac_func" >&5
66317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66318 if eval "test \"\${$as_ac_var+set}\" = set"; then
66319 echo $ECHO_N "(cached) $ECHO_C" >&6
66320 else
66321 if test x$gcc_no_link = xyes; then
66322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66324 { (exit 1); exit 1; }; }
66326 cat >conftest.$ac_ext <<_ACEOF
66327 /* confdefs.h. */
66328 _ACEOF
66329 cat confdefs.h >>conftest.$ac_ext
66330 cat >>conftest.$ac_ext <<_ACEOF
66331 /* end confdefs.h. */
66332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66334 #define $ac_func innocuous_$ac_func
66336 /* System header to define __stub macros and hopefully few prototypes,
66337 which can conflict with char $ac_func (); below.
66338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66339 <limits.h> exists even on freestanding compilers. */
66341 #ifdef __STDC__
66342 # include <limits.h>
66343 #else
66344 # include <assert.h>
66345 #endif
66347 #undef $ac_func
66349 /* Override any gcc2 internal prototype to avoid an error. */
66350 #ifdef __cplusplus
66351 extern "C"
66353 #endif
66354 /* We use char because int might match the return type of a gcc2
66355 builtin and then its argument prototype would still apply. */
66356 char $ac_func ();
66357 /* The GNU C library defines this for functions which it implements
66358 to always fail with ENOSYS. Some functions are actually named
66359 something starting with __ and the normal name is an alias. */
66360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66361 choke me
66362 #else
66363 char (*f) () = $ac_func;
66364 #endif
66365 #ifdef __cplusplus
66367 #endif
66370 main ()
66372 return f != $ac_func;
66374 return 0;
66376 _ACEOF
66377 rm -f conftest.$ac_objext conftest$ac_exeext
66378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66379 (eval $ac_link) 2>conftest.er1
66380 ac_status=$?
66381 grep -v '^ *+' conftest.er1 >conftest.err
66382 rm -f conftest.er1
66383 cat conftest.err >&5
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); } &&
66386 { ac_try='test -z "$ac_c_werror_flag"
66387 || test ! -s conftest.err'
66388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66389 (eval $ac_try) 2>&5
66390 ac_status=$?
66391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66392 (exit $ac_status); }; } &&
66393 { ac_try='test -s conftest$ac_exeext'
66394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66395 (eval $ac_try) 2>&5
66396 ac_status=$?
66397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66398 (exit $ac_status); }; }; then
66399 eval "$as_ac_var=yes"
66400 else
66401 echo "$as_me: failed program was:" >&5
66402 sed 's/^/| /' conftest.$ac_ext >&5
66404 eval "$as_ac_var=no"
66406 rm -f conftest.err conftest.$ac_objext \
66407 conftest$ac_exeext conftest.$ac_ext
66409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66411 if test `eval echo '${'$as_ac_var'}'` = yes; then
66412 cat >>confdefs.h <<_ACEOF
66413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66414 _ACEOF
66417 done
66424 echo "$as_me:$LINENO: checking for powl declaration" >&5
66425 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
66426 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66427 if test "${glibcxx_cv_func_powl_use+set}" = set; then
66428 echo $ECHO_N "(cached) $ECHO_C" >&6
66429 else
66433 ac_ext=cc
66434 ac_cpp='$CXXCPP $CPPFLAGS'
66435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66439 cat >conftest.$ac_ext <<_ACEOF
66440 /* confdefs.h. */
66441 _ACEOF
66442 cat confdefs.h >>conftest.$ac_ext
66443 cat >>conftest.$ac_ext <<_ACEOF
66444 /* end confdefs.h. */
66445 #include <math.h>
66447 main ()
66449 powl(0, 0);
66451 return 0;
66453 _ACEOF
66454 rm -f conftest.$ac_objext
66455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66456 (eval $ac_compile) 2>conftest.er1
66457 ac_status=$?
66458 grep -v '^ *+' conftest.er1 >conftest.err
66459 rm -f conftest.er1
66460 cat conftest.err >&5
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); } &&
66463 { ac_try='test -z "$ac_cxx_werror_flag"
66464 || test ! -s conftest.err'
66465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66466 (eval $ac_try) 2>&5
66467 ac_status=$?
66468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469 (exit $ac_status); }; } &&
66470 { ac_try='test -s conftest.$ac_objext'
66471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66472 (eval $ac_try) 2>&5
66473 ac_status=$?
66474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475 (exit $ac_status); }; }; then
66476 glibcxx_cv_func_powl_use=yes
66477 else
66478 echo "$as_me: failed program was:" >&5
66479 sed 's/^/| /' conftest.$ac_ext >&5
66481 glibcxx_cv_func_powl_use=no
66483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66484 ac_ext=c
66485 ac_cpp='$CPP $CPPFLAGS'
66486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
66495 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
66497 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66499 for ac_func in powl
66501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66502 echo "$as_me:$LINENO: checking for $ac_func" >&5
66503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66504 if eval "test \"\${$as_ac_var+set}\" = set"; then
66505 echo $ECHO_N "(cached) $ECHO_C" >&6
66506 else
66507 if test x$gcc_no_link = xyes; then
66508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66510 { (exit 1); exit 1; }; }
66512 cat >conftest.$ac_ext <<_ACEOF
66513 /* confdefs.h. */
66514 _ACEOF
66515 cat confdefs.h >>conftest.$ac_ext
66516 cat >>conftest.$ac_ext <<_ACEOF
66517 /* end confdefs.h. */
66518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66520 #define $ac_func innocuous_$ac_func
66522 /* System header to define __stub macros and hopefully few prototypes,
66523 which can conflict with char $ac_func (); below.
66524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66525 <limits.h> exists even on freestanding compilers. */
66527 #ifdef __STDC__
66528 # include <limits.h>
66529 #else
66530 # include <assert.h>
66531 #endif
66533 #undef $ac_func
66535 /* Override any gcc2 internal prototype to avoid an error. */
66536 #ifdef __cplusplus
66537 extern "C"
66539 #endif
66540 /* We use char because int might match the return type of a gcc2
66541 builtin and then its argument prototype would still apply. */
66542 char $ac_func ();
66543 /* The GNU C library defines this for functions which it implements
66544 to always fail with ENOSYS. Some functions are actually named
66545 something starting with __ and the normal name is an alias. */
66546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66547 choke me
66548 #else
66549 char (*f) () = $ac_func;
66550 #endif
66551 #ifdef __cplusplus
66553 #endif
66556 main ()
66558 return f != $ac_func;
66560 return 0;
66562 _ACEOF
66563 rm -f conftest.$ac_objext conftest$ac_exeext
66564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66565 (eval $ac_link) 2>conftest.er1
66566 ac_status=$?
66567 grep -v '^ *+' conftest.er1 >conftest.err
66568 rm -f conftest.er1
66569 cat conftest.err >&5
66570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66571 (exit $ac_status); } &&
66572 { ac_try='test -z "$ac_c_werror_flag"
66573 || test ! -s conftest.err'
66574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66575 (eval $ac_try) 2>&5
66576 ac_status=$?
66577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66578 (exit $ac_status); }; } &&
66579 { ac_try='test -s conftest$ac_exeext'
66580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66581 (eval $ac_try) 2>&5
66582 ac_status=$?
66583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584 (exit $ac_status); }; }; then
66585 eval "$as_ac_var=yes"
66586 else
66587 echo "$as_me: failed program was:" >&5
66588 sed 's/^/| /' conftest.$ac_ext >&5
66590 eval "$as_ac_var=no"
66592 rm -f conftest.err conftest.$ac_objext \
66593 conftest$ac_exeext conftest.$ac_ext
66595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66597 if test `eval echo '${'$as_ac_var'}'` = yes; then
66598 cat >>confdefs.h <<_ACEOF
66599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66600 _ACEOF
66603 done
66605 else
66607 echo "$as_me:$LINENO: checking for _powl declaration" >&5
66608 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
66609 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66610 if test "${glibcxx_cv_func__powl_use+set}" = set; then
66611 echo $ECHO_N "(cached) $ECHO_C" >&6
66612 else
66616 ac_ext=cc
66617 ac_cpp='$CXXCPP $CPPFLAGS'
66618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66622 cat >conftest.$ac_ext <<_ACEOF
66623 /* confdefs.h. */
66624 _ACEOF
66625 cat confdefs.h >>conftest.$ac_ext
66626 cat >>conftest.$ac_ext <<_ACEOF
66627 /* end confdefs.h. */
66628 #include <math.h>
66630 main ()
66632 _powl(0, 0);
66634 return 0;
66636 _ACEOF
66637 rm -f conftest.$ac_objext
66638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66639 (eval $ac_compile) 2>conftest.er1
66640 ac_status=$?
66641 grep -v '^ *+' conftest.er1 >conftest.err
66642 rm -f conftest.er1
66643 cat conftest.err >&5
66644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66645 (exit $ac_status); } &&
66646 { ac_try='test -z "$ac_cxx_werror_flag"
66647 || test ! -s conftest.err'
66648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66649 (eval $ac_try) 2>&5
66650 ac_status=$?
66651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66652 (exit $ac_status); }; } &&
66653 { ac_try='test -s conftest.$ac_objext'
66654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66655 (eval $ac_try) 2>&5
66656 ac_status=$?
66657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66658 (exit $ac_status); }; }; then
66659 glibcxx_cv_func__powl_use=yes
66660 else
66661 echo "$as_me: failed program was:" >&5
66662 sed 's/^/| /' conftest.$ac_ext >&5
66664 glibcxx_cv_func__powl_use=no
66666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66667 ac_ext=c
66668 ac_cpp='$CPP $CPPFLAGS'
66669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
66678 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
66680 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66682 for ac_func in _powl
66684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66685 echo "$as_me:$LINENO: checking for $ac_func" >&5
66686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66687 if eval "test \"\${$as_ac_var+set}\" = set"; then
66688 echo $ECHO_N "(cached) $ECHO_C" >&6
66689 else
66690 if test x$gcc_no_link = xyes; then
66691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66693 { (exit 1); exit 1; }; }
66695 cat >conftest.$ac_ext <<_ACEOF
66696 /* confdefs.h. */
66697 _ACEOF
66698 cat confdefs.h >>conftest.$ac_ext
66699 cat >>conftest.$ac_ext <<_ACEOF
66700 /* end confdefs.h. */
66701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66703 #define $ac_func innocuous_$ac_func
66705 /* System header to define __stub macros and hopefully few prototypes,
66706 which can conflict with char $ac_func (); below.
66707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66708 <limits.h> exists even on freestanding compilers. */
66710 #ifdef __STDC__
66711 # include <limits.h>
66712 #else
66713 # include <assert.h>
66714 #endif
66716 #undef $ac_func
66718 /* Override any gcc2 internal prototype to avoid an error. */
66719 #ifdef __cplusplus
66720 extern "C"
66722 #endif
66723 /* We use char because int might match the return type of a gcc2
66724 builtin and then its argument prototype would still apply. */
66725 char $ac_func ();
66726 /* The GNU C library defines this for functions which it implements
66727 to always fail with ENOSYS. Some functions are actually named
66728 something starting with __ and the normal name is an alias. */
66729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66730 choke me
66731 #else
66732 char (*f) () = $ac_func;
66733 #endif
66734 #ifdef __cplusplus
66736 #endif
66739 main ()
66741 return f != $ac_func;
66743 return 0;
66745 _ACEOF
66746 rm -f conftest.$ac_objext conftest$ac_exeext
66747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66748 (eval $ac_link) 2>conftest.er1
66749 ac_status=$?
66750 grep -v '^ *+' conftest.er1 >conftest.err
66751 rm -f conftest.er1
66752 cat conftest.err >&5
66753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66754 (exit $ac_status); } &&
66755 { ac_try='test -z "$ac_c_werror_flag"
66756 || test ! -s conftest.err'
66757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66758 (eval $ac_try) 2>&5
66759 ac_status=$?
66760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761 (exit $ac_status); }; } &&
66762 { ac_try='test -s conftest$ac_exeext'
66763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66764 (eval $ac_try) 2>&5
66765 ac_status=$?
66766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66767 (exit $ac_status); }; }; then
66768 eval "$as_ac_var=yes"
66769 else
66770 echo "$as_me: failed program was:" >&5
66771 sed 's/^/| /' conftest.$ac_ext >&5
66773 eval "$as_ac_var=no"
66775 rm -f conftest.err conftest.$ac_objext \
66776 conftest$ac_exeext conftest.$ac_ext
66778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66780 if test `eval echo '${'$as_ac_var'}'` = yes; then
66781 cat >>confdefs.h <<_ACEOF
66782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66783 _ACEOF
66786 done
66793 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
66794 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
66795 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66796 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
66797 echo $ECHO_N "(cached) $ECHO_C" >&6
66798 else
66802 ac_ext=cc
66803 ac_cpp='$CXXCPP $CPPFLAGS'
66804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66808 cat >conftest.$ac_ext <<_ACEOF
66809 /* confdefs.h. */
66810 _ACEOF
66811 cat confdefs.h >>conftest.$ac_ext
66812 cat >>conftest.$ac_ext <<_ACEOF
66813 /* end confdefs.h. */
66814 #include <math.h>
66815 #ifdef HAVE_IEEEFP_H
66816 #include <ieeefp.h>
66817 #endif
66820 main ()
66822 sqrtl(0);
66824 return 0;
66826 _ACEOF
66827 rm -f conftest.$ac_objext
66828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66829 (eval $ac_compile) 2>conftest.er1
66830 ac_status=$?
66831 grep -v '^ *+' conftest.er1 >conftest.err
66832 rm -f conftest.er1
66833 cat conftest.err >&5
66834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66835 (exit $ac_status); } &&
66836 { ac_try='test -z "$ac_cxx_werror_flag"
66837 || test ! -s conftest.err'
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); }; } &&
66843 { ac_try='test -s conftest.$ac_objext'
66844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66845 (eval $ac_try) 2>&5
66846 ac_status=$?
66847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848 (exit $ac_status); }; }; then
66849 glibcxx_cv_func_sqrtl_use=yes
66850 else
66851 echo "$as_me: failed program was:" >&5
66852 sed 's/^/| /' conftest.$ac_ext >&5
66854 glibcxx_cv_func_sqrtl_use=no
66856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66857 ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
66868 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
66870 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66872 for ac_func in sqrtl
66874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66875 echo "$as_me:$LINENO: checking for $ac_func" >&5
66876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66877 if eval "test \"\${$as_ac_var+set}\" = set"; then
66878 echo $ECHO_N "(cached) $ECHO_C" >&6
66879 else
66880 if test x$gcc_no_link = xyes; then
66881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66883 { (exit 1); exit 1; }; }
66885 cat >conftest.$ac_ext <<_ACEOF
66886 /* confdefs.h. */
66887 _ACEOF
66888 cat confdefs.h >>conftest.$ac_ext
66889 cat >>conftest.$ac_ext <<_ACEOF
66890 /* end confdefs.h. */
66891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66893 #define $ac_func innocuous_$ac_func
66895 /* System header to define __stub macros and hopefully few prototypes,
66896 which can conflict with char $ac_func (); below.
66897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66898 <limits.h> exists even on freestanding compilers. */
66900 #ifdef __STDC__
66901 # include <limits.h>
66902 #else
66903 # include <assert.h>
66904 #endif
66906 #undef $ac_func
66908 /* Override any gcc2 internal prototype to avoid an error. */
66909 #ifdef __cplusplus
66910 extern "C"
66912 #endif
66913 /* We use char because int might match the return type of a gcc2
66914 builtin and then its argument prototype would still apply. */
66915 char $ac_func ();
66916 /* The GNU C library defines this for functions which it implements
66917 to always fail with ENOSYS. Some functions are actually named
66918 something starting with __ and the normal name is an alias. */
66919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66920 choke me
66921 #else
66922 char (*f) () = $ac_func;
66923 #endif
66924 #ifdef __cplusplus
66926 #endif
66929 main ()
66931 return f != $ac_func;
66933 return 0;
66935 _ACEOF
66936 rm -f conftest.$ac_objext conftest$ac_exeext
66937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66938 (eval $ac_link) 2>conftest.er1
66939 ac_status=$?
66940 grep -v '^ *+' conftest.er1 >conftest.err
66941 rm -f conftest.er1
66942 cat conftest.err >&5
66943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944 (exit $ac_status); } &&
66945 { ac_try='test -z "$ac_c_werror_flag"
66946 || test ! -s conftest.err'
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); }; } &&
66952 { ac_try='test -s conftest$ac_exeext'
66953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66954 (eval $ac_try) 2>&5
66955 ac_status=$?
66956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957 (exit $ac_status); }; }; then
66958 eval "$as_ac_var=yes"
66959 else
66960 echo "$as_me: failed program was:" >&5
66961 sed 's/^/| /' conftest.$ac_ext >&5
66963 eval "$as_ac_var=no"
66965 rm -f conftest.err conftest.$ac_objext \
66966 conftest$ac_exeext conftest.$ac_ext
66968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66970 if test `eval echo '${'$as_ac_var'}'` = yes; then
66971 cat >>confdefs.h <<_ACEOF
66972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66973 _ACEOF
66976 done
66978 else
66980 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
66981 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
66982 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66983 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
66984 echo $ECHO_N "(cached) $ECHO_C" >&6
66985 else
66989 ac_ext=cc
66990 ac_cpp='$CXXCPP $CPPFLAGS'
66991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66995 cat >conftest.$ac_ext <<_ACEOF
66996 /* confdefs.h. */
66997 _ACEOF
66998 cat confdefs.h >>conftest.$ac_ext
66999 cat >>conftest.$ac_ext <<_ACEOF
67000 /* end confdefs.h. */
67001 #include <math.h>
67002 #ifdef HAVE_IEEEFP_H
67003 #include <ieeefp.h>
67004 #endif
67007 main ()
67009 _sqrtl(0);
67011 return 0;
67013 _ACEOF
67014 rm -f conftest.$ac_objext
67015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67016 (eval $ac_compile) 2>conftest.er1
67017 ac_status=$?
67018 grep -v '^ *+' conftest.er1 >conftest.err
67019 rm -f conftest.er1
67020 cat conftest.err >&5
67021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022 (exit $ac_status); } &&
67023 { ac_try='test -z "$ac_cxx_werror_flag"
67024 || test ! -s conftest.err'
67025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67026 (eval $ac_try) 2>&5
67027 ac_status=$?
67028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67029 (exit $ac_status); }; } &&
67030 { ac_try='test -s conftest.$ac_objext'
67031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67032 (eval $ac_try) 2>&5
67033 ac_status=$?
67034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035 (exit $ac_status); }; }; then
67036 glibcxx_cv_func__sqrtl_use=yes
67037 else
67038 echo "$as_me: failed program was:" >&5
67039 sed 's/^/| /' conftest.$ac_ext >&5
67041 glibcxx_cv_func__sqrtl_use=no
67043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67044 ac_ext=c
67045 ac_cpp='$CPP $CPPFLAGS'
67046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
67055 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
67057 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
67059 for ac_func in _sqrtl
67061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67062 echo "$as_me:$LINENO: checking for $ac_func" >&5
67063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67064 if eval "test \"\${$as_ac_var+set}\" = set"; then
67065 echo $ECHO_N "(cached) $ECHO_C" >&6
67066 else
67067 if test x$gcc_no_link = xyes; then
67068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67070 { (exit 1); exit 1; }; }
67072 cat >conftest.$ac_ext <<_ACEOF
67073 /* confdefs.h. */
67074 _ACEOF
67075 cat confdefs.h >>conftest.$ac_ext
67076 cat >>conftest.$ac_ext <<_ACEOF
67077 /* end confdefs.h. */
67078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67080 #define $ac_func innocuous_$ac_func
67082 /* System header to define __stub macros and hopefully few prototypes,
67083 which can conflict with char $ac_func (); below.
67084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67085 <limits.h> exists even on freestanding compilers. */
67087 #ifdef __STDC__
67088 # include <limits.h>
67089 #else
67090 # include <assert.h>
67091 #endif
67093 #undef $ac_func
67095 /* Override any gcc2 internal prototype to avoid an error. */
67096 #ifdef __cplusplus
67097 extern "C"
67099 #endif
67100 /* We use char because int might match the return type of a gcc2
67101 builtin and then its argument prototype would still apply. */
67102 char $ac_func ();
67103 /* The GNU C library defines this for functions which it implements
67104 to always fail with ENOSYS. Some functions are actually named
67105 something starting with __ and the normal name is an alias. */
67106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67107 choke me
67108 #else
67109 char (*f) () = $ac_func;
67110 #endif
67111 #ifdef __cplusplus
67113 #endif
67116 main ()
67118 return f != $ac_func;
67120 return 0;
67122 _ACEOF
67123 rm -f conftest.$ac_objext conftest$ac_exeext
67124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67125 (eval $ac_link) 2>conftest.er1
67126 ac_status=$?
67127 grep -v '^ *+' conftest.er1 >conftest.err
67128 rm -f conftest.er1
67129 cat conftest.err >&5
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); } &&
67132 { ac_try='test -z "$ac_c_werror_flag"
67133 || test ! -s conftest.err'
67134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67135 (eval $ac_try) 2>&5
67136 ac_status=$?
67137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67138 (exit $ac_status); }; } &&
67139 { ac_try='test -s conftest$ac_exeext'
67140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67141 (eval $ac_try) 2>&5
67142 ac_status=$?
67143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67144 (exit $ac_status); }; }; then
67145 eval "$as_ac_var=yes"
67146 else
67147 echo "$as_me: failed program was:" >&5
67148 sed 's/^/| /' conftest.$ac_ext >&5
67150 eval "$as_ac_var=no"
67152 rm -f conftest.err conftest.$ac_objext \
67153 conftest$ac_exeext conftest.$ac_ext
67155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67157 if test `eval echo '${'$as_ac_var'}'` = yes; then
67158 cat >>confdefs.h <<_ACEOF
67159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67160 _ACEOF
67163 done
67170 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
67171 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
67172 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
67173 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
67174 echo $ECHO_N "(cached) $ECHO_C" >&6
67175 else
67179 ac_ext=cc
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67185 cat >conftest.$ac_ext <<_ACEOF
67186 /* confdefs.h. */
67187 _ACEOF
67188 cat confdefs.h >>conftest.$ac_ext
67189 cat >>conftest.$ac_ext <<_ACEOF
67190 /* end confdefs.h. */
67191 #include <math.h>
67193 main ()
67195 sincosl(0, 0, 0);
67197 return 0;
67199 _ACEOF
67200 rm -f conftest.$ac_objext
67201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67202 (eval $ac_compile) 2>conftest.er1
67203 ac_status=$?
67204 grep -v '^ *+' conftest.er1 >conftest.err
67205 rm -f conftest.er1
67206 cat conftest.err >&5
67207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67208 (exit $ac_status); } &&
67209 { ac_try='test -z "$ac_cxx_werror_flag"
67210 || test ! -s conftest.err'
67211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67212 (eval $ac_try) 2>&5
67213 ac_status=$?
67214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67215 (exit $ac_status); }; } &&
67216 { ac_try='test -s conftest.$ac_objext'
67217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67218 (eval $ac_try) 2>&5
67219 ac_status=$?
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); }; }; then
67222 glibcxx_cv_func_sincosl_use=yes
67223 else
67224 echo "$as_me: failed program was:" >&5
67225 sed 's/^/| /' conftest.$ac_ext >&5
67227 glibcxx_cv_func_sincosl_use=no
67229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67230 ac_ext=c
67231 ac_cpp='$CPP $CPPFLAGS'
67232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
67241 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
67243 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
67245 for ac_func in sincosl
67247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67248 echo "$as_me:$LINENO: checking for $ac_func" >&5
67249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67250 if eval "test \"\${$as_ac_var+set}\" = set"; then
67251 echo $ECHO_N "(cached) $ECHO_C" >&6
67252 else
67253 if test x$gcc_no_link = xyes; then
67254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67256 { (exit 1); exit 1; }; }
67258 cat >conftest.$ac_ext <<_ACEOF
67259 /* confdefs.h. */
67260 _ACEOF
67261 cat confdefs.h >>conftest.$ac_ext
67262 cat >>conftest.$ac_ext <<_ACEOF
67263 /* end confdefs.h. */
67264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67266 #define $ac_func innocuous_$ac_func
67268 /* System header to define __stub macros and hopefully few prototypes,
67269 which can conflict with char $ac_func (); below.
67270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67271 <limits.h> exists even on freestanding compilers. */
67273 #ifdef __STDC__
67274 # include <limits.h>
67275 #else
67276 # include <assert.h>
67277 #endif
67279 #undef $ac_func
67281 /* Override any gcc2 internal prototype to avoid an error. */
67282 #ifdef __cplusplus
67283 extern "C"
67285 #endif
67286 /* We use char because int might match the return type of a gcc2
67287 builtin and then its argument prototype would still apply. */
67288 char $ac_func ();
67289 /* The GNU C library defines this for functions which it implements
67290 to always fail with ENOSYS. Some functions are actually named
67291 something starting with __ and the normal name is an alias. */
67292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67293 choke me
67294 #else
67295 char (*f) () = $ac_func;
67296 #endif
67297 #ifdef __cplusplus
67299 #endif
67302 main ()
67304 return f != $ac_func;
67306 return 0;
67308 _ACEOF
67309 rm -f conftest.$ac_objext conftest$ac_exeext
67310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67311 (eval $ac_link) 2>conftest.er1
67312 ac_status=$?
67313 grep -v '^ *+' conftest.er1 >conftest.err
67314 rm -f conftest.er1
67315 cat conftest.err >&5
67316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67317 (exit $ac_status); } &&
67318 { ac_try='test -z "$ac_c_werror_flag"
67319 || test ! -s conftest.err'
67320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67321 (eval $ac_try) 2>&5
67322 ac_status=$?
67323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67324 (exit $ac_status); }; } &&
67325 { ac_try='test -s conftest$ac_exeext'
67326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67327 (eval $ac_try) 2>&5
67328 ac_status=$?
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); }; }; then
67331 eval "$as_ac_var=yes"
67332 else
67333 echo "$as_me: failed program was:" >&5
67334 sed 's/^/| /' conftest.$ac_ext >&5
67336 eval "$as_ac_var=no"
67338 rm -f conftest.err conftest.$ac_objext \
67339 conftest$ac_exeext conftest.$ac_ext
67341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67343 if test `eval echo '${'$as_ac_var'}'` = yes; then
67344 cat >>confdefs.h <<_ACEOF
67345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67346 _ACEOF
67349 done
67351 else
67353 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
67354 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
67355 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
67356 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
67357 echo $ECHO_N "(cached) $ECHO_C" >&6
67358 else
67362 ac_ext=cc
67363 ac_cpp='$CXXCPP $CPPFLAGS'
67364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67368 cat >conftest.$ac_ext <<_ACEOF
67369 /* confdefs.h. */
67370 _ACEOF
67371 cat confdefs.h >>conftest.$ac_ext
67372 cat >>conftest.$ac_ext <<_ACEOF
67373 /* end confdefs.h. */
67374 #include <math.h>
67376 main ()
67378 _sincosl(0, 0, 0);
67380 return 0;
67382 _ACEOF
67383 rm -f conftest.$ac_objext
67384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67385 (eval $ac_compile) 2>conftest.er1
67386 ac_status=$?
67387 grep -v '^ *+' conftest.er1 >conftest.err
67388 rm -f conftest.er1
67389 cat conftest.err >&5
67390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67391 (exit $ac_status); } &&
67392 { ac_try='test -z "$ac_cxx_werror_flag"
67393 || test ! -s conftest.err'
67394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67395 (eval $ac_try) 2>&5
67396 ac_status=$?
67397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67398 (exit $ac_status); }; } &&
67399 { ac_try='test -s conftest.$ac_objext'
67400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67401 (eval $ac_try) 2>&5
67402 ac_status=$?
67403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67404 (exit $ac_status); }; }; then
67405 glibcxx_cv_func__sincosl_use=yes
67406 else
67407 echo "$as_me: failed program was:" >&5
67408 sed 's/^/| /' conftest.$ac_ext >&5
67410 glibcxx_cv_func__sincosl_use=no
67412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67413 ac_ext=c
67414 ac_cpp='$CPP $CPPFLAGS'
67415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
67424 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
67426 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
67428 for ac_func in _sincosl
67430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67431 echo "$as_me:$LINENO: checking for $ac_func" >&5
67432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67433 if eval "test \"\${$as_ac_var+set}\" = set"; then
67434 echo $ECHO_N "(cached) $ECHO_C" >&6
67435 else
67436 if test x$gcc_no_link = xyes; then
67437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67439 { (exit 1); exit 1; }; }
67441 cat >conftest.$ac_ext <<_ACEOF
67442 /* confdefs.h. */
67443 _ACEOF
67444 cat confdefs.h >>conftest.$ac_ext
67445 cat >>conftest.$ac_ext <<_ACEOF
67446 /* end confdefs.h. */
67447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67449 #define $ac_func innocuous_$ac_func
67451 /* System header to define __stub macros and hopefully few prototypes,
67452 which can conflict with char $ac_func (); below.
67453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67454 <limits.h> exists even on freestanding compilers. */
67456 #ifdef __STDC__
67457 # include <limits.h>
67458 #else
67459 # include <assert.h>
67460 #endif
67462 #undef $ac_func
67464 /* Override any gcc2 internal prototype to avoid an error. */
67465 #ifdef __cplusplus
67466 extern "C"
67468 #endif
67469 /* We use char because int might match the return type of a gcc2
67470 builtin and then its argument prototype would still apply. */
67471 char $ac_func ();
67472 /* The GNU C library defines this for functions which it implements
67473 to always fail with ENOSYS. Some functions are actually named
67474 something starting with __ and the normal name is an alias. */
67475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67476 choke me
67477 #else
67478 char (*f) () = $ac_func;
67479 #endif
67480 #ifdef __cplusplus
67482 #endif
67485 main ()
67487 return f != $ac_func;
67489 return 0;
67491 _ACEOF
67492 rm -f conftest.$ac_objext conftest$ac_exeext
67493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67494 (eval $ac_link) 2>conftest.er1
67495 ac_status=$?
67496 grep -v '^ *+' conftest.er1 >conftest.err
67497 rm -f conftest.er1
67498 cat conftest.err >&5
67499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67500 (exit $ac_status); } &&
67501 { ac_try='test -z "$ac_c_werror_flag"
67502 || test ! -s conftest.err'
67503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67504 (eval $ac_try) 2>&5
67505 ac_status=$?
67506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67507 (exit $ac_status); }; } &&
67508 { ac_try='test -s conftest$ac_exeext'
67509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67510 (eval $ac_try) 2>&5
67511 ac_status=$?
67512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67513 (exit $ac_status); }; }; then
67514 eval "$as_ac_var=yes"
67515 else
67516 echo "$as_me: failed program was:" >&5
67517 sed 's/^/| /' conftest.$ac_ext >&5
67519 eval "$as_ac_var=no"
67521 rm -f conftest.err conftest.$ac_objext \
67522 conftest$ac_exeext conftest.$ac_ext
67524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67526 if test `eval echo '${'$as_ac_var'}'` = yes; then
67527 cat >>confdefs.h <<_ACEOF
67528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67529 _ACEOF
67532 done
67539 echo "$as_me:$LINENO: checking for finitel declaration" >&5
67540 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
67541 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
67542 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
67543 echo $ECHO_N "(cached) $ECHO_C" >&6
67544 else
67548 ac_ext=cc
67549 ac_cpp='$CXXCPP $CPPFLAGS'
67550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67554 cat >conftest.$ac_ext <<_ACEOF
67555 /* confdefs.h. */
67556 _ACEOF
67557 cat confdefs.h >>conftest.$ac_ext
67558 cat >>conftest.$ac_ext <<_ACEOF
67559 /* end confdefs.h. */
67560 #include <math.h>
67561 #ifdef HAVE_IEEEFP_H
67562 #include <ieeefp.h>
67563 #endif
67566 main ()
67568 finitel(0);
67570 return 0;
67572 _ACEOF
67573 rm -f conftest.$ac_objext
67574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67575 (eval $ac_compile) 2>conftest.er1
67576 ac_status=$?
67577 grep -v '^ *+' conftest.er1 >conftest.err
67578 rm -f conftest.er1
67579 cat conftest.err >&5
67580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67581 (exit $ac_status); } &&
67582 { ac_try='test -z "$ac_cxx_werror_flag"
67583 || test ! -s conftest.err'
67584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67585 (eval $ac_try) 2>&5
67586 ac_status=$?
67587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67588 (exit $ac_status); }; } &&
67589 { ac_try='test -s conftest.$ac_objext'
67590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67591 (eval $ac_try) 2>&5
67592 ac_status=$?
67593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67594 (exit $ac_status); }; }; then
67595 glibcxx_cv_func_finitel_use=yes
67596 else
67597 echo "$as_me: failed program was:" >&5
67598 sed 's/^/| /' conftest.$ac_ext >&5
67600 glibcxx_cv_func_finitel_use=no
67602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67603 ac_ext=c
67604 ac_cpp='$CPP $CPPFLAGS'
67605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
67614 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
67616 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
67618 for ac_func in finitel
67620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67621 echo "$as_me:$LINENO: checking for $ac_func" >&5
67622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67623 if eval "test \"\${$as_ac_var+set}\" = set"; then
67624 echo $ECHO_N "(cached) $ECHO_C" >&6
67625 else
67626 if test x$gcc_no_link = xyes; then
67627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67629 { (exit 1); exit 1; }; }
67631 cat >conftest.$ac_ext <<_ACEOF
67632 /* confdefs.h. */
67633 _ACEOF
67634 cat confdefs.h >>conftest.$ac_ext
67635 cat >>conftest.$ac_ext <<_ACEOF
67636 /* end confdefs.h. */
67637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67639 #define $ac_func innocuous_$ac_func
67641 /* System header to define __stub macros and hopefully few prototypes,
67642 which can conflict with char $ac_func (); below.
67643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67644 <limits.h> exists even on freestanding compilers. */
67646 #ifdef __STDC__
67647 # include <limits.h>
67648 #else
67649 # include <assert.h>
67650 #endif
67652 #undef $ac_func
67654 /* Override any gcc2 internal prototype to avoid an error. */
67655 #ifdef __cplusplus
67656 extern "C"
67658 #endif
67659 /* We use char because int might match the return type of a gcc2
67660 builtin and then its argument prototype would still apply. */
67661 char $ac_func ();
67662 /* The GNU C library defines this for functions which it implements
67663 to always fail with ENOSYS. Some functions are actually named
67664 something starting with __ and the normal name is an alias. */
67665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67666 choke me
67667 #else
67668 char (*f) () = $ac_func;
67669 #endif
67670 #ifdef __cplusplus
67672 #endif
67675 main ()
67677 return f != $ac_func;
67679 return 0;
67681 _ACEOF
67682 rm -f conftest.$ac_objext conftest$ac_exeext
67683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67684 (eval $ac_link) 2>conftest.er1
67685 ac_status=$?
67686 grep -v '^ *+' conftest.er1 >conftest.err
67687 rm -f conftest.er1
67688 cat conftest.err >&5
67689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67690 (exit $ac_status); } &&
67691 { ac_try='test -z "$ac_c_werror_flag"
67692 || test ! -s conftest.err'
67693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67694 (eval $ac_try) 2>&5
67695 ac_status=$?
67696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67697 (exit $ac_status); }; } &&
67698 { ac_try='test -s conftest$ac_exeext'
67699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67700 (eval $ac_try) 2>&5
67701 ac_status=$?
67702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67703 (exit $ac_status); }; }; then
67704 eval "$as_ac_var=yes"
67705 else
67706 echo "$as_me: failed program was:" >&5
67707 sed 's/^/| /' conftest.$ac_ext >&5
67709 eval "$as_ac_var=no"
67711 rm -f conftest.err conftest.$ac_objext \
67712 conftest$ac_exeext conftest.$ac_ext
67714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67716 if test `eval echo '${'$as_ac_var'}'` = yes; then
67717 cat >>confdefs.h <<_ACEOF
67718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67719 _ACEOF
67722 done
67724 else
67726 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
67727 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
67728 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
67729 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
67730 echo $ECHO_N "(cached) $ECHO_C" >&6
67731 else
67735 ac_ext=cc
67736 ac_cpp='$CXXCPP $CPPFLAGS'
67737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67741 cat >conftest.$ac_ext <<_ACEOF
67742 /* confdefs.h. */
67743 _ACEOF
67744 cat confdefs.h >>conftest.$ac_ext
67745 cat >>conftest.$ac_ext <<_ACEOF
67746 /* end confdefs.h. */
67747 #include <math.h>
67748 #ifdef HAVE_IEEEFP_H
67749 #include <ieeefp.h>
67750 #endif
67753 main ()
67755 _finitel(0);
67757 return 0;
67759 _ACEOF
67760 rm -f conftest.$ac_objext
67761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67762 (eval $ac_compile) 2>conftest.er1
67763 ac_status=$?
67764 grep -v '^ *+' conftest.er1 >conftest.err
67765 rm -f conftest.er1
67766 cat conftest.err >&5
67767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67768 (exit $ac_status); } &&
67769 { ac_try='test -z "$ac_cxx_werror_flag"
67770 || test ! -s conftest.err'
67771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67772 (eval $ac_try) 2>&5
67773 ac_status=$?
67774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67775 (exit $ac_status); }; } &&
67776 { ac_try='test -s conftest.$ac_objext'
67777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67778 (eval $ac_try) 2>&5
67779 ac_status=$?
67780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67781 (exit $ac_status); }; }; then
67782 glibcxx_cv_func__finitel_use=yes
67783 else
67784 echo "$as_me: failed program was:" >&5
67785 sed 's/^/| /' conftest.$ac_ext >&5
67787 glibcxx_cv_func__finitel_use=no
67789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67790 ac_ext=c
67791 ac_cpp='$CPP $CPPFLAGS'
67792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
67801 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
67803 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
67805 for ac_func in _finitel
67807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67808 echo "$as_me:$LINENO: checking for $ac_func" >&5
67809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67810 if eval "test \"\${$as_ac_var+set}\" = set"; then
67811 echo $ECHO_N "(cached) $ECHO_C" >&6
67812 else
67813 if test x$gcc_no_link = xyes; then
67814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67816 { (exit 1); exit 1; }; }
67818 cat >conftest.$ac_ext <<_ACEOF
67819 /* confdefs.h. */
67820 _ACEOF
67821 cat confdefs.h >>conftest.$ac_ext
67822 cat >>conftest.$ac_ext <<_ACEOF
67823 /* end confdefs.h. */
67824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67826 #define $ac_func innocuous_$ac_func
67828 /* System header to define __stub macros and hopefully few prototypes,
67829 which can conflict with char $ac_func (); below.
67830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67831 <limits.h> exists even on freestanding compilers. */
67833 #ifdef __STDC__
67834 # include <limits.h>
67835 #else
67836 # include <assert.h>
67837 #endif
67839 #undef $ac_func
67841 /* Override any gcc2 internal prototype to avoid an error. */
67842 #ifdef __cplusplus
67843 extern "C"
67845 #endif
67846 /* We use char because int might match the return type of a gcc2
67847 builtin and then its argument prototype would still apply. */
67848 char $ac_func ();
67849 /* The GNU C library defines this for functions which it implements
67850 to always fail with ENOSYS. Some functions are actually named
67851 something starting with __ and the normal name is an alias. */
67852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67853 choke me
67854 #else
67855 char (*f) () = $ac_func;
67856 #endif
67857 #ifdef __cplusplus
67859 #endif
67862 main ()
67864 return f != $ac_func;
67866 return 0;
67868 _ACEOF
67869 rm -f conftest.$ac_objext conftest$ac_exeext
67870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67871 (eval $ac_link) 2>conftest.er1
67872 ac_status=$?
67873 grep -v '^ *+' conftest.er1 >conftest.err
67874 rm -f conftest.er1
67875 cat conftest.err >&5
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); } &&
67878 { ac_try='test -z "$ac_c_werror_flag"
67879 || test ! -s conftest.err'
67880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67881 (eval $ac_try) 2>&5
67882 ac_status=$?
67883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67884 (exit $ac_status); }; } &&
67885 { ac_try='test -s conftest$ac_exeext'
67886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67887 (eval $ac_try) 2>&5
67888 ac_status=$?
67889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890 (exit $ac_status); }; }; then
67891 eval "$as_ac_var=yes"
67892 else
67893 echo "$as_me: failed program was:" >&5
67894 sed 's/^/| /' conftest.$ac_ext >&5
67896 eval "$as_ac_var=no"
67898 rm -f conftest.err conftest.$ac_objext \
67899 conftest$ac_exeext conftest.$ac_ext
67901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67903 if test `eval echo '${'$as_ac_var'}'` = yes; then
67904 cat >>confdefs.h <<_ACEOF
67905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67906 _ACEOF
67909 done
67917 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67918 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67919 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67920 echo $ECHO_N "(cached) $ECHO_C" >&6
67921 else
67925 ac_ext=cc
67926 ac_cpp='$CXXCPP $CPPFLAGS'
67927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67931 cat >conftest.$ac_ext <<_ACEOF
67932 /* confdefs.h. */
67933 _ACEOF
67934 cat confdefs.h >>conftest.$ac_ext
67935 cat >>conftest.$ac_ext <<_ACEOF
67936 /* end confdefs.h. */
67937 #include <math.h>
67939 main ()
67941 `for x in _acosf _asinf _atanf \
67942 _cosf _sinf _tanf \
67943 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
67945 return 0;
67947 _ACEOF
67948 rm -f conftest.$ac_objext
67949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67950 (eval $ac_compile) 2>conftest.er1
67951 ac_status=$?
67952 grep -v '^ *+' conftest.er1 >conftest.err
67953 rm -f conftest.er1
67954 cat conftest.err >&5
67955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67956 (exit $ac_status); } &&
67957 { ac_try='test -z "$ac_cxx_werror_flag"
67958 || test ! -s conftest.err'
67959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67960 (eval $ac_try) 2>&5
67961 ac_status=$?
67962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67963 (exit $ac_status); }; } &&
67964 { ac_try='test -s conftest.$ac_objext'
67965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67966 (eval $ac_try) 2>&5
67967 ac_status=$?
67968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67969 (exit $ac_status); }; }; then
67970 glibcxx_cv_func__float_trig_use=yes
67971 else
67972 echo "$as_me: failed program was:" >&5
67973 sed 's/^/| /' conftest.$ac_ext >&5
67975 glibcxx_cv_func__float_trig_use=no
67977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67978 ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67987 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67988 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67998 for ac_func in _acosf _asinf _atanf \
67999 _cosf _sinf _tanf \
68000 _coshf _sinhf _tanhf
68002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68003 echo "$as_me:$LINENO: checking for $ac_func" >&5
68004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68005 if eval "test \"\${$as_ac_var+set}\" = set"; then
68006 echo $ECHO_N "(cached) $ECHO_C" >&6
68007 else
68008 if test x$gcc_no_link = xyes; then
68009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68011 { (exit 1); exit 1; }; }
68013 cat >conftest.$ac_ext <<_ACEOF
68014 /* confdefs.h. */
68015 _ACEOF
68016 cat confdefs.h >>conftest.$ac_ext
68017 cat >>conftest.$ac_ext <<_ACEOF
68018 /* end confdefs.h. */
68019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68021 #define $ac_func innocuous_$ac_func
68023 /* System header to define __stub macros and hopefully few prototypes,
68024 which can conflict with char $ac_func (); below.
68025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68026 <limits.h> exists even on freestanding compilers. */
68028 #ifdef __STDC__
68029 # include <limits.h>
68030 #else
68031 # include <assert.h>
68032 #endif
68034 #undef $ac_func
68036 /* Override any gcc2 internal prototype to avoid an error. */
68037 #ifdef __cplusplus
68038 extern "C"
68040 #endif
68041 /* We use char because int might match the return type of a gcc2
68042 builtin and then its argument prototype would still apply. */
68043 char $ac_func ();
68044 /* The GNU C library defines this for functions which it implements
68045 to always fail with ENOSYS. Some functions are actually named
68046 something starting with __ and the normal name is an alias. */
68047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68048 choke me
68049 #else
68050 char (*f) () = $ac_func;
68051 #endif
68052 #ifdef __cplusplus
68054 #endif
68057 main ()
68059 return f != $ac_func;
68061 return 0;
68063 _ACEOF
68064 rm -f conftest.$ac_objext conftest$ac_exeext
68065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68066 (eval $ac_link) 2>conftest.er1
68067 ac_status=$?
68068 grep -v '^ *+' conftest.er1 >conftest.err
68069 rm -f conftest.er1
68070 cat conftest.err >&5
68071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68072 (exit $ac_status); } &&
68073 { ac_try='test -z "$ac_c_werror_flag"
68074 || test ! -s conftest.err'
68075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68076 (eval $ac_try) 2>&5
68077 ac_status=$?
68078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68079 (exit $ac_status); }; } &&
68080 { ac_try='test -s conftest$ac_exeext'
68081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68082 (eval $ac_try) 2>&5
68083 ac_status=$?
68084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68085 (exit $ac_status); }; }; then
68086 eval "$as_ac_var=yes"
68087 else
68088 echo "$as_me: failed program was:" >&5
68089 sed 's/^/| /' conftest.$ac_ext >&5
68091 eval "$as_ac_var=no"
68093 rm -f conftest.err conftest.$ac_objext \
68094 conftest$ac_exeext conftest.$ac_ext
68096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68098 if test `eval echo '${'$as_ac_var'}'` = yes; then
68099 cat >>confdefs.h <<_ACEOF
68100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68101 _ACEOF
68104 done
68109 echo "$as_me:$LINENO: checking for _float round functions" >&5
68110 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68111 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68112 echo $ECHO_N "(cached) $ECHO_C" >&6
68113 else
68117 ac_ext=cc
68118 ac_cpp='$CXXCPP $CPPFLAGS'
68119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68123 cat >conftest.$ac_ext <<_ACEOF
68124 /* confdefs.h. */
68125 _ACEOF
68126 cat confdefs.h >>conftest.$ac_ext
68127 cat >>conftest.$ac_ext <<_ACEOF
68128 /* end confdefs.h. */
68129 #include <math.h>
68131 main ()
68133 `for x in _ceilf _floorf; do echo "$x (0);"; done`
68135 return 0;
68137 _ACEOF
68138 rm -f conftest.$ac_objext
68139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68140 (eval $ac_compile) 2>conftest.er1
68141 ac_status=$?
68142 grep -v '^ *+' conftest.er1 >conftest.err
68143 rm -f conftest.er1
68144 cat conftest.err >&5
68145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68146 (exit $ac_status); } &&
68147 { ac_try='test -z "$ac_cxx_werror_flag"
68148 || test ! -s conftest.err'
68149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68150 (eval $ac_try) 2>&5
68151 ac_status=$?
68152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68153 (exit $ac_status); }; } &&
68154 { ac_try='test -s conftest.$ac_objext'
68155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68156 (eval $ac_try) 2>&5
68157 ac_status=$?
68158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68159 (exit $ac_status); }; }; then
68160 glibcxx_cv_func__float_round_use=yes
68161 else
68162 echo "$as_me: failed program was:" >&5
68163 sed 's/^/| /' conftest.$ac_ext >&5
68165 glibcxx_cv_func__float_round_use=no
68167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68168 ac_ext=c
68169 ac_cpp='$CPP $CPPFLAGS'
68170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68177 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68178 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68181 for ac_func in _ceilf _floorf
68183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68184 echo "$as_me:$LINENO: checking for $ac_func" >&5
68185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68186 if eval "test \"\${$as_ac_var+set}\" = set"; then
68187 echo $ECHO_N "(cached) $ECHO_C" >&6
68188 else
68189 if test x$gcc_no_link = xyes; then
68190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68192 { (exit 1); exit 1; }; }
68194 cat >conftest.$ac_ext <<_ACEOF
68195 /* confdefs.h. */
68196 _ACEOF
68197 cat confdefs.h >>conftest.$ac_ext
68198 cat >>conftest.$ac_ext <<_ACEOF
68199 /* end confdefs.h. */
68200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68202 #define $ac_func innocuous_$ac_func
68204 /* System header to define __stub macros and hopefully few prototypes,
68205 which can conflict with char $ac_func (); below.
68206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68207 <limits.h> exists even on freestanding compilers. */
68209 #ifdef __STDC__
68210 # include <limits.h>
68211 #else
68212 # include <assert.h>
68213 #endif
68215 #undef $ac_func
68217 /* Override any gcc2 internal prototype to avoid an error. */
68218 #ifdef __cplusplus
68219 extern "C"
68221 #endif
68222 /* We use char because int might match the return type of a gcc2
68223 builtin and then its argument prototype would still apply. */
68224 char $ac_func ();
68225 /* The GNU C library defines this for functions which it implements
68226 to always fail with ENOSYS. Some functions are actually named
68227 something starting with __ and the normal name is an alias. */
68228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68229 choke me
68230 #else
68231 char (*f) () = $ac_func;
68232 #endif
68233 #ifdef __cplusplus
68235 #endif
68238 main ()
68240 return f != $ac_func;
68242 return 0;
68244 _ACEOF
68245 rm -f conftest.$ac_objext conftest$ac_exeext
68246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68247 (eval $ac_link) 2>conftest.er1
68248 ac_status=$?
68249 grep -v '^ *+' conftest.er1 >conftest.err
68250 rm -f conftest.er1
68251 cat conftest.err >&5
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); } &&
68254 { ac_try='test -z "$ac_c_werror_flag"
68255 || test ! -s conftest.err'
68256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68257 (eval $ac_try) 2>&5
68258 ac_status=$?
68259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68260 (exit $ac_status); }; } &&
68261 { ac_try='test -s conftest$ac_exeext'
68262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68263 (eval $ac_try) 2>&5
68264 ac_status=$?
68265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68266 (exit $ac_status); }; }; then
68267 eval "$as_ac_var=yes"
68268 else
68269 echo "$as_me: failed program was:" >&5
68270 sed 's/^/| /' conftest.$ac_ext >&5
68272 eval "$as_ac_var=no"
68274 rm -f conftest.err conftest.$ac_objext \
68275 conftest$ac_exeext conftest.$ac_ext
68277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68279 if test `eval echo '${'$as_ac_var'}'` = yes; then
68280 cat >>confdefs.h <<_ACEOF
68281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68282 _ACEOF
68285 done
68291 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
68292 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
68293 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
68294 echo $ECHO_N "(cached) $ECHO_C" >&6
68295 else
68299 ac_ext=cc
68300 ac_cpp='$CXXCPP $CPPFLAGS'
68301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68305 cat >conftest.$ac_ext <<_ACEOF
68306 /* confdefs.h. */
68307 _ACEOF
68308 cat confdefs.h >>conftest.$ac_ext
68309 cat >>conftest.$ac_ext <<_ACEOF
68310 /* end confdefs.h. */
68311 #include <math.h>
68313 main ()
68315 `for x in _acosl _asinl _atanl \
68316 _cosl _sinl _tanl \
68317 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
68319 return 0;
68321 _ACEOF
68322 rm -f conftest.$ac_objext
68323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68324 (eval $ac_compile) 2>conftest.er1
68325 ac_status=$?
68326 grep -v '^ *+' conftest.er1 >conftest.err
68327 rm -f conftest.er1
68328 cat conftest.err >&5
68329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68330 (exit $ac_status); } &&
68331 { ac_try='test -z "$ac_cxx_werror_flag"
68332 || test ! -s conftest.err'
68333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68334 (eval $ac_try) 2>&5
68335 ac_status=$?
68336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337 (exit $ac_status); }; } &&
68338 { ac_try='test -s conftest.$ac_objext'
68339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68340 (eval $ac_try) 2>&5
68341 ac_status=$?
68342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68343 (exit $ac_status); }; }; then
68344 glibcxx_cv_func__long_double_trig_use=yes
68345 else
68346 echo "$as_me: failed program was:" >&5
68347 sed 's/^/| /' conftest.$ac_ext >&5
68349 glibcxx_cv_func__long_double_trig_use=no
68351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68352 ac_ext=c
68353 ac_cpp='$CPP $CPPFLAGS'
68354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
68361 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
68362 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68372 for ac_func in _acosl _asinl _atanl \
68373 _cosl _sinl _tanl \
68374 _coshl _sinhl _tanhl
68376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68377 echo "$as_me:$LINENO: checking for $ac_func" >&5
68378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_var+set}\" = set"; then
68380 echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382 if test x$gcc_no_link = xyes; then
68383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68385 { (exit 1); exit 1; }; }
68387 cat >conftest.$ac_ext <<_ACEOF
68388 /* confdefs.h. */
68389 _ACEOF
68390 cat confdefs.h >>conftest.$ac_ext
68391 cat >>conftest.$ac_ext <<_ACEOF
68392 /* end confdefs.h. */
68393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68395 #define $ac_func innocuous_$ac_func
68397 /* System header to define __stub macros and hopefully few prototypes,
68398 which can conflict with char $ac_func (); below.
68399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68400 <limits.h> exists even on freestanding compilers. */
68402 #ifdef __STDC__
68403 # include <limits.h>
68404 #else
68405 # include <assert.h>
68406 #endif
68408 #undef $ac_func
68410 /* Override any gcc2 internal prototype to avoid an error. */
68411 #ifdef __cplusplus
68412 extern "C"
68414 #endif
68415 /* We use char because int might match the return type of a gcc2
68416 builtin and then its argument prototype would still apply. */
68417 char $ac_func ();
68418 /* The GNU C library defines this for functions which it implements
68419 to always fail with ENOSYS. Some functions are actually named
68420 something starting with __ and the normal name is an alias. */
68421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68422 choke me
68423 #else
68424 char (*f) () = $ac_func;
68425 #endif
68426 #ifdef __cplusplus
68428 #endif
68431 main ()
68433 return f != $ac_func;
68435 return 0;
68437 _ACEOF
68438 rm -f conftest.$ac_objext conftest$ac_exeext
68439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68440 (eval $ac_link) 2>conftest.er1
68441 ac_status=$?
68442 grep -v '^ *+' conftest.er1 >conftest.err
68443 rm -f conftest.er1
68444 cat conftest.err >&5
68445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68446 (exit $ac_status); } &&
68447 { ac_try='test -z "$ac_c_werror_flag"
68448 || test ! -s conftest.err'
68449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68450 (eval $ac_try) 2>&5
68451 ac_status=$?
68452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68453 (exit $ac_status); }; } &&
68454 { ac_try='test -s conftest$ac_exeext'
68455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456 (eval $ac_try) 2>&5
68457 ac_status=$?
68458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459 (exit $ac_status); }; }; then
68460 eval "$as_ac_var=yes"
68461 else
68462 echo "$as_me: failed program was:" >&5
68463 sed 's/^/| /' conftest.$ac_ext >&5
68465 eval "$as_ac_var=no"
68467 rm -f conftest.err conftest.$ac_objext \
68468 conftest$ac_exeext conftest.$ac_ext
68470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68472 if test `eval echo '${'$as_ac_var'}'` = yes; then
68473 cat >>confdefs.h <<_ACEOF
68474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68475 _ACEOF
68478 done
68483 echo "$as_me:$LINENO: checking for _long double round functions" >&5
68484 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
68485 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
68486 echo $ECHO_N "(cached) $ECHO_C" >&6
68487 else
68491 ac_ext=cc
68492 ac_cpp='$CXXCPP $CPPFLAGS'
68493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68497 cat >conftest.$ac_ext <<_ACEOF
68498 /* confdefs.h. */
68499 _ACEOF
68500 cat confdefs.h >>conftest.$ac_ext
68501 cat >>conftest.$ac_ext <<_ACEOF
68502 /* end confdefs.h. */
68503 #include <math.h>
68505 main ()
68507 `for x in _ceill _floorl; do echo "$x (0);"; done`
68509 return 0;
68511 _ACEOF
68512 rm -f conftest.$ac_objext
68513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68514 (eval $ac_compile) 2>conftest.er1
68515 ac_status=$?
68516 grep -v '^ *+' conftest.er1 >conftest.err
68517 rm -f conftest.er1
68518 cat conftest.err >&5
68519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68520 (exit $ac_status); } &&
68521 { ac_try='test -z "$ac_cxx_werror_flag"
68522 || test ! -s conftest.err'
68523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68524 (eval $ac_try) 2>&5
68525 ac_status=$?
68526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68527 (exit $ac_status); }; } &&
68528 { ac_try='test -s conftest.$ac_objext'
68529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68530 (eval $ac_try) 2>&5
68531 ac_status=$?
68532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68533 (exit $ac_status); }; }; then
68534 glibcxx_cv_func__long_double_round_use=yes
68535 else
68536 echo "$as_me: failed program was:" >&5
68537 sed 's/^/| /' conftest.$ac_ext >&5
68539 glibcxx_cv_func__long_double_round_use=no
68541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
68551 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
68552 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68555 for ac_func in _ceill _floorl
68557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68558 echo "$as_me:$LINENO: checking for $ac_func" >&5
68559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68560 if eval "test \"\${$as_ac_var+set}\" = set"; then
68561 echo $ECHO_N "(cached) $ECHO_C" >&6
68562 else
68563 if test x$gcc_no_link = xyes; then
68564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68566 { (exit 1); exit 1; }; }
68568 cat >conftest.$ac_ext <<_ACEOF
68569 /* confdefs.h. */
68570 _ACEOF
68571 cat confdefs.h >>conftest.$ac_ext
68572 cat >>conftest.$ac_ext <<_ACEOF
68573 /* end confdefs.h. */
68574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68576 #define $ac_func innocuous_$ac_func
68578 /* System header to define __stub macros and hopefully few prototypes,
68579 which can conflict with char $ac_func (); below.
68580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68581 <limits.h> exists even on freestanding compilers. */
68583 #ifdef __STDC__
68584 # include <limits.h>
68585 #else
68586 # include <assert.h>
68587 #endif
68589 #undef $ac_func
68591 /* Override any gcc2 internal prototype to avoid an error. */
68592 #ifdef __cplusplus
68593 extern "C"
68595 #endif
68596 /* We use char because int might match the return type of a gcc2
68597 builtin and then its argument prototype would still apply. */
68598 char $ac_func ();
68599 /* The GNU C library defines this for functions which it implements
68600 to always fail with ENOSYS. Some functions are actually named
68601 something starting with __ and the normal name is an alias. */
68602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68603 choke me
68604 #else
68605 char (*f) () = $ac_func;
68606 #endif
68607 #ifdef __cplusplus
68609 #endif
68612 main ()
68614 return f != $ac_func;
68616 return 0;
68618 _ACEOF
68619 rm -f conftest.$ac_objext conftest$ac_exeext
68620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68621 (eval $ac_link) 2>conftest.er1
68622 ac_status=$?
68623 grep -v '^ *+' conftest.er1 >conftest.err
68624 rm -f conftest.er1
68625 cat conftest.err >&5
68626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68627 (exit $ac_status); } &&
68628 { ac_try='test -z "$ac_c_werror_flag"
68629 || test ! -s conftest.err'
68630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631 (eval $ac_try) 2>&5
68632 ac_status=$?
68633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634 (exit $ac_status); }; } &&
68635 { ac_try='test -s conftest$ac_exeext'
68636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68637 (eval $ac_try) 2>&5
68638 ac_status=$?
68639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68640 (exit $ac_status); }; }; then
68641 eval "$as_ac_var=yes"
68642 else
68643 echo "$as_me: failed program was:" >&5
68644 sed 's/^/| /' conftest.$ac_ext >&5
68646 eval "$as_ac_var=no"
68648 rm -f conftest.err conftest.$ac_objext \
68649 conftest$ac_exeext conftest.$ac_ext
68651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68653 if test `eval echo '${'$as_ac_var'}'` = yes; then
68654 cat >>confdefs.h <<_ACEOF
68655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68656 _ACEOF
68659 done
68664 LIBS="$ac_save_LIBS"
68665 CXXFLAGS="$ac_save_CXXFLAGS"
68669 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
68670 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
68671 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
68672 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
68673 echo $ECHO_N "(cached) $ECHO_C" >&6
68674 else
68678 ac_ext=cc
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68684 cat >conftest.$ac_ext <<_ACEOF
68685 /* confdefs.h. */
68686 _ACEOF
68687 cat confdefs.h >>conftest.$ac_ext
68688 cat >>conftest.$ac_ext <<_ACEOF
68689 /* end confdefs.h. */
68690 #include <math.h>
68692 main ()
68694 __builtin_abs(0);
68696 return 0;
68698 _ACEOF
68699 rm -f conftest.$ac_objext
68700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68701 (eval $ac_compile) 2>conftest.er1
68702 ac_status=$?
68703 grep -v '^ *+' conftest.er1 >conftest.err
68704 rm -f conftest.er1
68705 cat conftest.err >&5
68706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707 (exit $ac_status); } &&
68708 { ac_try='test -z "$ac_cxx_werror_flag"
68709 || test ! -s conftest.err'
68710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68711 (eval $ac_try) 2>&5
68712 ac_status=$?
68713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68714 (exit $ac_status); }; } &&
68715 { ac_try='test -s conftest.$ac_objext'
68716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717 (eval $ac_try) 2>&5
68718 ac_status=$?
68719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720 (exit $ac_status); }; }; then
68721 glibcxx_cv_func___builtin_abs_use=yes
68722 else
68723 echo "$as_me: failed program was:" >&5
68724 sed 's/^/| /' conftest.$ac_ext >&5
68726 glibcxx_cv_func___builtin_abs_use=no
68728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
68740 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
68741 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
68742 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
68743 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
68744 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
68745 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
68746 echo $ECHO_N "(cached) $ECHO_C" >&6
68747 else
68749 if test x$gcc_no_link = xyes; then
68750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68752 { (exit 1); exit 1; }; }
68754 cat >conftest.$ac_ext <<_ACEOF
68755 /* confdefs.h. */
68756 _ACEOF
68757 cat confdefs.h >>conftest.$ac_ext
68758 cat >>conftest.$ac_ext <<_ACEOF
68759 /* end confdefs.h. */
68760 #include <math.h>
68762 main ()
68764 __builtin_abs(0);
68766 return 0;
68768 _ACEOF
68769 rm -f conftest.$ac_objext conftest$ac_exeext
68770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68771 (eval $ac_link) 2>conftest.er1
68772 ac_status=$?
68773 grep -v '^ *+' conftest.er1 >conftest.err
68774 rm -f conftest.er1
68775 cat conftest.err >&5
68776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68777 (exit $ac_status); } &&
68778 { ac_try='test -z "$ac_c_werror_flag"
68779 || test ! -s conftest.err'
68780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68781 (eval $ac_try) 2>&5
68782 ac_status=$?
68783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68784 (exit $ac_status); }; } &&
68785 { ac_try='test -s conftest$ac_exeext'
68786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68787 (eval $ac_try) 2>&5
68788 ac_status=$?
68789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68790 (exit $ac_status); }; }; then
68791 glibcxx_cv_func___builtin_abs_link=yes
68792 else
68793 echo "$as_me: failed program was:" >&5
68794 sed 's/^/| /' conftest.$ac_ext >&5
68796 glibcxx_cv_func___builtin_abs_link=no
68798 rm -f conftest.err conftest.$ac_objext \
68799 conftest$ac_exeext conftest.$ac_ext
68804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
68805 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
68806 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
68807 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
68809 cat >>confdefs.h <<_ACEOF
68810 #define ${ac_tr_func} 1
68811 _ACEOF
68817 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
68818 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
68819 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
68820 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
68821 echo $ECHO_N "(cached) $ECHO_C" >&6
68822 else
68826 ac_ext=cc
68827 ac_cpp='$CXXCPP $CPPFLAGS'
68828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68832 cat >conftest.$ac_ext <<_ACEOF
68833 /* confdefs.h. */
68834 _ACEOF
68835 cat confdefs.h >>conftest.$ac_ext
68836 cat >>conftest.$ac_ext <<_ACEOF
68837 /* end confdefs.h. */
68838 #include <math.h>
68840 main ()
68842 __builtin_fabsf(0);
68844 return 0;
68846 _ACEOF
68847 rm -f conftest.$ac_objext
68848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68849 (eval $ac_compile) 2>conftest.er1
68850 ac_status=$?
68851 grep -v '^ *+' conftest.er1 >conftest.err
68852 rm -f conftest.er1
68853 cat conftest.err >&5
68854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855 (exit $ac_status); } &&
68856 { ac_try='test -z "$ac_cxx_werror_flag"
68857 || test ! -s conftest.err'
68858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68859 (eval $ac_try) 2>&5
68860 ac_status=$?
68861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68862 (exit $ac_status); }; } &&
68863 { ac_try='test -s conftest.$ac_objext'
68864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68865 (eval $ac_try) 2>&5
68866 ac_status=$?
68867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68868 (exit $ac_status); }; }; then
68869 glibcxx_cv_func___builtin_fabsf_use=yes
68870 else
68871 echo "$as_me: failed program was:" >&5
68872 sed 's/^/| /' conftest.$ac_ext >&5
68874 glibcxx_cv_func___builtin_fabsf_use=no
68876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68877 ac_ext=c
68878 ac_cpp='$CPP $CPPFLAGS'
68879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
68888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
68889 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
68890 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
68891 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
68892 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
68893 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
68894 echo $ECHO_N "(cached) $ECHO_C" >&6
68895 else
68897 if test x$gcc_no_link = xyes; then
68898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68900 { (exit 1); exit 1; }; }
68902 cat >conftest.$ac_ext <<_ACEOF
68903 /* confdefs.h. */
68904 _ACEOF
68905 cat confdefs.h >>conftest.$ac_ext
68906 cat >>conftest.$ac_ext <<_ACEOF
68907 /* end confdefs.h. */
68908 #include <math.h>
68910 main ()
68912 __builtin_fabsf(0);
68914 return 0;
68916 _ACEOF
68917 rm -f conftest.$ac_objext conftest$ac_exeext
68918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68919 (eval $ac_link) 2>conftest.er1
68920 ac_status=$?
68921 grep -v '^ *+' conftest.er1 >conftest.err
68922 rm -f conftest.er1
68923 cat conftest.err >&5
68924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68925 (exit $ac_status); } &&
68926 { ac_try='test -z "$ac_c_werror_flag"
68927 || test ! -s conftest.err'
68928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68929 (eval $ac_try) 2>&5
68930 ac_status=$?
68931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68932 (exit $ac_status); }; } &&
68933 { ac_try='test -s conftest$ac_exeext'
68934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68935 (eval $ac_try) 2>&5
68936 ac_status=$?
68937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68938 (exit $ac_status); }; }; then
68939 glibcxx_cv_func___builtin_fabsf_link=yes
68940 else
68941 echo "$as_me: failed program was:" >&5
68942 sed 's/^/| /' conftest.$ac_ext >&5
68944 glibcxx_cv_func___builtin_fabsf_link=no
68946 rm -f conftest.err conftest.$ac_objext \
68947 conftest$ac_exeext conftest.$ac_ext
68952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
68953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
68954 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
68955 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
68957 cat >>confdefs.h <<_ACEOF
68958 #define ${ac_tr_func} 1
68959 _ACEOF
68965 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
68966 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
68967 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
68968 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
68969 echo $ECHO_N "(cached) $ECHO_C" >&6
68970 else
68974 ac_ext=cc
68975 ac_cpp='$CXXCPP $CPPFLAGS'
68976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68980 cat >conftest.$ac_ext <<_ACEOF
68981 /* confdefs.h. */
68982 _ACEOF
68983 cat confdefs.h >>conftest.$ac_ext
68984 cat >>conftest.$ac_ext <<_ACEOF
68985 /* end confdefs.h. */
68986 #include <math.h>
68988 main ()
68990 __builtin_fabs(0);
68992 return 0;
68994 _ACEOF
68995 rm -f conftest.$ac_objext
68996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68997 (eval $ac_compile) 2>conftest.er1
68998 ac_status=$?
68999 grep -v '^ *+' conftest.er1 >conftest.err
69000 rm -f conftest.er1
69001 cat conftest.err >&5
69002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 (exit $ac_status); } &&
69004 { ac_try='test -z "$ac_cxx_werror_flag"
69005 || test ! -s conftest.err'
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); }; } &&
69011 { ac_try='test -s conftest.$ac_objext'
69012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69013 (eval $ac_try) 2>&5
69014 ac_status=$?
69015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69016 (exit $ac_status); }; }; then
69017 glibcxx_cv_func___builtin_fabs_use=yes
69018 else
69019 echo "$as_me: failed program was:" >&5
69020 sed 's/^/| /' conftest.$ac_ext >&5
69022 glibcxx_cv_func___builtin_fabs_use=no
69024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69025 ac_ext=c
69026 ac_cpp='$CPP $CPPFLAGS'
69027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
69036 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
69037 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
69038 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
69039 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
69040 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
69041 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
69042 echo $ECHO_N "(cached) $ECHO_C" >&6
69043 else
69045 if test x$gcc_no_link = xyes; then
69046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69048 { (exit 1); exit 1; }; }
69050 cat >conftest.$ac_ext <<_ACEOF
69051 /* confdefs.h. */
69052 _ACEOF
69053 cat confdefs.h >>conftest.$ac_ext
69054 cat >>conftest.$ac_ext <<_ACEOF
69055 /* end confdefs.h. */
69056 #include <math.h>
69058 main ()
69060 __builtin_fabs(0);
69062 return 0;
69064 _ACEOF
69065 rm -f conftest.$ac_objext conftest$ac_exeext
69066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69067 (eval $ac_link) 2>conftest.er1
69068 ac_status=$?
69069 grep -v '^ *+' conftest.er1 >conftest.err
69070 rm -f conftest.er1
69071 cat conftest.err >&5
69072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69073 (exit $ac_status); } &&
69074 { ac_try='test -z "$ac_c_werror_flag"
69075 || test ! -s conftest.err'
69076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69077 (eval $ac_try) 2>&5
69078 ac_status=$?
69079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69080 (exit $ac_status); }; } &&
69081 { ac_try='test -s conftest$ac_exeext'
69082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69083 (eval $ac_try) 2>&5
69084 ac_status=$?
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); }; }; then
69087 glibcxx_cv_func___builtin_fabs_link=yes
69088 else
69089 echo "$as_me: failed program was:" >&5
69090 sed 's/^/| /' conftest.$ac_ext >&5
69092 glibcxx_cv_func___builtin_fabs_link=no
69094 rm -f conftest.err conftest.$ac_objext \
69095 conftest$ac_exeext conftest.$ac_ext
69100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
69101 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
69102 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
69103 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69105 cat >>confdefs.h <<_ACEOF
69106 #define ${ac_tr_func} 1
69107 _ACEOF
69113 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
69114 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
69115 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
69116 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
69117 echo $ECHO_N "(cached) $ECHO_C" >&6
69118 else
69122 ac_ext=cc
69123 ac_cpp='$CXXCPP $CPPFLAGS'
69124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69128 cat >conftest.$ac_ext <<_ACEOF
69129 /* confdefs.h. */
69130 _ACEOF
69131 cat confdefs.h >>conftest.$ac_ext
69132 cat >>conftest.$ac_ext <<_ACEOF
69133 /* end confdefs.h. */
69134 #include <math.h>
69136 main ()
69138 __builtin_fabsl(0);
69140 return 0;
69142 _ACEOF
69143 rm -f conftest.$ac_objext
69144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69145 (eval $ac_compile) 2>conftest.er1
69146 ac_status=$?
69147 grep -v '^ *+' conftest.er1 >conftest.err
69148 rm -f conftest.er1
69149 cat conftest.err >&5
69150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69151 (exit $ac_status); } &&
69152 { ac_try='test -z "$ac_cxx_werror_flag"
69153 || test ! -s conftest.err'
69154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69155 (eval $ac_try) 2>&5
69156 ac_status=$?
69157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69158 (exit $ac_status); }; } &&
69159 { ac_try='test -s conftest.$ac_objext'
69160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69161 (eval $ac_try) 2>&5
69162 ac_status=$?
69163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69164 (exit $ac_status); }; }; then
69165 glibcxx_cv_func___builtin_fabsl_use=yes
69166 else
69167 echo "$as_me: failed program was:" >&5
69168 sed 's/^/| /' conftest.$ac_ext >&5
69170 glibcxx_cv_func___builtin_fabsl_use=no
69172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69173 ac_ext=c
69174 ac_cpp='$CPP $CPPFLAGS'
69175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69183 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
69184 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
69185 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
69186 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
69187 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
69188 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
69189 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
69190 echo $ECHO_N "(cached) $ECHO_C" >&6
69191 else
69193 if test x$gcc_no_link = xyes; then
69194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69196 { (exit 1); exit 1; }; }
69198 cat >conftest.$ac_ext <<_ACEOF
69199 /* confdefs.h. */
69200 _ACEOF
69201 cat confdefs.h >>conftest.$ac_ext
69202 cat >>conftest.$ac_ext <<_ACEOF
69203 /* end confdefs.h. */
69204 #include <math.h>
69206 main ()
69208 __builtin_fabsl(0);
69210 return 0;
69212 _ACEOF
69213 rm -f conftest.$ac_objext conftest$ac_exeext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69215 (eval $ac_link) 2>conftest.er1
69216 ac_status=$?
69217 grep -v '^ *+' conftest.er1 >conftest.err
69218 rm -f conftest.er1
69219 cat conftest.err >&5
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); } &&
69222 { ac_try='test -z "$ac_c_werror_flag"
69223 || test ! -s conftest.err'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; } &&
69229 { ac_try='test -s conftest$ac_exeext'
69230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231 (eval $ac_try) 2>&5
69232 ac_status=$?
69233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234 (exit $ac_status); }; }; then
69235 glibcxx_cv_func___builtin_fabsl_link=yes
69236 else
69237 echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69240 glibcxx_cv_func___builtin_fabsl_link=no
69242 rm -f conftest.err conftest.$ac_objext \
69243 conftest$ac_exeext conftest.$ac_ext
69248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
69249 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
69250 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
69251 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69253 cat >>confdefs.h <<_ACEOF
69254 #define ${ac_tr_func} 1
69255 _ACEOF
69261 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
69262 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
69263 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
69264 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
69265 echo $ECHO_N "(cached) $ECHO_C" >&6
69266 else
69270 ac_ext=cc
69271 ac_cpp='$CXXCPP $CPPFLAGS'
69272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69276 cat >conftest.$ac_ext <<_ACEOF
69277 /* confdefs.h. */
69278 _ACEOF
69279 cat confdefs.h >>conftest.$ac_ext
69280 cat >>conftest.$ac_ext <<_ACEOF
69281 /* end confdefs.h. */
69282 #include <math.h>
69284 main ()
69286 __builtin_labs(0);
69288 return 0;
69290 _ACEOF
69291 rm -f conftest.$ac_objext
69292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69293 (eval $ac_compile) 2>conftest.er1
69294 ac_status=$?
69295 grep -v '^ *+' conftest.er1 >conftest.err
69296 rm -f conftest.er1
69297 cat conftest.err >&5
69298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69299 (exit $ac_status); } &&
69300 { ac_try='test -z "$ac_cxx_werror_flag"
69301 || test ! -s conftest.err'
69302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303 (eval $ac_try) 2>&5
69304 ac_status=$?
69305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306 (exit $ac_status); }; } &&
69307 { ac_try='test -s conftest.$ac_objext'
69308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69309 (eval $ac_try) 2>&5
69310 ac_status=$?
69311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69312 (exit $ac_status); }; }; then
69313 glibcxx_cv_func___builtin_labs_use=yes
69314 else
69315 echo "$as_me: failed program was:" >&5
69316 sed 's/^/| /' conftest.$ac_ext >&5
69318 glibcxx_cv_func___builtin_labs_use=no
69320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69321 ac_ext=c
69322 ac_cpp='$CPP $CPPFLAGS'
69323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
69332 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
69333 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
69334 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
69335 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
69336 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
69337 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
69338 echo $ECHO_N "(cached) $ECHO_C" >&6
69339 else
69341 if test x$gcc_no_link = xyes; then
69342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69344 { (exit 1); exit 1; }; }
69346 cat >conftest.$ac_ext <<_ACEOF
69347 /* confdefs.h. */
69348 _ACEOF
69349 cat confdefs.h >>conftest.$ac_ext
69350 cat >>conftest.$ac_ext <<_ACEOF
69351 /* end confdefs.h. */
69352 #include <math.h>
69354 main ()
69356 __builtin_labs(0);
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 glibcxx_cv_func___builtin_labs_link=yes
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69388 glibcxx_cv_func___builtin_labs_link=no
69390 rm -f conftest.err conftest.$ac_objext \
69391 conftest$ac_exeext conftest.$ac_ext
69396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
69397 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
69398 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
69399 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69401 cat >>confdefs.h <<_ACEOF
69402 #define ${ac_tr_func} 1
69403 _ACEOF
69410 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
69411 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
69412 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
69413 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69419 ac_ext=cc
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425 cat >conftest.$ac_ext <<_ACEOF
69426 /* confdefs.h. */
69427 _ACEOF
69428 cat confdefs.h >>conftest.$ac_ext
69429 cat >>conftest.$ac_ext <<_ACEOF
69430 /* end confdefs.h. */
69431 #include <math.h>
69433 main ()
69435 __builtin_sqrtf(0);
69437 return 0;
69439 _ACEOF
69440 rm -f conftest.$ac_objext
69441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69442 (eval $ac_compile) 2>conftest.er1
69443 ac_status=$?
69444 grep -v '^ *+' conftest.er1 >conftest.err
69445 rm -f conftest.er1
69446 cat conftest.err >&5
69447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69448 (exit $ac_status); } &&
69449 { ac_try='test -z "$ac_cxx_werror_flag"
69450 || test ! -s conftest.err'
69451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69452 (eval $ac_try) 2>&5
69453 ac_status=$?
69454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69455 (exit $ac_status); }; } &&
69456 { ac_try='test -s conftest.$ac_objext'
69457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69458 (eval $ac_try) 2>&5
69459 ac_status=$?
69460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69461 (exit $ac_status); }; }; then
69462 glibcxx_cv_func___builtin_sqrtf_use=yes
69463 else
69464 echo "$as_me: failed program was:" >&5
69465 sed 's/^/| /' conftest.$ac_ext >&5
69467 glibcxx_cv_func___builtin_sqrtf_use=no
69469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69470 ac_ext=c
69471 ac_cpp='$CPP $CPPFLAGS'
69472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
69481 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
69482 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
69483 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
69484 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
69485 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
69486 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
69487 echo $ECHO_N "(cached) $ECHO_C" >&6
69488 else
69490 if test x$gcc_no_link = xyes; then
69491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69493 { (exit 1); exit 1; }; }
69495 cat >conftest.$ac_ext <<_ACEOF
69496 /* confdefs.h. */
69497 _ACEOF
69498 cat confdefs.h >>conftest.$ac_ext
69499 cat >>conftest.$ac_ext <<_ACEOF
69500 /* end confdefs.h. */
69501 #include <math.h>
69503 main ()
69505 __builtin_sqrtf(0);
69507 return 0;
69509 _ACEOF
69510 rm -f conftest.$ac_objext conftest$ac_exeext
69511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69512 (eval $ac_link) 2>conftest.er1
69513 ac_status=$?
69514 grep -v '^ *+' conftest.er1 >conftest.err
69515 rm -f conftest.er1
69516 cat conftest.err >&5
69517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69518 (exit $ac_status); } &&
69519 { ac_try='test -z "$ac_c_werror_flag"
69520 || test ! -s conftest.err'
69521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69522 (eval $ac_try) 2>&5
69523 ac_status=$?
69524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69525 (exit $ac_status); }; } &&
69526 { ac_try='test -s conftest$ac_exeext'
69527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69528 (eval $ac_try) 2>&5
69529 ac_status=$?
69530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69531 (exit $ac_status); }; }; then
69532 glibcxx_cv_func___builtin_sqrtf_link=yes
69533 else
69534 echo "$as_me: failed program was:" >&5
69535 sed 's/^/| /' conftest.$ac_ext >&5
69537 glibcxx_cv_func___builtin_sqrtf_link=no
69539 rm -f conftest.err conftest.$ac_objext \
69540 conftest$ac_exeext conftest.$ac_ext
69545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
69546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
69547 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
69548 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69550 cat >>confdefs.h <<_ACEOF
69551 #define ${ac_tr_func} 1
69552 _ACEOF
69558 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
69559 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
69560 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
69561 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
69562 echo $ECHO_N "(cached) $ECHO_C" >&6
69563 else
69567 ac_ext=cc
69568 ac_cpp='$CXXCPP $CPPFLAGS'
69569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69573 cat >conftest.$ac_ext <<_ACEOF
69574 /* confdefs.h. */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h. */
69579 #include <math.h>
69581 main ()
69583 __builtin_sqrt(0);
69585 return 0;
69587 _ACEOF
69588 rm -f conftest.$ac_objext
69589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69590 (eval $ac_compile) 2>conftest.er1
69591 ac_status=$?
69592 grep -v '^ *+' conftest.er1 >conftest.err
69593 rm -f conftest.er1
69594 cat conftest.err >&5
69595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69596 (exit $ac_status); } &&
69597 { ac_try='test -z "$ac_cxx_werror_flag"
69598 || test ! -s conftest.err'
69599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69600 (eval $ac_try) 2>&5
69601 ac_status=$?
69602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69603 (exit $ac_status); }; } &&
69604 { ac_try='test -s conftest.$ac_objext'
69605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69606 (eval $ac_try) 2>&5
69607 ac_status=$?
69608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69609 (exit $ac_status); }; }; then
69610 glibcxx_cv_func___builtin_sqrt_use=yes
69611 else
69612 echo "$as_me: failed program was:" >&5
69613 sed 's/^/| /' conftest.$ac_ext >&5
69615 glibcxx_cv_func___builtin_sqrt_use=no
69617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69618 ac_ext=c
69619 ac_cpp='$CPP $CPPFLAGS'
69620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
69629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
69630 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
69631 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
69632 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
69633 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
69634 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
69635 echo $ECHO_N "(cached) $ECHO_C" >&6
69636 else
69638 if test x$gcc_no_link = xyes; then
69639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69641 { (exit 1); exit 1; }; }
69643 cat >conftest.$ac_ext <<_ACEOF
69644 /* confdefs.h. */
69645 _ACEOF
69646 cat confdefs.h >>conftest.$ac_ext
69647 cat >>conftest.$ac_ext <<_ACEOF
69648 /* end confdefs.h. */
69649 #include <math.h>
69651 main ()
69653 __builtin_sqrt(0);
69655 return 0;
69657 _ACEOF
69658 rm -f conftest.$ac_objext conftest$ac_exeext
69659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69660 (eval $ac_link) 2>conftest.er1
69661 ac_status=$?
69662 grep -v '^ *+' conftest.er1 >conftest.err
69663 rm -f conftest.er1
69664 cat conftest.err >&5
69665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69666 (exit $ac_status); } &&
69667 { ac_try='test -z "$ac_c_werror_flag"
69668 || test ! -s conftest.err'
69669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69670 (eval $ac_try) 2>&5
69671 ac_status=$?
69672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673 (exit $ac_status); }; } &&
69674 { ac_try='test -s conftest$ac_exeext'
69675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69676 (eval $ac_try) 2>&5
69677 ac_status=$?
69678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69679 (exit $ac_status); }; }; then
69680 glibcxx_cv_func___builtin_sqrt_link=yes
69681 else
69682 echo "$as_me: failed program was:" >&5
69683 sed 's/^/| /' conftest.$ac_ext >&5
69685 glibcxx_cv_func___builtin_sqrt_link=no
69687 rm -f conftest.err conftest.$ac_objext \
69688 conftest$ac_exeext conftest.$ac_ext
69693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
69694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
69695 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
69696 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69698 cat >>confdefs.h <<_ACEOF
69699 #define ${ac_tr_func} 1
69700 _ACEOF
69706 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
69707 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
69708 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
69709 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
69710 echo $ECHO_N "(cached) $ECHO_C" >&6
69711 else
69715 ac_ext=cc
69716 ac_cpp='$CXXCPP $CPPFLAGS'
69717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69721 cat >conftest.$ac_ext <<_ACEOF
69722 /* confdefs.h. */
69723 _ACEOF
69724 cat confdefs.h >>conftest.$ac_ext
69725 cat >>conftest.$ac_ext <<_ACEOF
69726 /* end confdefs.h. */
69727 #include <math.h>
69729 main ()
69731 __builtin_sqrtl(0);
69733 return 0;
69735 _ACEOF
69736 rm -f conftest.$ac_objext
69737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69738 (eval $ac_compile) 2>conftest.er1
69739 ac_status=$?
69740 grep -v '^ *+' conftest.er1 >conftest.err
69741 rm -f conftest.er1
69742 cat conftest.err >&5
69743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744 (exit $ac_status); } &&
69745 { ac_try='test -z "$ac_cxx_werror_flag"
69746 || test ! -s conftest.err'
69747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748 (eval $ac_try) 2>&5
69749 ac_status=$?
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); }; } &&
69752 { ac_try='test -s conftest.$ac_objext'
69753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754 (eval $ac_try) 2>&5
69755 ac_status=$?
69756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757 (exit $ac_status); }; }; then
69758 glibcxx_cv_func___builtin_sqrtl_use=yes
69759 else
69760 echo "$as_me: failed program was:" >&5
69761 sed 's/^/| /' conftest.$ac_ext >&5
69763 glibcxx_cv_func___builtin_sqrtl_use=no
69765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69766 ac_ext=c
69767 ac_cpp='$CPP $CPPFLAGS'
69768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
69777 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
69778 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
69779 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
69780 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
69781 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
69782 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
69783 echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69786 if test x$gcc_no_link = xyes; then
69787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69789 { (exit 1); exit 1; }; }
69791 cat >conftest.$ac_ext <<_ACEOF
69792 /* confdefs.h. */
69793 _ACEOF
69794 cat confdefs.h >>conftest.$ac_ext
69795 cat >>conftest.$ac_ext <<_ACEOF
69796 /* end confdefs.h. */
69797 #include <math.h>
69799 main ()
69801 __builtin_sqrtl(0);
69803 return 0;
69805 _ACEOF
69806 rm -f conftest.$ac_objext conftest$ac_exeext
69807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69808 (eval $ac_link) 2>conftest.er1
69809 ac_status=$?
69810 grep -v '^ *+' conftest.er1 >conftest.err
69811 rm -f conftest.er1
69812 cat conftest.err >&5
69813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69814 (exit $ac_status); } &&
69815 { ac_try='test -z "$ac_c_werror_flag"
69816 || test ! -s conftest.err'
69817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69818 (eval $ac_try) 2>&5
69819 ac_status=$?
69820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69821 (exit $ac_status); }; } &&
69822 { ac_try='test -s conftest$ac_exeext'
69823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69824 (eval $ac_try) 2>&5
69825 ac_status=$?
69826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69827 (exit $ac_status); }; }; then
69828 glibcxx_cv_func___builtin_sqrtl_link=yes
69829 else
69830 echo "$as_me: failed program was:" >&5
69831 sed 's/^/| /' conftest.$ac_ext >&5
69833 glibcxx_cv_func___builtin_sqrtl_link=no
69835 rm -f conftest.err conftest.$ac_objext \
69836 conftest$ac_exeext conftest.$ac_ext
69841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
69842 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
69843 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
69844 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69846 cat >>confdefs.h <<_ACEOF
69847 #define ${ac_tr_func} 1
69848 _ACEOF
69855 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
69856 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
69857 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
69858 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
69859 echo $ECHO_N "(cached) $ECHO_C" >&6
69860 else
69864 ac_ext=cc
69865 ac_cpp='$CXXCPP $CPPFLAGS'
69866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69870 cat >conftest.$ac_ext <<_ACEOF
69871 /* confdefs.h. */
69872 _ACEOF
69873 cat confdefs.h >>conftest.$ac_ext
69874 cat >>conftest.$ac_ext <<_ACEOF
69875 /* end confdefs.h. */
69876 #include <math.h>
69878 main ()
69880 __builtin_sinf(0);
69882 return 0;
69884 _ACEOF
69885 rm -f conftest.$ac_objext
69886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69887 (eval $ac_compile) 2>conftest.er1
69888 ac_status=$?
69889 grep -v '^ *+' conftest.er1 >conftest.err
69890 rm -f conftest.er1
69891 cat conftest.err >&5
69892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69893 (exit $ac_status); } &&
69894 { ac_try='test -z "$ac_cxx_werror_flag"
69895 || test ! -s conftest.err'
69896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69897 (eval $ac_try) 2>&5
69898 ac_status=$?
69899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69900 (exit $ac_status); }; } &&
69901 { ac_try='test -s conftest.$ac_objext'
69902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69903 (eval $ac_try) 2>&5
69904 ac_status=$?
69905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69906 (exit $ac_status); }; }; then
69907 glibcxx_cv_func___builtin_sinf_use=yes
69908 else
69909 echo "$as_me: failed program was:" >&5
69910 sed 's/^/| /' conftest.$ac_ext >&5
69912 glibcxx_cv_func___builtin_sinf_use=no
69914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69915 ac_ext=c
69916 ac_cpp='$CPP $CPPFLAGS'
69917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69925 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
69926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
69927 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
69928 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
69929 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
69930 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
69931 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
69932 echo $ECHO_N "(cached) $ECHO_C" >&6
69933 else
69935 if test x$gcc_no_link = xyes; then
69936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69938 { (exit 1); exit 1; }; }
69940 cat >conftest.$ac_ext <<_ACEOF
69941 /* confdefs.h. */
69942 _ACEOF
69943 cat confdefs.h >>conftest.$ac_ext
69944 cat >>conftest.$ac_ext <<_ACEOF
69945 /* end confdefs.h. */
69946 #include <math.h>
69948 main ()
69950 __builtin_sinf(0);
69952 return 0;
69954 _ACEOF
69955 rm -f conftest.$ac_objext conftest$ac_exeext
69956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69957 (eval $ac_link) 2>conftest.er1
69958 ac_status=$?
69959 grep -v '^ *+' conftest.er1 >conftest.err
69960 rm -f conftest.er1
69961 cat conftest.err >&5
69962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69963 (exit $ac_status); } &&
69964 { ac_try='test -z "$ac_c_werror_flag"
69965 || test ! -s conftest.err'
69966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69967 (eval $ac_try) 2>&5
69968 ac_status=$?
69969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69970 (exit $ac_status); }; } &&
69971 { ac_try='test -s conftest$ac_exeext'
69972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69973 (eval $ac_try) 2>&5
69974 ac_status=$?
69975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69976 (exit $ac_status); }; }; then
69977 glibcxx_cv_func___builtin_sinf_link=yes
69978 else
69979 echo "$as_me: failed program was:" >&5
69980 sed 's/^/| /' conftest.$ac_ext >&5
69982 glibcxx_cv_func___builtin_sinf_link=no
69984 rm -f conftest.err conftest.$ac_objext \
69985 conftest$ac_exeext conftest.$ac_ext
69990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
69991 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
69992 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
69993 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69995 cat >>confdefs.h <<_ACEOF
69996 #define ${ac_tr_func} 1
69997 _ACEOF
70003 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
70004 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
70005 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
70006 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
70007 echo $ECHO_N "(cached) $ECHO_C" >&6
70008 else
70012 ac_ext=cc
70013 ac_cpp='$CXXCPP $CPPFLAGS'
70014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70018 cat >conftest.$ac_ext <<_ACEOF
70019 /* confdefs.h. */
70020 _ACEOF
70021 cat confdefs.h >>conftest.$ac_ext
70022 cat >>conftest.$ac_ext <<_ACEOF
70023 /* end confdefs.h. */
70024 #include <math.h>
70026 main ()
70028 __builtin_sin(0);
70030 return 0;
70032 _ACEOF
70033 rm -f conftest.$ac_objext
70034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70035 (eval $ac_compile) 2>conftest.er1
70036 ac_status=$?
70037 grep -v '^ *+' conftest.er1 >conftest.err
70038 rm -f conftest.er1
70039 cat conftest.err >&5
70040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041 (exit $ac_status); } &&
70042 { ac_try='test -z "$ac_cxx_werror_flag"
70043 || test ! -s conftest.err'
70044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70045 (eval $ac_try) 2>&5
70046 ac_status=$?
70047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70048 (exit $ac_status); }; } &&
70049 { ac_try='test -s conftest.$ac_objext'
70050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70051 (eval $ac_try) 2>&5
70052 ac_status=$?
70053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70054 (exit $ac_status); }; }; then
70055 glibcxx_cv_func___builtin_sin_use=yes
70056 else
70057 echo "$as_me: failed program was:" >&5
70058 sed 's/^/| /' conftest.$ac_ext >&5
70060 glibcxx_cv_func___builtin_sin_use=no
70062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70063 ac_ext=c
70064 ac_cpp='$CPP $CPPFLAGS'
70065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
70074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
70075 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
70076 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
70077 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
70078 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
70079 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
70080 echo $ECHO_N "(cached) $ECHO_C" >&6
70081 else
70083 if test x$gcc_no_link = xyes; then
70084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70086 { (exit 1); exit 1; }; }
70088 cat >conftest.$ac_ext <<_ACEOF
70089 /* confdefs.h. */
70090 _ACEOF
70091 cat confdefs.h >>conftest.$ac_ext
70092 cat >>conftest.$ac_ext <<_ACEOF
70093 /* end confdefs.h. */
70094 #include <math.h>
70096 main ()
70098 __builtin_sin(0);
70100 return 0;
70102 _ACEOF
70103 rm -f conftest.$ac_objext conftest$ac_exeext
70104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70105 (eval $ac_link) 2>conftest.er1
70106 ac_status=$?
70107 grep -v '^ *+' conftest.er1 >conftest.err
70108 rm -f conftest.er1
70109 cat conftest.err >&5
70110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70111 (exit $ac_status); } &&
70112 { ac_try='test -z "$ac_c_werror_flag"
70113 || test ! -s conftest.err'
70114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70115 (eval $ac_try) 2>&5
70116 ac_status=$?
70117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70118 (exit $ac_status); }; } &&
70119 { ac_try='test -s conftest$ac_exeext'
70120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70121 (eval $ac_try) 2>&5
70122 ac_status=$?
70123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124 (exit $ac_status); }; }; then
70125 glibcxx_cv_func___builtin_sin_link=yes
70126 else
70127 echo "$as_me: failed program was:" >&5
70128 sed 's/^/| /' conftest.$ac_ext >&5
70130 glibcxx_cv_func___builtin_sin_link=no
70132 rm -f conftest.err conftest.$ac_objext \
70133 conftest$ac_exeext conftest.$ac_ext
70138 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
70139 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
70140 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
70141 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70143 cat >>confdefs.h <<_ACEOF
70144 #define ${ac_tr_func} 1
70145 _ACEOF
70151 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
70152 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
70153 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
70154 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
70155 echo $ECHO_N "(cached) $ECHO_C" >&6
70156 else
70160 ac_ext=cc
70161 ac_cpp='$CXXCPP $CPPFLAGS'
70162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70166 cat >conftest.$ac_ext <<_ACEOF
70167 /* confdefs.h. */
70168 _ACEOF
70169 cat confdefs.h >>conftest.$ac_ext
70170 cat >>conftest.$ac_ext <<_ACEOF
70171 /* end confdefs.h. */
70172 #include <math.h>
70174 main ()
70176 __builtin_sinl(0);
70178 return 0;
70180 _ACEOF
70181 rm -f conftest.$ac_objext
70182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70183 (eval $ac_compile) 2>conftest.er1
70184 ac_status=$?
70185 grep -v '^ *+' conftest.er1 >conftest.err
70186 rm -f conftest.er1
70187 cat conftest.err >&5
70188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189 (exit $ac_status); } &&
70190 { ac_try='test -z "$ac_cxx_werror_flag"
70191 || test ! -s conftest.err'
70192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70193 (eval $ac_try) 2>&5
70194 ac_status=$?
70195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196 (exit $ac_status); }; } &&
70197 { ac_try='test -s conftest.$ac_objext'
70198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70199 (eval $ac_try) 2>&5
70200 ac_status=$?
70201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70202 (exit $ac_status); }; }; then
70203 glibcxx_cv_func___builtin_sinl_use=yes
70204 else
70205 echo "$as_me: failed program was:" >&5
70206 sed 's/^/| /' conftest.$ac_ext >&5
70208 glibcxx_cv_func___builtin_sinl_use=no
70210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70211 ac_ext=c
70212 ac_cpp='$CPP $CPPFLAGS'
70213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
70222 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
70223 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
70224 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
70225 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
70226 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
70227 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
70228 echo $ECHO_N "(cached) $ECHO_C" >&6
70229 else
70231 if test x$gcc_no_link = xyes; then
70232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70234 { (exit 1); exit 1; }; }
70236 cat >conftest.$ac_ext <<_ACEOF
70237 /* confdefs.h. */
70238 _ACEOF
70239 cat confdefs.h >>conftest.$ac_ext
70240 cat >>conftest.$ac_ext <<_ACEOF
70241 /* end confdefs.h. */
70242 #include <math.h>
70244 main ()
70246 __builtin_sinl(0);
70248 return 0;
70250 _ACEOF
70251 rm -f conftest.$ac_objext conftest$ac_exeext
70252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70253 (eval $ac_link) 2>conftest.er1
70254 ac_status=$?
70255 grep -v '^ *+' conftest.er1 >conftest.err
70256 rm -f conftest.er1
70257 cat conftest.err >&5
70258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70259 (exit $ac_status); } &&
70260 { ac_try='test -z "$ac_c_werror_flag"
70261 || test ! -s conftest.err'
70262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70263 (eval $ac_try) 2>&5
70264 ac_status=$?
70265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70266 (exit $ac_status); }; } &&
70267 { ac_try='test -s conftest$ac_exeext'
70268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70269 (eval $ac_try) 2>&5
70270 ac_status=$?
70271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70272 (exit $ac_status); }; }; then
70273 glibcxx_cv_func___builtin_sinl_link=yes
70274 else
70275 echo "$as_me: failed program was:" >&5
70276 sed 's/^/| /' conftest.$ac_ext >&5
70278 glibcxx_cv_func___builtin_sinl_link=no
70280 rm -f conftest.err conftest.$ac_objext \
70281 conftest$ac_exeext conftest.$ac_ext
70286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
70287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
70288 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
70289 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70291 cat >>confdefs.h <<_ACEOF
70292 #define ${ac_tr_func} 1
70293 _ACEOF
70300 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
70301 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
70302 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
70303 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
70304 echo $ECHO_N "(cached) $ECHO_C" >&6
70305 else
70309 ac_ext=cc
70310 ac_cpp='$CXXCPP $CPPFLAGS'
70311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70315 cat >conftest.$ac_ext <<_ACEOF
70316 /* confdefs.h. */
70317 _ACEOF
70318 cat confdefs.h >>conftest.$ac_ext
70319 cat >>conftest.$ac_ext <<_ACEOF
70320 /* end confdefs.h. */
70321 #include <math.h>
70323 main ()
70325 __builtin_cosf(0);
70327 return 0;
70329 _ACEOF
70330 rm -f conftest.$ac_objext
70331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70332 (eval $ac_compile) 2>conftest.er1
70333 ac_status=$?
70334 grep -v '^ *+' conftest.er1 >conftest.err
70335 rm -f conftest.er1
70336 cat conftest.err >&5
70337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70338 (exit $ac_status); } &&
70339 { ac_try='test -z "$ac_cxx_werror_flag"
70340 || test ! -s conftest.err'
70341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70342 (eval $ac_try) 2>&5
70343 ac_status=$?
70344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70345 (exit $ac_status); }; } &&
70346 { ac_try='test -s conftest.$ac_objext'
70347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70348 (eval $ac_try) 2>&5
70349 ac_status=$?
70350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351 (exit $ac_status); }; }; then
70352 glibcxx_cv_func___builtin_cosf_use=yes
70353 else
70354 echo "$as_me: failed program was:" >&5
70355 sed 's/^/| /' conftest.$ac_ext >&5
70357 glibcxx_cv_func___builtin_cosf_use=no
70359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70360 ac_ext=c
70361 ac_cpp='$CPP $CPPFLAGS'
70362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
70371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
70372 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
70373 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
70374 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
70375 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
70376 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
70377 echo $ECHO_N "(cached) $ECHO_C" >&6
70378 else
70380 if test x$gcc_no_link = xyes; then
70381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70383 { (exit 1); exit 1; }; }
70385 cat >conftest.$ac_ext <<_ACEOF
70386 /* confdefs.h. */
70387 _ACEOF
70388 cat confdefs.h >>conftest.$ac_ext
70389 cat >>conftest.$ac_ext <<_ACEOF
70390 /* end confdefs.h. */
70391 #include <math.h>
70393 main ()
70395 __builtin_cosf(0);
70397 return 0;
70399 _ACEOF
70400 rm -f conftest.$ac_objext conftest$ac_exeext
70401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70402 (eval $ac_link) 2>conftest.er1
70403 ac_status=$?
70404 grep -v '^ *+' conftest.er1 >conftest.err
70405 rm -f conftest.er1
70406 cat conftest.err >&5
70407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70408 (exit $ac_status); } &&
70409 { ac_try='test -z "$ac_c_werror_flag"
70410 || test ! -s conftest.err'
70411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70412 (eval $ac_try) 2>&5
70413 ac_status=$?
70414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70415 (exit $ac_status); }; } &&
70416 { ac_try='test -s conftest$ac_exeext'
70417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70418 (eval $ac_try) 2>&5
70419 ac_status=$?
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); }; }; then
70422 glibcxx_cv_func___builtin_cosf_link=yes
70423 else
70424 echo "$as_me: failed program was:" >&5
70425 sed 's/^/| /' conftest.$ac_ext >&5
70427 glibcxx_cv_func___builtin_cosf_link=no
70429 rm -f conftest.err conftest.$ac_objext \
70430 conftest$ac_exeext conftest.$ac_ext
70435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
70436 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
70437 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
70438 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70440 cat >>confdefs.h <<_ACEOF
70441 #define ${ac_tr_func} 1
70442 _ACEOF
70448 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
70449 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
70450 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
70451 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
70452 echo $ECHO_N "(cached) $ECHO_C" >&6
70453 else
70457 ac_ext=cc
70458 ac_cpp='$CXXCPP $CPPFLAGS'
70459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70463 cat >conftest.$ac_ext <<_ACEOF
70464 /* confdefs.h. */
70465 _ACEOF
70466 cat confdefs.h >>conftest.$ac_ext
70467 cat >>conftest.$ac_ext <<_ACEOF
70468 /* end confdefs.h. */
70469 #include <math.h>
70471 main ()
70473 __builtin_cos(0);
70475 return 0;
70477 _ACEOF
70478 rm -f conftest.$ac_objext
70479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70480 (eval $ac_compile) 2>conftest.er1
70481 ac_status=$?
70482 grep -v '^ *+' conftest.er1 >conftest.err
70483 rm -f conftest.er1
70484 cat conftest.err >&5
70485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70486 (exit $ac_status); } &&
70487 { ac_try='test -z "$ac_cxx_werror_flag"
70488 || test ! -s conftest.err'
70489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70490 (eval $ac_try) 2>&5
70491 ac_status=$?
70492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70493 (exit $ac_status); }; } &&
70494 { ac_try='test -s conftest.$ac_objext'
70495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70496 (eval $ac_try) 2>&5
70497 ac_status=$?
70498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499 (exit $ac_status); }; }; then
70500 glibcxx_cv_func___builtin_cos_use=yes
70501 else
70502 echo "$as_me: failed program was:" >&5
70503 sed 's/^/| /' conftest.$ac_ext >&5
70505 glibcxx_cv_func___builtin_cos_use=no
70507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70508 ac_ext=c
70509 ac_cpp='$CPP $CPPFLAGS'
70510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
70519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
70520 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
70521 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
70522 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
70523 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
70524 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
70525 echo $ECHO_N "(cached) $ECHO_C" >&6
70526 else
70528 if test x$gcc_no_link = xyes; then
70529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70531 { (exit 1); exit 1; }; }
70533 cat >conftest.$ac_ext <<_ACEOF
70534 /* confdefs.h. */
70535 _ACEOF
70536 cat confdefs.h >>conftest.$ac_ext
70537 cat >>conftest.$ac_ext <<_ACEOF
70538 /* end confdefs.h. */
70539 #include <math.h>
70541 main ()
70543 __builtin_cos(0);
70545 return 0;
70547 _ACEOF
70548 rm -f conftest.$ac_objext conftest$ac_exeext
70549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70550 (eval $ac_link) 2>conftest.er1
70551 ac_status=$?
70552 grep -v '^ *+' conftest.er1 >conftest.err
70553 rm -f conftest.er1
70554 cat conftest.err >&5
70555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70556 (exit $ac_status); } &&
70557 { ac_try='test -z "$ac_c_werror_flag"
70558 || test ! -s conftest.err'
70559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70560 (eval $ac_try) 2>&5
70561 ac_status=$?
70562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70563 (exit $ac_status); }; } &&
70564 { ac_try='test -s conftest$ac_exeext'
70565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70566 (eval $ac_try) 2>&5
70567 ac_status=$?
70568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70569 (exit $ac_status); }; }; then
70570 glibcxx_cv_func___builtin_cos_link=yes
70571 else
70572 echo "$as_me: failed program was:" >&5
70573 sed 's/^/| /' conftest.$ac_ext >&5
70575 glibcxx_cv_func___builtin_cos_link=no
70577 rm -f conftest.err conftest.$ac_objext \
70578 conftest$ac_exeext conftest.$ac_ext
70583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
70584 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
70585 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
70586 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70588 cat >>confdefs.h <<_ACEOF
70589 #define ${ac_tr_func} 1
70590 _ACEOF
70596 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
70597 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
70598 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
70599 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
70600 echo $ECHO_N "(cached) $ECHO_C" >&6
70601 else
70605 ac_ext=cc
70606 ac_cpp='$CXXCPP $CPPFLAGS'
70607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70611 cat >conftest.$ac_ext <<_ACEOF
70612 /* confdefs.h. */
70613 _ACEOF
70614 cat confdefs.h >>conftest.$ac_ext
70615 cat >>conftest.$ac_ext <<_ACEOF
70616 /* end confdefs.h. */
70617 #include <math.h>
70619 main ()
70621 __builtin_cosl(0);
70623 return 0;
70625 _ACEOF
70626 rm -f conftest.$ac_objext
70627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70628 (eval $ac_compile) 2>conftest.er1
70629 ac_status=$?
70630 grep -v '^ *+' conftest.er1 >conftest.err
70631 rm -f conftest.er1
70632 cat conftest.err >&5
70633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70634 (exit $ac_status); } &&
70635 { ac_try='test -z "$ac_cxx_werror_flag"
70636 || test ! -s conftest.err'
70637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70638 (eval $ac_try) 2>&5
70639 ac_status=$?
70640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70641 (exit $ac_status); }; } &&
70642 { ac_try='test -s conftest.$ac_objext'
70643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70644 (eval $ac_try) 2>&5
70645 ac_status=$?
70646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70647 (exit $ac_status); }; }; then
70648 glibcxx_cv_func___builtin_cosl_use=yes
70649 else
70650 echo "$as_me: failed program was:" >&5
70651 sed 's/^/| /' conftest.$ac_ext >&5
70653 glibcxx_cv_func___builtin_cosl_use=no
70655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70656 ac_ext=c
70657 ac_cpp='$CPP $CPPFLAGS'
70658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
70667 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
70668 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
70669 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
70670 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
70671 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
70672 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
70673 echo $ECHO_N "(cached) $ECHO_C" >&6
70674 else
70676 if test x$gcc_no_link = xyes; then
70677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70679 { (exit 1); exit 1; }; }
70681 cat >conftest.$ac_ext <<_ACEOF
70682 /* confdefs.h. */
70683 _ACEOF
70684 cat confdefs.h >>conftest.$ac_ext
70685 cat >>conftest.$ac_ext <<_ACEOF
70686 /* end confdefs.h. */
70687 #include <math.h>
70689 main ()
70691 __builtin_cosl(0);
70693 return 0;
70695 _ACEOF
70696 rm -f conftest.$ac_objext conftest$ac_exeext
70697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70698 (eval $ac_link) 2>conftest.er1
70699 ac_status=$?
70700 grep -v '^ *+' conftest.er1 >conftest.err
70701 rm -f conftest.er1
70702 cat conftest.err >&5
70703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704 (exit $ac_status); } &&
70705 { ac_try='test -z "$ac_c_werror_flag"
70706 || test ! -s conftest.err'
70707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70708 (eval $ac_try) 2>&5
70709 ac_status=$?
70710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70711 (exit $ac_status); }; } &&
70712 { ac_try='test -s conftest$ac_exeext'
70713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70714 (eval $ac_try) 2>&5
70715 ac_status=$?
70716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70717 (exit $ac_status); }; }; then
70718 glibcxx_cv_func___builtin_cosl_link=yes
70719 else
70720 echo "$as_me: failed program was:" >&5
70721 sed 's/^/| /' conftest.$ac_ext >&5
70723 glibcxx_cv_func___builtin_cosl_link=no
70725 rm -f conftest.err conftest.$ac_objext \
70726 conftest$ac_exeext conftest.$ac_ext
70731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
70732 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
70733 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
70734 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70736 cat >>confdefs.h <<_ACEOF
70737 #define ${ac_tr_func} 1
70738 _ACEOF
70746 echo "$as_me:$LINENO: checking for main in -lm" >&5
70747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
70748 if test "${ac_cv_lib_m_main+set}" = set; then
70749 echo $ECHO_N "(cached) $ECHO_C" >&6
70750 else
70751 ac_check_lib_save_LIBS=$LIBS
70752 LIBS="-lm $LIBS"
70753 if test x$gcc_no_link = xyes; then
70754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70756 { (exit 1); exit 1; }; }
70758 cat >conftest.$ac_ext <<_ACEOF
70759 /* confdefs.h. */
70760 _ACEOF
70761 cat confdefs.h >>conftest.$ac_ext
70762 cat >>conftest.$ac_ext <<_ACEOF
70763 /* end confdefs.h. */
70767 main ()
70769 main ();
70771 return 0;
70773 _ACEOF
70774 rm -f conftest.$ac_objext conftest$ac_exeext
70775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70776 (eval $ac_link) 2>conftest.er1
70777 ac_status=$?
70778 grep -v '^ *+' conftest.er1 >conftest.err
70779 rm -f conftest.er1
70780 cat conftest.err >&5
70781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70782 (exit $ac_status); } &&
70783 { ac_try='test -z "$ac_c_werror_flag"
70784 || test ! -s conftest.err'
70785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70786 (eval $ac_try) 2>&5
70787 ac_status=$?
70788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789 (exit $ac_status); }; } &&
70790 { ac_try='test -s conftest$ac_exeext'
70791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70792 (eval $ac_try) 2>&5
70793 ac_status=$?
70794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70795 (exit $ac_status); }; }; then
70796 ac_cv_lib_m_main=yes
70797 else
70798 echo "$as_me: failed program was:" >&5
70799 sed 's/^/| /' conftest.$ac_ext >&5
70801 ac_cv_lib_m_main=no
70803 rm -f conftest.err conftest.$ac_objext \
70804 conftest$ac_exeext conftest.$ac_ext
70805 LIBS=$ac_check_lib_save_LIBS
70807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
70808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
70809 if test $ac_cv_lib_m_main = yes; then
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE_LIBM 1
70812 _ACEOF
70814 LIBS="-lm $LIBS"
70819 for ac_func in copysignf
70821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70822 echo "$as_me:$LINENO: checking for $ac_func" >&5
70823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70824 if eval "test \"\${$as_ac_var+set}\" = set"; then
70825 echo $ECHO_N "(cached) $ECHO_C" >&6
70826 else
70827 if test x$gcc_no_link = xyes; then
70828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70830 { (exit 1); exit 1; }; }
70832 cat >conftest.$ac_ext <<_ACEOF
70833 /* confdefs.h. */
70834 _ACEOF
70835 cat confdefs.h >>conftest.$ac_ext
70836 cat >>conftest.$ac_ext <<_ACEOF
70837 /* end confdefs.h. */
70838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70840 #define $ac_func innocuous_$ac_func
70842 /* System header to define __stub macros and hopefully few prototypes,
70843 which can conflict with char $ac_func (); below.
70844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70845 <limits.h> exists even on freestanding compilers. */
70847 #ifdef __STDC__
70848 # include <limits.h>
70849 #else
70850 # include <assert.h>
70851 #endif
70853 #undef $ac_func
70855 /* Override any gcc2 internal prototype to avoid an error. */
70856 #ifdef __cplusplus
70857 extern "C"
70859 #endif
70860 /* We use char because int might match the return type of a gcc2
70861 builtin and then its argument prototype would still apply. */
70862 char $ac_func ();
70863 /* The GNU C library defines this for functions which it implements
70864 to always fail with ENOSYS. Some functions are actually named
70865 something starting with __ and the normal name is an alias. */
70866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70867 choke me
70868 #else
70869 char (*f) () = $ac_func;
70870 #endif
70871 #ifdef __cplusplus
70873 #endif
70876 main ()
70878 return f != $ac_func;
70880 return 0;
70882 _ACEOF
70883 rm -f conftest.$ac_objext conftest$ac_exeext
70884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70885 (eval $ac_link) 2>conftest.er1
70886 ac_status=$?
70887 grep -v '^ *+' conftest.er1 >conftest.err
70888 rm -f conftest.er1
70889 cat conftest.err >&5
70890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891 (exit $ac_status); } &&
70892 { ac_try='test -z "$ac_c_werror_flag"
70893 || test ! -s conftest.err'
70894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70895 (eval $ac_try) 2>&5
70896 ac_status=$?
70897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70898 (exit $ac_status); }; } &&
70899 { ac_try='test -s conftest$ac_exeext'
70900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70901 (eval $ac_try) 2>&5
70902 ac_status=$?
70903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70904 (exit $ac_status); }; }; then
70905 eval "$as_ac_var=yes"
70906 else
70907 echo "$as_me: failed program was:" >&5
70908 sed 's/^/| /' conftest.$ac_ext >&5
70910 eval "$as_ac_var=no"
70912 rm -f conftest.err conftest.$ac_objext \
70913 conftest$ac_exeext conftest.$ac_ext
70915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70917 if test `eval echo '${'$as_ac_var'}'` = yes; then
70918 cat >>confdefs.h <<_ACEOF
70919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70920 _ACEOF
70922 else
70923 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
70925 done
70929 for ac_func in __signbit
70931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70932 echo "$as_me:$LINENO: checking for $ac_func" >&5
70933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70934 if eval "test \"\${$as_ac_var+set}\" = set"; then
70935 echo $ECHO_N "(cached) $ECHO_C" >&6
70936 else
70937 if test x$gcc_no_link = xyes; then
70938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70940 { (exit 1); exit 1; }; }
70942 cat >conftest.$ac_ext <<_ACEOF
70943 /* confdefs.h. */
70944 _ACEOF
70945 cat confdefs.h >>conftest.$ac_ext
70946 cat >>conftest.$ac_ext <<_ACEOF
70947 /* end confdefs.h. */
70948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70950 #define $ac_func innocuous_$ac_func
70952 /* System header to define __stub macros and hopefully few prototypes,
70953 which can conflict with char $ac_func (); below.
70954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70955 <limits.h> exists even on freestanding compilers. */
70957 #ifdef __STDC__
70958 # include <limits.h>
70959 #else
70960 # include <assert.h>
70961 #endif
70963 #undef $ac_func
70965 /* Override any gcc2 internal prototype to avoid an error. */
70966 #ifdef __cplusplus
70967 extern "C"
70969 #endif
70970 /* We use char because int might match the return type of a gcc2
70971 builtin and then its argument prototype would still apply. */
70972 char $ac_func ();
70973 /* The GNU C library defines this for functions which it implements
70974 to always fail with ENOSYS. Some functions are actually named
70975 something starting with __ and the normal name is an alias. */
70976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70977 choke me
70978 #else
70979 char (*f) () = $ac_func;
70980 #endif
70981 #ifdef __cplusplus
70983 #endif
70986 main ()
70988 return f != $ac_func;
70990 return 0;
70992 _ACEOF
70993 rm -f conftest.$ac_objext conftest$ac_exeext
70994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70995 (eval $ac_link) 2>conftest.er1
70996 ac_status=$?
70997 grep -v '^ *+' conftest.er1 >conftest.err
70998 rm -f conftest.er1
70999 cat conftest.err >&5
71000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71001 (exit $ac_status); } &&
71002 { ac_try='test -z "$ac_c_werror_flag"
71003 || test ! -s conftest.err'
71004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71005 (eval $ac_try) 2>&5
71006 ac_status=$?
71007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71008 (exit $ac_status); }; } &&
71009 { ac_try='test -s conftest$ac_exeext'
71010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011 (eval $ac_try) 2>&5
71012 ac_status=$?
71013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014 (exit $ac_status); }; }; then
71015 eval "$as_ac_var=yes"
71016 else
71017 echo "$as_me: failed program was:" >&5
71018 sed 's/^/| /' conftest.$ac_ext >&5
71020 eval "$as_ac_var=no"
71022 rm -f conftest.err conftest.$ac_objext \
71023 conftest$ac_exeext conftest.$ac_ext
71025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71027 if test `eval echo '${'$as_ac_var'}'` = yes; then
71028 cat >>confdefs.h <<_ACEOF
71029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71030 _ACEOF
71032 else
71033 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
71035 done
71039 for ac_func in __signbitf
71041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71042 echo "$as_me:$LINENO: checking for $ac_func" >&5
71043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71044 if eval "test \"\${$as_ac_var+set}\" = set"; then
71045 echo $ECHO_N "(cached) $ECHO_C" >&6
71046 else
71047 if test x$gcc_no_link = xyes; then
71048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71050 { (exit 1); exit 1; }; }
71052 cat >conftest.$ac_ext <<_ACEOF
71053 /* confdefs.h. */
71054 _ACEOF
71055 cat confdefs.h >>conftest.$ac_ext
71056 cat >>conftest.$ac_ext <<_ACEOF
71057 /* end confdefs.h. */
71058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71060 #define $ac_func innocuous_$ac_func
71062 /* System header to define __stub macros and hopefully few prototypes,
71063 which can conflict with char $ac_func (); below.
71064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71065 <limits.h> exists even on freestanding compilers. */
71067 #ifdef __STDC__
71068 # include <limits.h>
71069 #else
71070 # include <assert.h>
71071 #endif
71073 #undef $ac_func
71075 /* Override any gcc2 internal prototype to avoid an error. */
71076 #ifdef __cplusplus
71077 extern "C"
71079 #endif
71080 /* We use char because int might match the return type of a gcc2
71081 builtin and then its argument prototype would still apply. */
71082 char $ac_func ();
71083 /* The GNU C library defines this for functions which it implements
71084 to always fail with ENOSYS. Some functions are actually named
71085 something starting with __ and the normal name is an alias. */
71086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71087 choke me
71088 #else
71089 char (*f) () = $ac_func;
71090 #endif
71091 #ifdef __cplusplus
71093 #endif
71096 main ()
71098 return f != $ac_func;
71100 return 0;
71102 _ACEOF
71103 rm -f conftest.$ac_objext conftest$ac_exeext
71104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71105 (eval $ac_link) 2>conftest.er1
71106 ac_status=$?
71107 grep -v '^ *+' conftest.er1 >conftest.err
71108 rm -f conftest.er1
71109 cat conftest.err >&5
71110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71111 (exit $ac_status); } &&
71112 { ac_try='test -z "$ac_c_werror_flag"
71113 || test ! -s conftest.err'
71114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71115 (eval $ac_try) 2>&5
71116 ac_status=$?
71117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71118 (exit $ac_status); }; } &&
71119 { ac_try='test -s conftest$ac_exeext'
71120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71121 (eval $ac_try) 2>&5
71122 ac_status=$?
71123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71124 (exit $ac_status); }; }; then
71125 eval "$as_ac_var=yes"
71126 else
71127 echo "$as_me: failed program was:" >&5
71128 sed 's/^/| /' conftest.$ac_ext >&5
71130 eval "$as_ac_var=no"
71132 rm -f conftest.err conftest.$ac_objext \
71133 conftest$ac_exeext conftest.$ac_ext
71135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71137 if test `eval echo '${'$as_ac_var'}'` = yes; then
71138 cat >>confdefs.h <<_ACEOF
71139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71140 _ACEOF
71142 else
71143 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
71145 done
71148 if test x$ac_cv_func_copysignl = x"yes"; then
71150 for ac_func in __signbitl
71152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71153 echo "$as_me:$LINENO: checking for $ac_func" >&5
71154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71155 if eval "test \"\${$as_ac_var+set}\" = set"; then
71156 echo $ECHO_N "(cached) $ECHO_C" >&6
71157 else
71158 if test x$gcc_no_link = xyes; then
71159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71161 { (exit 1); exit 1; }; }
71163 cat >conftest.$ac_ext <<_ACEOF
71164 /* confdefs.h. */
71165 _ACEOF
71166 cat confdefs.h >>conftest.$ac_ext
71167 cat >>conftest.$ac_ext <<_ACEOF
71168 /* end confdefs.h. */
71169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71171 #define $ac_func innocuous_$ac_func
71173 /* System header to define __stub macros and hopefully few prototypes,
71174 which can conflict with char $ac_func (); below.
71175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71176 <limits.h> exists even on freestanding compilers. */
71178 #ifdef __STDC__
71179 # include <limits.h>
71180 #else
71181 # include <assert.h>
71182 #endif
71184 #undef $ac_func
71186 /* Override any gcc2 internal prototype to avoid an error. */
71187 #ifdef __cplusplus
71188 extern "C"
71190 #endif
71191 /* We use char because int might match the return type of a gcc2
71192 builtin and then its argument prototype would still apply. */
71193 char $ac_func ();
71194 /* The GNU C library defines this for functions which it implements
71195 to always fail with ENOSYS. Some functions are actually named
71196 something starting with __ and the normal name is an alias. */
71197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71198 choke me
71199 #else
71200 char (*f) () = $ac_func;
71201 #endif
71202 #ifdef __cplusplus
71204 #endif
71207 main ()
71209 return f != $ac_func;
71211 return 0;
71213 _ACEOF
71214 rm -f conftest.$ac_objext conftest$ac_exeext
71215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71216 (eval $ac_link) 2>conftest.er1
71217 ac_status=$?
71218 grep -v '^ *+' conftest.er1 >conftest.err
71219 rm -f conftest.er1
71220 cat conftest.err >&5
71221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71222 (exit $ac_status); } &&
71223 { ac_try='test -z "$ac_c_werror_flag"
71224 || test ! -s conftest.err'
71225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71226 (eval $ac_try) 2>&5
71227 ac_status=$?
71228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71229 (exit $ac_status); }; } &&
71230 { ac_try='test -s conftest$ac_exeext'
71231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71232 (eval $ac_try) 2>&5
71233 ac_status=$?
71234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71235 (exit $ac_status); }; }; then
71236 eval "$as_ac_var=yes"
71237 else
71238 echo "$as_me: failed program was:" >&5
71239 sed 's/^/| /' conftest.$ac_ext >&5
71241 eval "$as_ac_var=no"
71243 rm -f conftest.err conftest.$ac_objext \
71244 conftest$ac_exeext conftest.$ac_ext
71246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71248 if test `eval echo '${'$as_ac_var'}'` = yes; then
71249 cat >>confdefs.h <<_ACEOF
71250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71251 _ACEOF
71253 else
71254 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
71256 done
71260 # Used in libmath/Makefile.am.
71261 if test -n "$LIBMATHOBJS"; then
71262 need_libmath=yes
71268 enable_iconv=no
71269 # Only continue checking if the ISO C99 headers exist and support is on.
71270 if test x"$enable_wchar_t" = xyes; then
71272 # Use iconv for wchar_t to char conversions. As such, check for
71273 # X/Open Portability Guide, version 2 features (XPG2).
71274 if test "${ac_cv_header_iconv_h+set}" = set; then
71275 echo "$as_me:$LINENO: checking for iconv.h" >&5
71276 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71277 if test "${ac_cv_header_iconv_h+set}" = set; then
71278 echo $ECHO_N "(cached) $ECHO_C" >&6
71280 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71281 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71282 else
71283 # Is the header compilable?
71284 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71285 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71286 cat >conftest.$ac_ext <<_ACEOF
71287 /* confdefs.h. */
71288 _ACEOF
71289 cat confdefs.h >>conftest.$ac_ext
71290 cat >>conftest.$ac_ext <<_ACEOF
71291 /* end confdefs.h. */
71292 $ac_includes_default
71293 #include <iconv.h>
71294 _ACEOF
71295 rm -f conftest.$ac_objext
71296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71297 (eval $ac_compile) 2>conftest.er1
71298 ac_status=$?
71299 grep -v '^ *+' conftest.er1 >conftest.err
71300 rm -f conftest.er1
71301 cat conftest.err >&5
71302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71303 (exit $ac_status); } &&
71304 { ac_try='test -z "$ac_c_werror_flag"
71305 || test ! -s conftest.err'
71306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71307 (eval $ac_try) 2>&5
71308 ac_status=$?
71309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71310 (exit $ac_status); }; } &&
71311 { ac_try='test -s conftest.$ac_objext'
71312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71313 (eval $ac_try) 2>&5
71314 ac_status=$?
71315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71316 (exit $ac_status); }; }; then
71317 ac_header_compiler=yes
71318 else
71319 echo "$as_me: failed program was:" >&5
71320 sed 's/^/| /' conftest.$ac_ext >&5
71322 ac_header_compiler=no
71324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71326 echo "${ECHO_T}$ac_header_compiler" >&6
71328 # Is the header present?
71329 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71330 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71331 cat >conftest.$ac_ext <<_ACEOF
71332 /* confdefs.h. */
71333 _ACEOF
71334 cat confdefs.h >>conftest.$ac_ext
71335 cat >>conftest.$ac_ext <<_ACEOF
71336 /* end confdefs.h. */
71337 #include <iconv.h>
71338 _ACEOF
71339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71341 ac_status=$?
71342 grep -v '^ *+' conftest.er1 >conftest.err
71343 rm -f conftest.er1
71344 cat conftest.err >&5
71345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71346 (exit $ac_status); } >/dev/null; then
71347 if test -s conftest.err; then
71348 ac_cpp_err=$ac_c_preproc_warn_flag
71349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71350 else
71351 ac_cpp_err=
71353 else
71354 ac_cpp_err=yes
71356 if test -z "$ac_cpp_err"; then
71357 ac_header_preproc=yes
71358 else
71359 echo "$as_me: failed program was:" >&5
71360 sed 's/^/| /' conftest.$ac_ext >&5
71362 ac_header_preproc=no
71364 rm -f conftest.err conftest.$ac_ext
71365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71366 echo "${ECHO_T}$ac_header_preproc" >&6
71368 # So? What about this header?
71369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71370 yes:no: )
71371 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71372 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71373 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
71374 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
71375 ac_header_preproc=yes
71377 no:yes:* )
71378 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71379 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71380 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71381 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71382 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
71383 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
71384 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
71385 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
71386 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71387 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71388 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
71389 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
71391 cat <<\_ASBOX
71392 ## ----------------------------------------- ##
71393 ## Report this to the package-unused lists. ##
71394 ## ----------------------------------------- ##
71395 _ASBOX
71397 sed "s/^/$as_me: WARNING: /" >&2
71399 esac
71400 echo "$as_me:$LINENO: checking for iconv.h" >&5
71401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71402 if test "${ac_cv_header_iconv_h+set}" = set; then
71403 echo $ECHO_N "(cached) $ECHO_C" >&6
71404 else
71405 ac_cv_header_iconv_h=$ac_header_preproc
71407 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71408 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71411 if test $ac_cv_header_iconv_h = yes; then
71412 ac_has_iconv_h=yes
71413 else
71414 ac_has_iconv_h=no
71418 if test "${ac_cv_header_langinfo_h+set}" = set; then
71419 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71420 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71421 if test "${ac_cv_header_langinfo_h+set}" = set; then
71422 echo $ECHO_N "(cached) $ECHO_C" >&6
71424 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71425 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71426 else
71427 # Is the header compilable?
71428 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71429 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71430 cat >conftest.$ac_ext <<_ACEOF
71431 /* confdefs.h. */
71432 _ACEOF
71433 cat confdefs.h >>conftest.$ac_ext
71434 cat >>conftest.$ac_ext <<_ACEOF
71435 /* end confdefs.h. */
71436 $ac_includes_default
71437 #include <langinfo.h>
71438 _ACEOF
71439 rm -f conftest.$ac_objext
71440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71441 (eval $ac_compile) 2>conftest.er1
71442 ac_status=$?
71443 grep -v '^ *+' conftest.er1 >conftest.err
71444 rm -f conftest.er1
71445 cat conftest.err >&5
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); } &&
71448 { ac_try='test -z "$ac_c_werror_flag"
71449 || test ! -s conftest.err'
71450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71451 (eval $ac_try) 2>&5
71452 ac_status=$?
71453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71454 (exit $ac_status); }; } &&
71455 { ac_try='test -s conftest.$ac_objext'
71456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457 (eval $ac_try) 2>&5
71458 ac_status=$?
71459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460 (exit $ac_status); }; }; then
71461 ac_header_compiler=yes
71462 else
71463 echo "$as_me: failed program was:" >&5
71464 sed 's/^/| /' conftest.$ac_ext >&5
71466 ac_header_compiler=no
71468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71470 echo "${ECHO_T}$ac_header_compiler" >&6
71472 # Is the header present?
71473 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71474 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71475 cat >conftest.$ac_ext <<_ACEOF
71476 /* confdefs.h. */
71477 _ACEOF
71478 cat confdefs.h >>conftest.$ac_ext
71479 cat >>conftest.$ac_ext <<_ACEOF
71480 /* end confdefs.h. */
71481 #include <langinfo.h>
71482 _ACEOF
71483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71485 ac_status=$?
71486 grep -v '^ *+' conftest.er1 >conftest.err
71487 rm -f conftest.er1
71488 cat conftest.err >&5
71489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71490 (exit $ac_status); } >/dev/null; then
71491 if test -s conftest.err; then
71492 ac_cpp_err=$ac_c_preproc_warn_flag
71493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71494 else
71495 ac_cpp_err=
71497 else
71498 ac_cpp_err=yes
71500 if test -z "$ac_cpp_err"; then
71501 ac_header_preproc=yes
71502 else
71503 echo "$as_me: failed program was:" >&5
71504 sed 's/^/| /' conftest.$ac_ext >&5
71506 ac_header_preproc=no
71508 rm -f conftest.err conftest.$ac_ext
71509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71510 echo "${ECHO_T}$ac_header_preproc" >&6
71512 # So? What about this header?
71513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71514 yes:no: )
71515 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71516 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71517 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
71518 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
71519 ac_header_preproc=yes
71521 no:yes:* )
71522 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71523 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71524 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71525 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71526 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
71527 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
71528 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
71529 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
71530 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71531 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71532 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
71533 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
71535 cat <<\_ASBOX
71536 ## ----------------------------------------- ##
71537 ## Report this to the package-unused lists. ##
71538 ## ----------------------------------------- ##
71539 _ASBOX
71541 sed "s/^/$as_me: WARNING: /" >&2
71543 esac
71544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71546 if test "${ac_cv_header_langinfo_h+set}" = set; then
71547 echo $ECHO_N "(cached) $ECHO_C" >&6
71548 else
71549 ac_cv_header_langinfo_h=$ac_header_preproc
71551 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71552 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71555 if test $ac_cv_header_langinfo_h = yes; then
71556 ac_has_langinfo_h=yes
71557 else
71558 ac_has_langinfo_h=no
71563 # Check for existence of libiconv.a providing XPG2 wchar_t support.
71564 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71565 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71566 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71567 echo $ECHO_N "(cached) $ECHO_C" >&6
71568 else
71569 ac_check_lib_save_LIBS=$LIBS
71570 LIBS="-liconv $LIBS"
71571 if test x$gcc_no_link = xyes; then
71572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71574 { (exit 1); exit 1; }; }
71576 cat >conftest.$ac_ext <<_ACEOF
71577 /* confdefs.h. */
71578 _ACEOF
71579 cat confdefs.h >>conftest.$ac_ext
71580 cat >>conftest.$ac_ext <<_ACEOF
71581 /* end confdefs.h. */
71583 /* Override any gcc2 internal prototype to avoid an error. */
71584 #ifdef __cplusplus
71585 extern "C"
71586 #endif
71587 /* We use char because int might match the return type of a gcc2
71588 builtin and then its argument prototype would still apply. */
71589 char iconv ();
71591 main ()
71593 iconv ();
71595 return 0;
71597 _ACEOF
71598 rm -f conftest.$ac_objext conftest$ac_exeext
71599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71600 (eval $ac_link) 2>conftest.er1
71601 ac_status=$?
71602 grep -v '^ *+' conftest.er1 >conftest.err
71603 rm -f conftest.er1
71604 cat conftest.err >&5
71605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71606 (exit $ac_status); } &&
71607 { ac_try='test -z "$ac_c_werror_flag"
71608 || test ! -s conftest.err'
71609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71610 (eval $ac_try) 2>&5
71611 ac_status=$?
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); }; } &&
71614 { ac_try='test -s conftest$ac_exeext'
71615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71616 (eval $ac_try) 2>&5
71617 ac_status=$?
71618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619 (exit $ac_status); }; }; then
71620 ac_cv_lib_iconv_iconv=yes
71621 else
71622 echo "$as_me: failed program was:" >&5
71623 sed 's/^/| /' conftest.$ac_ext >&5
71625 ac_cv_lib_iconv_iconv=no
71627 rm -f conftest.err conftest.$ac_objext \
71628 conftest$ac_exeext conftest.$ac_ext
71629 LIBS=$ac_check_lib_save_LIBS
71631 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71632 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71633 if test $ac_cv_lib_iconv_iconv = yes; then
71634 LIBICONV="-liconv"
71637 ac_save_LIBS="$LIBS"
71638 LIBS="$LIBS $LIBICONV"
71645 for ac_func in iconv_open iconv_close iconv nl_langinfo
71647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71648 echo "$as_me:$LINENO: checking for $ac_func" >&5
71649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71650 if eval "test \"\${$as_ac_var+set}\" = set"; then
71651 echo $ECHO_N "(cached) $ECHO_C" >&6
71652 else
71653 if test x$gcc_no_link = xyes; then
71654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71656 { (exit 1); exit 1; }; }
71658 cat >conftest.$ac_ext <<_ACEOF
71659 /* confdefs.h. */
71660 _ACEOF
71661 cat confdefs.h >>conftest.$ac_ext
71662 cat >>conftest.$ac_ext <<_ACEOF
71663 /* end confdefs.h. */
71664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71666 #define $ac_func innocuous_$ac_func
71668 /* System header to define __stub macros and hopefully few prototypes,
71669 which can conflict with char $ac_func (); below.
71670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71671 <limits.h> exists even on freestanding compilers. */
71673 #ifdef __STDC__
71674 # include <limits.h>
71675 #else
71676 # include <assert.h>
71677 #endif
71679 #undef $ac_func
71681 /* Override any gcc2 internal prototype to avoid an error. */
71682 #ifdef __cplusplus
71683 extern "C"
71685 #endif
71686 /* We use char because int might match the return type of a gcc2
71687 builtin and then its argument prototype would still apply. */
71688 char $ac_func ();
71689 /* The GNU C library defines this for functions which it implements
71690 to always fail with ENOSYS. Some functions are actually named
71691 something starting with __ and the normal name is an alias. */
71692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71693 choke me
71694 #else
71695 char (*f) () = $ac_func;
71696 #endif
71697 #ifdef __cplusplus
71699 #endif
71702 main ()
71704 return f != $ac_func;
71706 return 0;
71708 _ACEOF
71709 rm -f conftest.$ac_objext conftest$ac_exeext
71710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71711 (eval $ac_link) 2>conftest.er1
71712 ac_status=$?
71713 grep -v '^ *+' conftest.er1 >conftest.err
71714 rm -f conftest.er1
71715 cat conftest.err >&5
71716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71717 (exit $ac_status); } &&
71718 { ac_try='test -z "$ac_c_werror_flag"
71719 || test ! -s conftest.err'
71720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71721 (eval $ac_try) 2>&5
71722 ac_status=$?
71723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71724 (exit $ac_status); }; } &&
71725 { ac_try='test -s conftest$ac_exeext'
71726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71727 (eval $ac_try) 2>&5
71728 ac_status=$?
71729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71730 (exit $ac_status); }; }; then
71731 eval "$as_ac_var=yes"
71732 else
71733 echo "$as_me: failed program was:" >&5
71734 sed 's/^/| /' conftest.$ac_ext >&5
71736 eval "$as_ac_var=no"
71738 rm -f conftest.err conftest.$ac_objext \
71739 conftest$ac_exeext conftest.$ac_ext
71741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71743 if test `eval echo '${'$as_ac_var'}'` = yes; then
71744 cat >>confdefs.h <<_ACEOF
71745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71746 _ACEOF
71747 ac_XPG2funcs=yes
71748 else
71749 ac_XPG2funcs=no
71751 done
71754 LIBS="$ac_save_LIBS"
71756 if test x"$ac_has_iconv_h" = xyes &&
71757 test x"$ac_has_langinfo_h" = xyes &&
71758 test x"$ac_XPG2funcs" = xyes;
71759 then
71761 cat >>confdefs.h <<\_ACEOF
71762 #define _GLIBCXX_USE_ICONV 1
71763 _ACEOF
71765 enable_iconv=yes
71768 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
71769 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
71770 echo "$as_me:$LINENO: result: $enable_iconv" >&5
71771 echo "${ECHO_T}$enable_iconv" >&6
71774 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71775 ac_save_CXXFLAGS="$CXXFLAGS"
71776 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71779 echo "$as_me:$LINENO: checking for strtold declaration" >&5
71780 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
71781 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71782 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
71783 echo $ECHO_N "(cached) $ECHO_C" >&6
71784 else
71788 ac_ext=cc
71789 ac_cpp='$CXXCPP $CPPFLAGS'
71790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71794 cat >conftest.$ac_ext <<_ACEOF
71795 /* confdefs.h. */
71796 _ACEOF
71797 cat confdefs.h >>conftest.$ac_ext
71798 cat >>conftest.$ac_ext <<_ACEOF
71799 /* end confdefs.h. */
71800 #include <stdlib.h>
71802 main ()
71804 strtold(0, 0);
71806 return 0;
71808 _ACEOF
71809 rm -f conftest.$ac_objext
71810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71811 (eval $ac_compile) 2>conftest.er1
71812 ac_status=$?
71813 grep -v '^ *+' conftest.er1 >conftest.err
71814 rm -f conftest.er1
71815 cat conftest.err >&5
71816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71817 (exit $ac_status); } &&
71818 { ac_try='test -z "$ac_cxx_werror_flag"
71819 || test ! -s conftest.err'
71820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71821 (eval $ac_try) 2>&5
71822 ac_status=$?
71823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71824 (exit $ac_status); }; } &&
71825 { ac_try='test -s conftest.$ac_objext'
71826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71827 (eval $ac_try) 2>&5
71828 ac_status=$?
71829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71830 (exit $ac_status); }; }; then
71831 glibcxx_cv_func_strtold_use=yes
71832 else
71833 echo "$as_me: failed program was:" >&5
71834 sed 's/^/| /' conftest.$ac_ext >&5
71836 glibcxx_cv_func_strtold_use=no
71838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71839 ac_ext=c
71840 ac_cpp='$CPP $CPPFLAGS'
71841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
71850 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
71851 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71853 for ac_func in strtold
71855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71856 echo "$as_me:$LINENO: checking for $ac_func" >&5
71857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71858 if eval "test \"\${$as_ac_var+set}\" = set"; then
71859 echo $ECHO_N "(cached) $ECHO_C" >&6
71860 else
71861 if test x$gcc_no_link = xyes; then
71862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71864 { (exit 1); exit 1; }; }
71866 cat >conftest.$ac_ext <<_ACEOF
71867 /* confdefs.h. */
71868 _ACEOF
71869 cat confdefs.h >>conftest.$ac_ext
71870 cat >>conftest.$ac_ext <<_ACEOF
71871 /* end confdefs.h. */
71872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71874 #define $ac_func innocuous_$ac_func
71876 /* System header to define __stub macros and hopefully few prototypes,
71877 which can conflict with char $ac_func (); below.
71878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71879 <limits.h> exists even on freestanding compilers. */
71881 #ifdef __STDC__
71882 # include <limits.h>
71883 #else
71884 # include <assert.h>
71885 #endif
71887 #undef $ac_func
71889 /* Override any gcc2 internal prototype to avoid an error. */
71890 #ifdef __cplusplus
71891 extern "C"
71893 #endif
71894 /* We use char because int might match the return type of a gcc2
71895 builtin and then its argument prototype would still apply. */
71896 char $ac_func ();
71897 /* The GNU C library defines this for functions which it implements
71898 to always fail with ENOSYS. Some functions are actually named
71899 something starting with __ and the normal name is an alias. */
71900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71901 choke me
71902 #else
71903 char (*f) () = $ac_func;
71904 #endif
71905 #ifdef __cplusplus
71907 #endif
71910 main ()
71912 return f != $ac_func;
71914 return 0;
71916 _ACEOF
71917 rm -f conftest.$ac_objext conftest$ac_exeext
71918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71919 (eval $ac_link) 2>conftest.er1
71920 ac_status=$?
71921 grep -v '^ *+' conftest.er1 >conftest.err
71922 rm -f conftest.er1
71923 cat conftest.err >&5
71924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925 (exit $ac_status); } &&
71926 { ac_try='test -z "$ac_c_werror_flag"
71927 || test ! -s conftest.err'
71928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71929 (eval $ac_try) 2>&5
71930 ac_status=$?
71931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932 (exit $ac_status); }; } &&
71933 { ac_try='test -s conftest$ac_exeext'
71934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71935 (eval $ac_try) 2>&5
71936 ac_status=$?
71937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71938 (exit $ac_status); }; }; then
71939 eval "$as_ac_var=yes"
71940 else
71941 echo "$as_me: failed program was:" >&5
71942 sed 's/^/| /' conftest.$ac_ext >&5
71944 eval "$as_ac_var=no"
71946 rm -f conftest.err conftest.$ac_objext \
71947 conftest$ac_exeext conftest.$ac_ext
71949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71951 if test `eval echo '${'$as_ac_var'}'` = yes; then
71952 cat >>confdefs.h <<_ACEOF
71953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71954 _ACEOF
71957 done
71962 echo "$as_me:$LINENO: checking for strtof declaration" >&5
71963 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
71964 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71965 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
71966 echo $ECHO_N "(cached) $ECHO_C" >&6
71967 else
71971 ac_ext=cc
71972 ac_cpp='$CXXCPP $CPPFLAGS'
71973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71977 cat >conftest.$ac_ext <<_ACEOF
71978 /* confdefs.h. */
71979 _ACEOF
71980 cat confdefs.h >>conftest.$ac_ext
71981 cat >>conftest.$ac_ext <<_ACEOF
71982 /* end confdefs.h. */
71983 #include <stdlib.h>
71985 main ()
71987 strtof(0, 0);
71989 return 0;
71991 _ACEOF
71992 rm -f conftest.$ac_objext
71993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71994 (eval $ac_compile) 2>conftest.er1
71995 ac_status=$?
71996 grep -v '^ *+' conftest.er1 >conftest.err
71997 rm -f conftest.er1
71998 cat conftest.err >&5
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); } &&
72001 { ac_try='test -z "$ac_cxx_werror_flag"
72002 || test ! -s conftest.err'
72003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004 (eval $ac_try) 2>&5
72005 ac_status=$?
72006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007 (exit $ac_status); }; } &&
72008 { ac_try='test -s conftest.$ac_objext'
72009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72010 (eval $ac_try) 2>&5
72011 ac_status=$?
72012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72013 (exit $ac_status); }; }; then
72014 glibcxx_cv_func_strtof_use=yes
72015 else
72016 echo "$as_me: failed program was:" >&5
72017 sed 's/^/| /' conftest.$ac_ext >&5
72019 glibcxx_cv_func_strtof_use=no
72021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72022 ac_ext=c
72023 ac_cpp='$CPP $CPPFLAGS'
72024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
72033 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
72034 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72036 for ac_func in strtof
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042 echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044 if test x$gcc_no_link = xyes; then
72045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047 { (exit 1); exit 1; }; }
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72057 #define $ac_func innocuous_$ac_func
72059 /* System header to define __stub macros and hopefully few prototypes,
72060 which can conflict with char $ac_func (); below.
72061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062 <limits.h> exists even on freestanding compilers. */
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72070 #undef $ac_func
72072 /* Override any gcc2 internal prototype to avoid an error. */
72073 #ifdef __cplusplus
72074 extern "C"
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078 builtin and then its argument prototype would still apply. */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081 to always fail with ENOSYS. Some functions are actually named
72082 something starting with __ and the normal name is an alias. */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72090 #endif
72093 main ()
72095 return f != $ac_func;
72097 return 0;
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102 (eval $ac_link) 2>conftest.er1
72103 ac_status=$?
72104 grep -v '^ *+' conftest.er1 >conftest.err
72105 rm -f conftest.er1
72106 cat conftest.err >&5
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); } &&
72109 { ac_try='test -z "$ac_c_werror_flag"
72110 || test ! -s conftest.err'
72111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112 (eval $ac_try) 2>&5
72113 ac_status=$?
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); }; } &&
72116 { ac_try='test -s conftest$ac_exeext'
72117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118 (eval $ac_try) 2>&5
72119 ac_status=$?
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); }; }; then
72122 eval "$as_ac_var=yes"
72123 else
72124 echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72127 eval "$as_ac_var=no"
72129 rm -f conftest.err conftest.$ac_objext \
72130 conftest$ac_exeext conftest.$ac_ext
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135 cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72140 done
72145 CXXFLAGS="$ac_save_CXXFLAGS"
72148 if test "${glibcxx_cv_S_ISREG+set}" = set; then
72149 echo $ECHO_N "(cached) $ECHO_C" >&6
72150 else
72152 if test x$gcc_no_link = xyes; then
72153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72155 { (exit 1); exit 1; }; }
72157 cat >conftest.$ac_ext <<_ACEOF
72158 /* confdefs.h. */
72159 _ACEOF
72160 cat confdefs.h >>conftest.$ac_ext
72161 cat >>conftest.$ac_ext <<_ACEOF
72162 /* end confdefs.h. */
72163 #include <sys/stat.h>
72165 main ()
72167 struct stat buffer;
72168 fstat(0, &buffer);
72169 S_ISREG(buffer.st_mode);
72171 return 0;
72173 _ACEOF
72174 rm -f conftest.$ac_objext conftest$ac_exeext
72175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72176 (eval $ac_link) 2>conftest.er1
72177 ac_status=$?
72178 grep -v '^ *+' conftest.er1 >conftest.err
72179 rm -f conftest.er1
72180 cat conftest.err >&5
72181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72182 (exit $ac_status); } &&
72183 { ac_try='test -z "$ac_c_werror_flag"
72184 || test ! -s conftest.err'
72185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72186 (eval $ac_try) 2>&5
72187 ac_status=$?
72188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72189 (exit $ac_status); }; } &&
72190 { ac_try='test -s conftest$ac_exeext'
72191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72192 (eval $ac_try) 2>&5
72193 ac_status=$?
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); }; }; then
72196 glibcxx_cv_S_ISREG=yes
72197 else
72198 echo "$as_me: failed program was:" >&5
72199 sed 's/^/| /' conftest.$ac_ext >&5
72201 glibcxx_cv_S_ISREG=no
72203 rm -f conftest.err conftest.$ac_objext \
72204 conftest$ac_exeext conftest.$ac_ext
72208 if test "${glibcxx_cv_S_IFREG+set}" = set; then
72209 echo $ECHO_N "(cached) $ECHO_C" >&6
72210 else
72212 if test x$gcc_no_link = xyes; then
72213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72215 { (exit 1); exit 1; }; }
72217 cat >conftest.$ac_ext <<_ACEOF
72218 /* confdefs.h. */
72219 _ACEOF
72220 cat confdefs.h >>conftest.$ac_ext
72221 cat >>conftest.$ac_ext <<_ACEOF
72222 /* end confdefs.h. */
72223 #include <sys/stat.h>
72225 main ()
72227 struct stat buffer;
72228 fstat(0, &buffer);
72229 S_IFREG & buffer.st_mode;
72231 return 0;
72233 _ACEOF
72234 rm -f conftest.$ac_objext conftest$ac_exeext
72235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72236 (eval $ac_link) 2>conftest.er1
72237 ac_status=$?
72238 grep -v '^ *+' conftest.er1 >conftest.err
72239 rm -f conftest.er1
72240 cat conftest.err >&5
72241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72242 (exit $ac_status); } &&
72243 { ac_try='test -z "$ac_c_werror_flag"
72244 || test ! -s conftest.err'
72245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72246 (eval $ac_try) 2>&5
72247 ac_status=$?
72248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72249 (exit $ac_status); }; } &&
72250 { ac_try='test -s conftest$ac_exeext'
72251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72252 (eval $ac_try) 2>&5
72253 ac_status=$?
72254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72255 (exit $ac_status); }; }; then
72256 glibcxx_cv_S_IFREG=yes
72257 else
72258 echo "$as_me: failed program was:" >&5
72259 sed 's/^/| /' conftest.$ac_ext >&5
72261 glibcxx_cv_S_IFREG=no
72263 rm -f conftest.err conftest.$ac_objext \
72264 conftest$ac_exeext conftest.$ac_ext
72268 if test $glibcxx_cv_S_ISREG = yes; then
72269 cat >>confdefs.h <<\_ACEOF
72270 #define HAVE_S_ISREG 1
72271 _ACEOF
72273 elif test $glibcxx_cv_S_IFREG = yes; then
72274 cat >>confdefs.h <<\_ACEOF
72275 #define HAVE_S_IFREG 1
72276 _ACEOF
72280 cat >>confdefs.h <<\_ACEOF
72281 #define HAVE_WRITEV 1
72282 _ACEOF
72286 *-freebsd*)
72303 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
72304 machine/endian.h machine/param.h sys/machine.h sys/types.h \
72305 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
72306 sys/time.h unistd.h
72308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72310 echo "$as_me:$LINENO: checking for $ac_header" >&5
72311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72313 echo $ECHO_N "(cached) $ECHO_C" >&6
72315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72317 else
72318 # Is the header compilable?
72319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72321 cat >conftest.$ac_ext <<_ACEOF
72322 /* confdefs.h. */
72323 _ACEOF
72324 cat confdefs.h >>conftest.$ac_ext
72325 cat >>conftest.$ac_ext <<_ACEOF
72326 /* end confdefs.h. */
72327 $ac_includes_default
72328 #include <$ac_header>
72329 _ACEOF
72330 rm -f conftest.$ac_objext
72331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72332 (eval $ac_compile) 2>conftest.er1
72333 ac_status=$?
72334 grep -v '^ *+' conftest.er1 >conftest.err
72335 rm -f conftest.er1
72336 cat conftest.err >&5
72337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338 (exit $ac_status); } &&
72339 { ac_try='test -z "$ac_c_werror_flag"
72340 || test ! -s conftest.err'
72341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72342 (eval $ac_try) 2>&5
72343 ac_status=$?
72344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72345 (exit $ac_status); }; } &&
72346 { ac_try='test -s conftest.$ac_objext'
72347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72348 (eval $ac_try) 2>&5
72349 ac_status=$?
72350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72351 (exit $ac_status); }; }; then
72352 ac_header_compiler=yes
72353 else
72354 echo "$as_me: failed program was:" >&5
72355 sed 's/^/| /' conftest.$ac_ext >&5
72357 ac_header_compiler=no
72359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72361 echo "${ECHO_T}$ac_header_compiler" >&6
72363 # Is the header present?
72364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72366 cat >conftest.$ac_ext <<_ACEOF
72367 /* confdefs.h. */
72368 _ACEOF
72369 cat confdefs.h >>conftest.$ac_ext
72370 cat >>conftest.$ac_ext <<_ACEOF
72371 /* end confdefs.h. */
72372 #include <$ac_header>
72373 _ACEOF
72374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72376 ac_status=$?
72377 grep -v '^ *+' conftest.er1 >conftest.err
72378 rm -f conftest.er1
72379 cat conftest.err >&5
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); } >/dev/null; then
72382 if test -s conftest.err; then
72383 ac_cpp_err=$ac_c_preproc_warn_flag
72384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72385 else
72386 ac_cpp_err=
72388 else
72389 ac_cpp_err=yes
72391 if test -z "$ac_cpp_err"; then
72392 ac_header_preproc=yes
72393 else
72394 echo "$as_me: failed program was:" >&5
72395 sed 's/^/| /' conftest.$ac_ext >&5
72397 ac_header_preproc=no
72399 rm -f conftest.err conftest.$ac_ext
72400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72401 echo "${ECHO_T}$ac_header_preproc" >&6
72403 # So? What about this header?
72404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72405 yes:no: )
72406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72410 ac_header_preproc=yes
72412 no:yes:* )
72413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72426 cat <<\_ASBOX
72427 ## ----------------------------------------- ##
72428 ## Report this to the package-unused lists. ##
72429 ## ----------------------------------------- ##
72430 _ASBOX
72432 sed "s/^/$as_me: WARNING: /" >&2
72434 esac
72435 echo "$as_me:$LINENO: checking for $ac_header" >&5
72436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72438 echo $ECHO_N "(cached) $ECHO_C" >&6
72439 else
72440 eval "$as_ac_Header=\$ac_header_preproc"
72442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72447 cat >>confdefs.h <<_ACEOF
72448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72449 _ACEOF
72453 done
72455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72458 # If we're not using GNU ld, then there's no point in even trying these
72459 # tests. Check for that first. We should have already tested for gld
72460 # by now (in libtool), but require it now just to be safe...
72461 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72462 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72466 # The name set by libtool depends on the version of libtool. Shame on us
72467 # for depending on an impl detail, but c'est la vie. Older versions used
72468 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72469 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72470 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72471 # set (hence we're using an older libtool), then set it.
72472 if test x${with_gnu_ld+set} != xset; then
72473 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72474 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72475 with_gnu_ld=no
72476 else
72477 with_gnu_ld=$ac_cv_prog_gnu_ld
72481 # Start by getting the version number. I think the libtool test already
72482 # does some of this, but throws away the result.
72484 ldver=`$LD --version 2>/dev/null | head -1 | \
72485 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
72487 glibcxx_gnu_ld_version=`echo $ldver | \
72488 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72490 # Set --gc-sections.
72491 if test "$with_gnu_ld" = "notbroken"; then
72492 # GNU ld it is! Joy and bunny rabbits!
72494 # All these tests are for C++; save the language and the compiler flags.
72495 # Need to do this so that g++ won't try to link in libstdc++
72496 ac_test_CFLAGS="${CFLAGS+set}"
72497 ac_save_CFLAGS="$CFLAGS"
72498 CFLAGS='-x c++ -Wl,--gc-sections'
72500 # Check for -Wl,--gc-sections
72501 # XXX This test is broken at the moment, as symbols required for linking
72502 # are now in libsupc++ (not built yet). In addition, this test has
72503 # cored on solaris in the past. In addition, --gc-sections doesn't
72504 # really work at the moment (keeps on discarding used sections, first
72505 # .eh_frame and now some of the glibc sections for iconv).
72506 # Bzzzzt. Thanks for playing, maybe next time.
72507 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
72508 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
72509 if test "$cross_compiling" = yes; then
72510 ac_sectionLDflags=yes
72511 else
72512 cat >conftest.$ac_ext <<_ACEOF
72513 /* confdefs.h. */
72514 _ACEOF
72515 cat confdefs.h >>conftest.$ac_ext
72516 cat >>conftest.$ac_ext <<_ACEOF
72517 /* end confdefs.h. */
72519 int main(void)
72521 try { throw 1; }
72522 catch (...) { };
72523 return 0;
72526 _ACEOF
72527 rm -f conftest$ac_exeext
72528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72529 (eval $ac_link) 2>&5
72530 ac_status=$?
72531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72534 (eval $ac_try) 2>&5
72535 ac_status=$?
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); }; }; then
72538 ac_sectionLDflags=yes
72539 else
72540 echo "$as_me: program exited with status $ac_status" >&5
72541 echo "$as_me: failed program was:" >&5
72542 sed 's/^/| /' conftest.$ac_ext >&5
72544 ( exit $ac_status )
72545 ac_sectionLDflags=no
72547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72549 if test "$ac_test_CFLAGS" = set; then
72550 CFLAGS="$ac_save_CFLAGS"
72551 else
72552 # this is the suspicious part
72553 CFLAGS=''
72555 if test "$ac_sectionLDflags" = "yes"; then
72556 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72558 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
72559 echo "${ECHO_T}$ac_sectionLDflags" >&6
72562 # Set linker optimization flags.
72563 if test x"$with_gnu_ld" = x"yes"; then
72564 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72572 echo "$as_me:$LINENO: checking for main in -lm" >&5
72573 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72574 if test "${ac_cv_lib_m_main+set}" = set; then
72575 echo $ECHO_N "(cached) $ECHO_C" >&6
72576 else
72577 ac_check_lib_save_LIBS=$LIBS
72578 LIBS="-lm $LIBS"
72579 if test x$gcc_no_link = xyes; then
72580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72582 { (exit 1); exit 1; }; }
72584 cat >conftest.$ac_ext <<_ACEOF
72585 /* confdefs.h. */
72586 _ACEOF
72587 cat confdefs.h >>conftest.$ac_ext
72588 cat >>conftest.$ac_ext <<_ACEOF
72589 /* end confdefs.h. */
72593 main ()
72595 main ();
72597 return 0;
72599 _ACEOF
72600 rm -f conftest.$ac_objext conftest$ac_exeext
72601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72602 (eval $ac_link) 2>conftest.er1
72603 ac_status=$?
72604 grep -v '^ *+' conftest.er1 >conftest.err
72605 rm -f conftest.er1
72606 cat conftest.err >&5
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); } &&
72609 { ac_try='test -z "$ac_c_werror_flag"
72610 || test ! -s conftest.err'
72611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72612 (eval $ac_try) 2>&5
72613 ac_status=$?
72614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72615 (exit $ac_status); }; } &&
72616 { ac_try='test -s conftest$ac_exeext'
72617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72618 (eval $ac_try) 2>&5
72619 ac_status=$?
72620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72621 (exit $ac_status); }; }; then
72622 ac_cv_lib_m_main=yes
72623 else
72624 echo "$as_me: failed program was:" >&5
72625 sed 's/^/| /' conftest.$ac_ext >&5
72627 ac_cv_lib_m_main=no
72629 rm -f conftest.err conftest.$ac_objext \
72630 conftest$ac_exeext conftest.$ac_ext
72631 LIBS=$ac_check_lib_save_LIBS
72633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72634 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72635 if test $ac_cv_lib_m_main = yes; then
72636 cat >>confdefs.h <<_ACEOF
72637 #define HAVE_LIBM 1
72638 _ACEOF
72640 LIBS="-lm $LIBS"
72645 for ac_func in copysignf
72647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72648 echo "$as_me:$LINENO: checking for $ac_func" >&5
72649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72650 if eval "test \"\${$as_ac_var+set}\" = set"; then
72651 echo $ECHO_N "(cached) $ECHO_C" >&6
72652 else
72653 if test x$gcc_no_link = xyes; then
72654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72656 { (exit 1); exit 1; }; }
72658 cat >conftest.$ac_ext <<_ACEOF
72659 /* confdefs.h. */
72660 _ACEOF
72661 cat confdefs.h >>conftest.$ac_ext
72662 cat >>conftest.$ac_ext <<_ACEOF
72663 /* end confdefs.h. */
72664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72666 #define $ac_func innocuous_$ac_func
72668 /* System header to define __stub macros and hopefully few prototypes,
72669 which can conflict with char $ac_func (); below.
72670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72671 <limits.h> exists even on freestanding compilers. */
72673 #ifdef __STDC__
72674 # include <limits.h>
72675 #else
72676 # include <assert.h>
72677 #endif
72679 #undef $ac_func
72681 /* Override any gcc2 internal prototype to avoid an error. */
72682 #ifdef __cplusplus
72683 extern "C"
72685 #endif
72686 /* We use char because int might match the return type of a gcc2
72687 builtin and then its argument prototype would still apply. */
72688 char $ac_func ();
72689 /* The GNU C library defines this for functions which it implements
72690 to always fail with ENOSYS. Some functions are actually named
72691 something starting with __ and the normal name is an alias. */
72692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72693 choke me
72694 #else
72695 char (*f) () = $ac_func;
72696 #endif
72697 #ifdef __cplusplus
72699 #endif
72702 main ()
72704 return f != $ac_func;
72706 return 0;
72708 _ACEOF
72709 rm -f conftest.$ac_objext conftest$ac_exeext
72710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72711 (eval $ac_link) 2>conftest.er1
72712 ac_status=$?
72713 grep -v '^ *+' conftest.er1 >conftest.err
72714 rm -f conftest.er1
72715 cat conftest.err >&5
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); } &&
72718 { ac_try='test -z "$ac_c_werror_flag"
72719 || test ! -s conftest.err'
72720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72721 (eval $ac_try) 2>&5
72722 ac_status=$?
72723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72724 (exit $ac_status); }; } &&
72725 { ac_try='test -s conftest$ac_exeext'
72726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72727 (eval $ac_try) 2>&5
72728 ac_status=$?
72729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72730 (exit $ac_status); }; }; then
72731 eval "$as_ac_var=yes"
72732 else
72733 echo "$as_me: failed program was:" >&5
72734 sed 's/^/| /' conftest.$ac_ext >&5
72736 eval "$as_ac_var=no"
72738 rm -f conftest.err conftest.$ac_objext \
72739 conftest$ac_exeext conftest.$ac_ext
72741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72743 if test `eval echo '${'$as_ac_var'}'` = yes; then
72744 cat >>confdefs.h <<_ACEOF
72745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72746 _ACEOF
72748 else
72749 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72751 done
72755 for ac_func in __signbit
72757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72758 echo "$as_me:$LINENO: checking for $ac_func" >&5
72759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72760 if eval "test \"\${$as_ac_var+set}\" = set"; then
72761 echo $ECHO_N "(cached) $ECHO_C" >&6
72762 else
72763 if test x$gcc_no_link = xyes; then
72764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72766 { (exit 1); exit 1; }; }
72768 cat >conftest.$ac_ext <<_ACEOF
72769 /* confdefs.h. */
72770 _ACEOF
72771 cat confdefs.h >>conftest.$ac_ext
72772 cat >>conftest.$ac_ext <<_ACEOF
72773 /* end confdefs.h. */
72774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72776 #define $ac_func innocuous_$ac_func
72778 /* System header to define __stub macros and hopefully few prototypes,
72779 which can conflict with char $ac_func (); below.
72780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72781 <limits.h> exists even on freestanding compilers. */
72783 #ifdef __STDC__
72784 # include <limits.h>
72785 #else
72786 # include <assert.h>
72787 #endif
72789 #undef $ac_func
72791 /* Override any gcc2 internal prototype to avoid an error. */
72792 #ifdef __cplusplus
72793 extern "C"
72795 #endif
72796 /* We use char because int might match the return type of a gcc2
72797 builtin and then its argument prototype would still apply. */
72798 char $ac_func ();
72799 /* The GNU C library defines this for functions which it implements
72800 to always fail with ENOSYS. Some functions are actually named
72801 something starting with __ and the normal name is an alias. */
72802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72803 choke me
72804 #else
72805 char (*f) () = $ac_func;
72806 #endif
72807 #ifdef __cplusplus
72809 #endif
72812 main ()
72814 return f != $ac_func;
72816 return 0;
72818 _ACEOF
72819 rm -f conftest.$ac_objext conftest$ac_exeext
72820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72821 (eval $ac_link) 2>conftest.er1
72822 ac_status=$?
72823 grep -v '^ *+' conftest.er1 >conftest.err
72824 rm -f conftest.er1
72825 cat conftest.err >&5
72826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72827 (exit $ac_status); } &&
72828 { ac_try='test -z "$ac_c_werror_flag"
72829 || test ! -s conftest.err'
72830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831 (eval $ac_try) 2>&5
72832 ac_status=$?
72833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834 (exit $ac_status); }; } &&
72835 { ac_try='test -s conftest$ac_exeext'
72836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72837 (eval $ac_try) 2>&5
72838 ac_status=$?
72839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72840 (exit $ac_status); }; }; then
72841 eval "$as_ac_var=yes"
72842 else
72843 echo "$as_me: failed program was:" >&5
72844 sed 's/^/| /' conftest.$ac_ext >&5
72846 eval "$as_ac_var=no"
72848 rm -f conftest.err conftest.$ac_objext \
72849 conftest$ac_exeext conftest.$ac_ext
72851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72853 if test `eval echo '${'$as_ac_var'}'` = yes; then
72854 cat >>confdefs.h <<_ACEOF
72855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72856 _ACEOF
72858 else
72859 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72861 done
72865 for ac_func in __signbitf
72867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72868 echo "$as_me:$LINENO: checking for $ac_func" >&5
72869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72870 if eval "test \"\${$as_ac_var+set}\" = set"; then
72871 echo $ECHO_N "(cached) $ECHO_C" >&6
72872 else
72873 if test x$gcc_no_link = xyes; then
72874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72876 { (exit 1); exit 1; }; }
72878 cat >conftest.$ac_ext <<_ACEOF
72879 /* confdefs.h. */
72880 _ACEOF
72881 cat confdefs.h >>conftest.$ac_ext
72882 cat >>conftest.$ac_ext <<_ACEOF
72883 /* end confdefs.h. */
72884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72886 #define $ac_func innocuous_$ac_func
72888 /* System header to define __stub macros and hopefully few prototypes,
72889 which can conflict with char $ac_func (); below.
72890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72891 <limits.h> exists even on freestanding compilers. */
72893 #ifdef __STDC__
72894 # include <limits.h>
72895 #else
72896 # include <assert.h>
72897 #endif
72899 #undef $ac_func
72901 /* Override any gcc2 internal prototype to avoid an error. */
72902 #ifdef __cplusplus
72903 extern "C"
72905 #endif
72906 /* We use char because int might match the return type of a gcc2
72907 builtin and then its argument prototype would still apply. */
72908 char $ac_func ();
72909 /* The GNU C library defines this for functions which it implements
72910 to always fail with ENOSYS. Some functions are actually named
72911 something starting with __ and the normal name is an alias. */
72912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72913 choke me
72914 #else
72915 char (*f) () = $ac_func;
72916 #endif
72917 #ifdef __cplusplus
72919 #endif
72922 main ()
72924 return f != $ac_func;
72926 return 0;
72928 _ACEOF
72929 rm -f conftest.$ac_objext conftest$ac_exeext
72930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72931 (eval $ac_link) 2>conftest.er1
72932 ac_status=$?
72933 grep -v '^ *+' conftest.er1 >conftest.err
72934 rm -f conftest.er1
72935 cat conftest.err >&5
72936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72937 (exit $ac_status); } &&
72938 { ac_try='test -z "$ac_c_werror_flag"
72939 || test ! -s conftest.err'
72940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72941 (eval $ac_try) 2>&5
72942 ac_status=$?
72943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72944 (exit $ac_status); }; } &&
72945 { ac_try='test -s conftest$ac_exeext'
72946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72947 (eval $ac_try) 2>&5
72948 ac_status=$?
72949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72950 (exit $ac_status); }; }; then
72951 eval "$as_ac_var=yes"
72952 else
72953 echo "$as_me: failed program was:" >&5
72954 sed 's/^/| /' conftest.$ac_ext >&5
72956 eval "$as_ac_var=no"
72958 rm -f conftest.err conftest.$ac_objext \
72959 conftest$ac_exeext conftest.$ac_ext
72961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72963 if test `eval echo '${'$as_ac_var'}'` = yes; then
72964 cat >>confdefs.h <<_ACEOF
72965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72966 _ACEOF
72968 else
72969 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72971 done
72974 if test x$ac_cv_func_copysignl = x"yes"; then
72976 for ac_func in __signbitl
72978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72979 echo "$as_me:$LINENO: checking for $ac_func" >&5
72980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72981 if eval "test \"\${$as_ac_var+set}\" = set"; then
72982 echo $ECHO_N "(cached) $ECHO_C" >&6
72983 else
72984 if test x$gcc_no_link = xyes; then
72985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72987 { (exit 1); exit 1; }; }
72989 cat >conftest.$ac_ext <<_ACEOF
72990 /* confdefs.h. */
72991 _ACEOF
72992 cat confdefs.h >>conftest.$ac_ext
72993 cat >>conftest.$ac_ext <<_ACEOF
72994 /* end confdefs.h. */
72995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72997 #define $ac_func innocuous_$ac_func
72999 /* System header to define __stub macros and hopefully few prototypes,
73000 which can conflict with char $ac_func (); below.
73001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73002 <limits.h> exists even on freestanding compilers. */
73004 #ifdef __STDC__
73005 # include <limits.h>
73006 #else
73007 # include <assert.h>
73008 #endif
73010 #undef $ac_func
73012 /* Override any gcc2 internal prototype to avoid an error. */
73013 #ifdef __cplusplus
73014 extern "C"
73016 #endif
73017 /* We use char because int might match the return type of a gcc2
73018 builtin and then its argument prototype would still apply. */
73019 char $ac_func ();
73020 /* The GNU C library defines this for functions which it implements
73021 to always fail with ENOSYS. Some functions are actually named
73022 something starting with __ and the normal name is an alias. */
73023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73024 choke me
73025 #else
73026 char (*f) () = $ac_func;
73027 #endif
73028 #ifdef __cplusplus
73030 #endif
73033 main ()
73035 return f != $ac_func;
73037 return 0;
73039 _ACEOF
73040 rm -f conftest.$ac_objext conftest$ac_exeext
73041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73042 (eval $ac_link) 2>conftest.er1
73043 ac_status=$?
73044 grep -v '^ *+' conftest.er1 >conftest.err
73045 rm -f conftest.er1
73046 cat conftest.err >&5
73047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73048 (exit $ac_status); } &&
73049 { ac_try='test -z "$ac_c_werror_flag"
73050 || test ! -s conftest.err'
73051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73052 (eval $ac_try) 2>&5
73053 ac_status=$?
73054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055 (exit $ac_status); }; } &&
73056 { ac_try='test -s conftest$ac_exeext'
73057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058 (eval $ac_try) 2>&5
73059 ac_status=$?
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); }; }; then
73062 eval "$as_ac_var=yes"
73063 else
73064 echo "$as_me: failed program was:" >&5
73065 sed 's/^/| /' conftest.$ac_ext >&5
73067 eval "$as_ac_var=no"
73069 rm -f conftest.err conftest.$ac_objext \
73070 conftest$ac_exeext conftest.$ac_ext
73072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73074 if test `eval echo '${'$as_ac_var'}'` = yes; then
73075 cat >>confdefs.h <<_ACEOF
73076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73077 _ACEOF
73079 else
73080 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73082 done
73086 # Used in libmath/Makefile.am.
73087 if test -n "$LIBMATHOBJS"; then
73088 need_libmath=yes
73094 enable_iconv=no
73095 # Only continue checking if the ISO C99 headers exist and support is on.
73096 if test x"$enable_wchar_t" = xyes; then
73098 # Use iconv for wchar_t to char conversions. As such, check for
73099 # X/Open Portability Guide, version 2 features (XPG2).
73100 if test "${ac_cv_header_iconv_h+set}" = set; then
73101 echo "$as_me:$LINENO: checking for iconv.h" >&5
73102 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73103 if test "${ac_cv_header_iconv_h+set}" = set; then
73104 echo $ECHO_N "(cached) $ECHO_C" >&6
73106 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73107 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73108 else
73109 # Is the header compilable?
73110 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73111 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73112 cat >conftest.$ac_ext <<_ACEOF
73113 /* confdefs.h. */
73114 _ACEOF
73115 cat confdefs.h >>conftest.$ac_ext
73116 cat >>conftest.$ac_ext <<_ACEOF
73117 /* end confdefs.h. */
73118 $ac_includes_default
73119 #include <iconv.h>
73120 _ACEOF
73121 rm -f conftest.$ac_objext
73122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73123 (eval $ac_compile) 2>conftest.er1
73124 ac_status=$?
73125 grep -v '^ *+' conftest.er1 >conftest.err
73126 rm -f conftest.er1
73127 cat conftest.err >&5
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); } &&
73130 { ac_try='test -z "$ac_c_werror_flag"
73131 || test ! -s conftest.err'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; } &&
73137 { ac_try='test -s conftest.$ac_objext'
73138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73139 (eval $ac_try) 2>&5
73140 ac_status=$?
73141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142 (exit $ac_status); }; }; then
73143 ac_header_compiler=yes
73144 else
73145 echo "$as_me: failed program was:" >&5
73146 sed 's/^/| /' conftest.$ac_ext >&5
73148 ac_header_compiler=no
73150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73152 echo "${ECHO_T}$ac_header_compiler" >&6
73154 # Is the header present?
73155 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73156 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73157 cat >conftest.$ac_ext <<_ACEOF
73158 /* confdefs.h. */
73159 _ACEOF
73160 cat confdefs.h >>conftest.$ac_ext
73161 cat >>conftest.$ac_ext <<_ACEOF
73162 /* end confdefs.h. */
73163 #include <iconv.h>
73164 _ACEOF
73165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73167 ac_status=$?
73168 grep -v '^ *+' conftest.er1 >conftest.err
73169 rm -f conftest.er1
73170 cat conftest.err >&5
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); } >/dev/null; then
73173 if test -s conftest.err; then
73174 ac_cpp_err=$ac_c_preproc_warn_flag
73175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73176 else
73177 ac_cpp_err=
73179 else
73180 ac_cpp_err=yes
73182 if test -z "$ac_cpp_err"; then
73183 ac_header_preproc=yes
73184 else
73185 echo "$as_me: failed program was:" >&5
73186 sed 's/^/| /' conftest.$ac_ext >&5
73188 ac_header_preproc=no
73190 rm -f conftest.err conftest.$ac_ext
73191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73192 echo "${ECHO_T}$ac_header_preproc" >&6
73194 # So? What about this header?
73195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73196 yes:no: )
73197 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73198 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73199 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73200 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73201 ac_header_preproc=yes
73203 no:yes:* )
73204 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73205 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73206 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73207 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73208 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73209 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73210 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73211 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73212 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73213 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73214 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73215 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73217 cat <<\_ASBOX
73218 ## ----------------------------------------- ##
73219 ## Report this to the package-unused lists. ##
73220 ## ----------------------------------------- ##
73221 _ASBOX
73223 sed "s/^/$as_me: WARNING: /" >&2
73225 esac
73226 echo "$as_me:$LINENO: checking for iconv.h" >&5
73227 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73228 if test "${ac_cv_header_iconv_h+set}" = set; then
73229 echo $ECHO_N "(cached) $ECHO_C" >&6
73230 else
73231 ac_cv_header_iconv_h=$ac_header_preproc
73233 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73234 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73237 if test $ac_cv_header_iconv_h = yes; then
73238 ac_has_iconv_h=yes
73239 else
73240 ac_has_iconv_h=no
73244 if test "${ac_cv_header_langinfo_h+set}" = set; then
73245 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73246 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73247 if test "${ac_cv_header_langinfo_h+set}" = set; then
73248 echo $ECHO_N "(cached) $ECHO_C" >&6
73250 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73251 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73252 else
73253 # Is the header compilable?
73254 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73255 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73256 cat >conftest.$ac_ext <<_ACEOF
73257 /* confdefs.h. */
73258 _ACEOF
73259 cat confdefs.h >>conftest.$ac_ext
73260 cat >>conftest.$ac_ext <<_ACEOF
73261 /* end confdefs.h. */
73262 $ac_includes_default
73263 #include <langinfo.h>
73264 _ACEOF
73265 rm -f conftest.$ac_objext
73266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73267 (eval $ac_compile) 2>conftest.er1
73268 ac_status=$?
73269 grep -v '^ *+' conftest.er1 >conftest.err
73270 rm -f conftest.er1
73271 cat conftest.err >&5
73272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73273 (exit $ac_status); } &&
73274 { ac_try='test -z "$ac_c_werror_flag"
73275 || test ! -s conftest.err'
73276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73277 (eval $ac_try) 2>&5
73278 ac_status=$?
73279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73280 (exit $ac_status); }; } &&
73281 { ac_try='test -s conftest.$ac_objext'
73282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73283 (eval $ac_try) 2>&5
73284 ac_status=$?
73285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73286 (exit $ac_status); }; }; then
73287 ac_header_compiler=yes
73288 else
73289 echo "$as_me: failed program was:" >&5
73290 sed 's/^/| /' conftest.$ac_ext >&5
73292 ac_header_compiler=no
73294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73296 echo "${ECHO_T}$ac_header_compiler" >&6
73298 # Is the header present?
73299 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73300 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73301 cat >conftest.$ac_ext <<_ACEOF
73302 /* confdefs.h. */
73303 _ACEOF
73304 cat confdefs.h >>conftest.$ac_ext
73305 cat >>conftest.$ac_ext <<_ACEOF
73306 /* end confdefs.h. */
73307 #include <langinfo.h>
73308 _ACEOF
73309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73311 ac_status=$?
73312 grep -v '^ *+' conftest.er1 >conftest.err
73313 rm -f conftest.er1
73314 cat conftest.err >&5
73315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73316 (exit $ac_status); } >/dev/null; then
73317 if test -s conftest.err; then
73318 ac_cpp_err=$ac_c_preproc_warn_flag
73319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73320 else
73321 ac_cpp_err=
73323 else
73324 ac_cpp_err=yes
73326 if test -z "$ac_cpp_err"; then
73327 ac_header_preproc=yes
73328 else
73329 echo "$as_me: failed program was:" >&5
73330 sed 's/^/| /' conftest.$ac_ext >&5
73332 ac_header_preproc=no
73334 rm -f conftest.err conftest.$ac_ext
73335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73336 echo "${ECHO_T}$ac_header_preproc" >&6
73338 # So? What about this header?
73339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73340 yes:no: )
73341 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73342 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73343 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73344 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73345 ac_header_preproc=yes
73347 no:yes:* )
73348 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73349 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73350 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73351 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73352 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73353 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73354 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73355 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73356 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73357 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73358 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73359 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73361 cat <<\_ASBOX
73362 ## ----------------------------------------- ##
73363 ## Report this to the package-unused lists. ##
73364 ## ----------------------------------------- ##
73365 _ASBOX
73367 sed "s/^/$as_me: WARNING: /" >&2
73369 esac
73370 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73371 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73372 if test "${ac_cv_header_langinfo_h+set}" = set; then
73373 echo $ECHO_N "(cached) $ECHO_C" >&6
73374 else
73375 ac_cv_header_langinfo_h=$ac_header_preproc
73377 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73378 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73381 if test $ac_cv_header_langinfo_h = yes; then
73382 ac_has_langinfo_h=yes
73383 else
73384 ac_has_langinfo_h=no
73389 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73390 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73391 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73392 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73393 echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73395 ac_check_lib_save_LIBS=$LIBS
73396 LIBS="-liconv $LIBS"
73397 if test x$gcc_no_link = xyes; then
73398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73400 { (exit 1); exit 1; }; }
73402 cat >conftest.$ac_ext <<_ACEOF
73403 /* confdefs.h. */
73404 _ACEOF
73405 cat confdefs.h >>conftest.$ac_ext
73406 cat >>conftest.$ac_ext <<_ACEOF
73407 /* end confdefs.h. */
73409 /* Override any gcc2 internal prototype to avoid an error. */
73410 #ifdef __cplusplus
73411 extern "C"
73412 #endif
73413 /* We use char because int might match the return type of a gcc2
73414 builtin and then its argument prototype would still apply. */
73415 char iconv ();
73417 main ()
73419 iconv ();
73421 return 0;
73423 _ACEOF
73424 rm -f conftest.$ac_objext conftest$ac_exeext
73425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73426 (eval $ac_link) 2>conftest.er1
73427 ac_status=$?
73428 grep -v '^ *+' conftest.er1 >conftest.err
73429 rm -f conftest.er1
73430 cat conftest.err >&5
73431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432 (exit $ac_status); } &&
73433 { ac_try='test -z "$ac_c_werror_flag"
73434 || test ! -s conftest.err'
73435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436 (eval $ac_try) 2>&5
73437 ac_status=$?
73438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439 (exit $ac_status); }; } &&
73440 { ac_try='test -s conftest$ac_exeext'
73441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73442 (eval $ac_try) 2>&5
73443 ac_status=$?
73444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445 (exit $ac_status); }; }; then
73446 ac_cv_lib_iconv_iconv=yes
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73451 ac_cv_lib_iconv_iconv=no
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73455 LIBS=$ac_check_lib_save_LIBS
73457 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73458 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73459 if test $ac_cv_lib_iconv_iconv = yes; then
73460 LIBICONV="-liconv"
73463 ac_save_LIBS="$LIBS"
73464 LIBS="$LIBS $LIBICONV"
73471 for ac_func in iconv_open iconv_close iconv nl_langinfo
73473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73474 echo "$as_me:$LINENO: checking for $ac_func" >&5
73475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73476 if eval "test \"\${$as_ac_var+set}\" = set"; then
73477 echo $ECHO_N "(cached) $ECHO_C" >&6
73478 else
73479 if test x$gcc_no_link = xyes; then
73480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73482 { (exit 1); exit 1; }; }
73484 cat >conftest.$ac_ext <<_ACEOF
73485 /* confdefs.h. */
73486 _ACEOF
73487 cat confdefs.h >>conftest.$ac_ext
73488 cat >>conftest.$ac_ext <<_ACEOF
73489 /* end confdefs.h. */
73490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73492 #define $ac_func innocuous_$ac_func
73494 /* System header to define __stub macros and hopefully few prototypes,
73495 which can conflict with char $ac_func (); below.
73496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73497 <limits.h> exists even on freestanding compilers. */
73499 #ifdef __STDC__
73500 # include <limits.h>
73501 #else
73502 # include <assert.h>
73503 #endif
73505 #undef $ac_func
73507 /* Override any gcc2 internal prototype to avoid an error. */
73508 #ifdef __cplusplus
73509 extern "C"
73511 #endif
73512 /* We use char because int might match the return type of a gcc2
73513 builtin and then its argument prototype would still apply. */
73514 char $ac_func ();
73515 /* The GNU C library defines this for functions which it implements
73516 to always fail with ENOSYS. Some functions are actually named
73517 something starting with __ and the normal name is an alias. */
73518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73519 choke me
73520 #else
73521 char (*f) () = $ac_func;
73522 #endif
73523 #ifdef __cplusplus
73525 #endif
73528 main ()
73530 return f != $ac_func;
73532 return 0;
73534 _ACEOF
73535 rm -f conftest.$ac_objext conftest$ac_exeext
73536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73537 (eval $ac_link) 2>conftest.er1
73538 ac_status=$?
73539 grep -v '^ *+' conftest.er1 >conftest.err
73540 rm -f conftest.er1
73541 cat conftest.err >&5
73542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73543 (exit $ac_status); } &&
73544 { ac_try='test -z "$ac_c_werror_flag"
73545 || test ! -s conftest.err'
73546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73547 (eval $ac_try) 2>&5
73548 ac_status=$?
73549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73550 (exit $ac_status); }; } &&
73551 { ac_try='test -s conftest$ac_exeext'
73552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73553 (eval $ac_try) 2>&5
73554 ac_status=$?
73555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73556 (exit $ac_status); }; }; then
73557 eval "$as_ac_var=yes"
73558 else
73559 echo "$as_me: failed program was:" >&5
73560 sed 's/^/| /' conftest.$ac_ext >&5
73562 eval "$as_ac_var=no"
73564 rm -f conftest.err conftest.$ac_objext \
73565 conftest$ac_exeext conftest.$ac_ext
73567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73569 if test `eval echo '${'$as_ac_var'}'` = yes; then
73570 cat >>confdefs.h <<_ACEOF
73571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73572 _ACEOF
73573 ac_XPG2funcs=yes
73574 else
73575 ac_XPG2funcs=no
73577 done
73580 LIBS="$ac_save_LIBS"
73582 if test x"$ac_has_iconv_h" = xyes &&
73583 test x"$ac_has_langinfo_h" = xyes &&
73584 test x"$ac_XPG2funcs" = xyes;
73585 then
73587 cat >>confdefs.h <<\_ACEOF
73588 #define _GLIBCXX_USE_ICONV 1
73589 _ACEOF
73591 enable_iconv=yes
73594 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73595 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73596 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73597 echo "${ECHO_T}$enable_iconv" >&6
73599 cat >>confdefs.h <<\_ACEOF
73600 #define HAVE_LC_MESSAGES 1
73601 _ACEOF
73603 cat >>confdefs.h <<\_ACEOF
73604 #define HAVE_GETPAGESIZE 1
73605 _ACEOF
73607 cat >>confdefs.h <<\_ACEOF
73608 #define HAVE_SETENV 1
73609 _ACEOF
73611 cat >>confdefs.h <<\_ACEOF
73612 #define HAVE_SIGSETJMP 1
73613 _ACEOF
73615 cat >>confdefs.h <<\_ACEOF
73616 #define HAVE_COPYSIGN 1
73617 _ACEOF
73619 cat >>confdefs.h <<\_ACEOF
73620 #define HAVE_COPYSIGNF 1
73621 _ACEOF
73623 cat >>confdefs.h <<\_ACEOF
73624 #define HAVE_FINITEF 1
73625 _ACEOF
73627 cat >>confdefs.h <<\_ACEOF
73628 #define HAVE_FINITE 1
73629 _ACEOF
73631 cat >>confdefs.h <<\_ACEOF
73632 #define HAVE_FREXPF 1
73633 _ACEOF
73635 cat >>confdefs.h <<\_ACEOF
73636 #define HAVE_HYPOT 1
73637 _ACEOF
73639 cat >>confdefs.h <<\_ACEOF
73640 #define HAVE_HYPOTF 1
73641 _ACEOF
73643 cat >>confdefs.h <<\_ACEOF
73644 #define HAVE_ISINF 1
73645 _ACEOF
73647 cat >>confdefs.h <<\_ACEOF
73648 #define HAVE_ISNAN 1
73649 _ACEOF
73651 cat >>confdefs.h <<\_ACEOF
73652 #define HAVE_ISNANF 1
73653 _ACEOF
73656 cat >>confdefs.h <<\_ACEOF
73657 #define HAVE_MMAP 1
73658 _ACEOF
73660 cat >>confdefs.h <<\_ACEOF
73661 #define HAVE_ACOSF 1
73662 _ACEOF
73664 cat >>confdefs.h <<\_ACEOF
73665 #define HAVE_ASINF 1
73666 _ACEOF
73668 cat >>confdefs.h <<\_ACEOF
73669 #define HAVE_ATAN2F 1
73670 _ACEOF
73672 cat >>confdefs.h <<\_ACEOF
73673 #define HAVE_ATANF 1
73674 _ACEOF
73676 cat >>confdefs.h <<\_ACEOF
73677 #define HAVE_CEILF 1
73678 _ACEOF
73680 cat >>confdefs.h <<\_ACEOF
73681 #define HAVE_COPYSIGN 1
73682 _ACEOF
73684 cat >>confdefs.h <<\_ACEOF
73685 #define HAVE_COPYSIGNF 1
73686 _ACEOF
73688 cat >>confdefs.h <<\_ACEOF
73689 #define HAVE_COSF 1
73690 _ACEOF
73692 cat >>confdefs.h <<\_ACEOF
73693 #define HAVE_COSHF 1
73694 _ACEOF
73696 cat >>confdefs.h <<\_ACEOF
73697 #define HAVE_EXPF 1
73698 _ACEOF
73700 cat >>confdefs.h <<\_ACEOF
73701 #define HAVE_FABSF 1
73702 _ACEOF
73704 cat >>confdefs.h <<\_ACEOF
73705 #define HAVE_FLOORF 1
73706 _ACEOF
73708 cat >>confdefs.h <<\_ACEOF
73709 #define HAVE_FMODF 1
73710 _ACEOF
73712 cat >>confdefs.h <<\_ACEOF
73713 #define HAVE_FREXPF 1
73714 _ACEOF
73716 cat >>confdefs.h <<\_ACEOF
73717 #define HAVE_LDEXPF 1
73718 _ACEOF
73720 cat >>confdefs.h <<\_ACEOF
73721 #define HAVE_LOG10F 1
73722 _ACEOF
73724 cat >>confdefs.h <<\_ACEOF
73725 #define HAVE_LOGF 1
73726 _ACEOF
73728 cat >>confdefs.h <<\_ACEOF
73729 #define HAVE_MODFF 1
73730 _ACEOF
73732 cat >>confdefs.h <<\_ACEOF
73733 #define HAVE_POWF 1
73734 _ACEOF
73736 cat >>confdefs.h <<\_ACEOF
73737 #define HAVE_SINF 1
73738 _ACEOF
73740 cat >>confdefs.h <<\_ACEOF
73741 #define HAVE_SINHF 1
73742 _ACEOF
73744 cat >>confdefs.h <<\_ACEOF
73745 #define HAVE_SQRTF 1
73746 _ACEOF
73748 cat >>confdefs.h <<\_ACEOF
73749 #define HAVE_TANF 1
73750 _ACEOF
73752 cat >>confdefs.h <<\_ACEOF
73753 #define HAVE_TANHF 1
73754 _ACEOF
73756 if test x"long_double_math_on_this_cpu" = x"yes"; then
73757 cat >>confdefs.h <<\_ACEOF
73758 #define HAVE_FINITEL 1
73759 _ACEOF
73761 cat >>confdefs.h <<\_ACEOF
73762 #define HAVE_ISINFL 1
73763 _ACEOF
73765 cat >>confdefs.h <<\_ACEOF
73766 #define HAVE_ISNANL 1
73767 _ACEOF
73771 *-hpux*)
73784 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73785 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73786 fp.h locale.h float.h inttypes.h
73788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73790 echo "$as_me:$LINENO: checking for $ac_header" >&5
73791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73793 echo $ECHO_N "(cached) $ECHO_C" >&6
73795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73797 else
73798 # Is the header compilable?
73799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73801 cat >conftest.$ac_ext <<_ACEOF
73802 /* confdefs.h. */
73803 _ACEOF
73804 cat confdefs.h >>conftest.$ac_ext
73805 cat >>conftest.$ac_ext <<_ACEOF
73806 /* end confdefs.h. */
73807 $ac_includes_default
73808 #include <$ac_header>
73809 _ACEOF
73810 rm -f conftest.$ac_objext
73811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73812 (eval $ac_compile) 2>conftest.er1
73813 ac_status=$?
73814 grep -v '^ *+' conftest.er1 >conftest.err
73815 rm -f conftest.er1
73816 cat conftest.err >&5
73817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73818 (exit $ac_status); } &&
73819 { ac_try='test -z "$ac_c_werror_flag"
73820 || test ! -s conftest.err'
73821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73822 (eval $ac_try) 2>&5
73823 ac_status=$?
73824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73825 (exit $ac_status); }; } &&
73826 { ac_try='test -s conftest.$ac_objext'
73827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73828 (eval $ac_try) 2>&5
73829 ac_status=$?
73830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73831 (exit $ac_status); }; }; then
73832 ac_header_compiler=yes
73833 else
73834 echo "$as_me: failed program was:" >&5
73835 sed 's/^/| /' conftest.$ac_ext >&5
73837 ac_header_compiler=no
73839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73841 echo "${ECHO_T}$ac_header_compiler" >&6
73843 # Is the header present?
73844 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73846 cat >conftest.$ac_ext <<_ACEOF
73847 /* confdefs.h. */
73848 _ACEOF
73849 cat confdefs.h >>conftest.$ac_ext
73850 cat >>conftest.$ac_ext <<_ACEOF
73851 /* end confdefs.h. */
73852 #include <$ac_header>
73853 _ACEOF
73854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73856 ac_status=$?
73857 grep -v '^ *+' conftest.er1 >conftest.err
73858 rm -f conftest.er1
73859 cat conftest.err >&5
73860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861 (exit $ac_status); } >/dev/null; then
73862 if test -s conftest.err; then
73863 ac_cpp_err=$ac_c_preproc_warn_flag
73864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73865 else
73866 ac_cpp_err=
73868 else
73869 ac_cpp_err=yes
73871 if test -z "$ac_cpp_err"; then
73872 ac_header_preproc=yes
73873 else
73874 echo "$as_me: failed program was:" >&5
73875 sed 's/^/| /' conftest.$ac_ext >&5
73877 ac_header_preproc=no
73879 rm -f conftest.err conftest.$ac_ext
73880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73881 echo "${ECHO_T}$ac_header_preproc" >&6
73883 # So? What about this header?
73884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73885 yes:no: )
73886 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73887 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73889 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73890 ac_header_preproc=yes
73892 no:yes:* )
73893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73897 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73898 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73899 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73900 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73903 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73904 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73906 cat <<\_ASBOX
73907 ## ----------------------------------------- ##
73908 ## Report this to the package-unused lists. ##
73909 ## ----------------------------------------- ##
73910 _ASBOX
73912 sed "s/^/$as_me: WARNING: /" >&2
73914 esac
73915 echo "$as_me:$LINENO: checking for $ac_header" >&5
73916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73918 echo $ECHO_N "(cached) $ECHO_C" >&6
73919 else
73920 eval "$as_ac_Header=\$ac_header_preproc"
73922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73927 cat >>confdefs.h <<_ACEOF
73928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73929 _ACEOF
73933 done
73935 SECTION_FLAGS='-ffunction-sections -fdata-sections'
73938 # If we're not using GNU ld, then there's no point in even trying these
73939 # tests. Check for that first. We should have already tested for gld
73940 # by now (in libtool), but require it now just to be safe...
73941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
73942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
73946 # The name set by libtool depends on the version of libtool. Shame on us
73947 # for depending on an impl detail, but c'est la vie. Older versions used
73948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
73949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
73950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
73951 # set (hence we're using an older libtool), then set it.
73952 if test x${with_gnu_ld+set} != xset; then
73953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
73954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
73955 with_gnu_ld=no
73956 else
73957 with_gnu_ld=$ac_cv_prog_gnu_ld
73961 # Start by getting the version number. I think the libtool test already
73962 # does some of this, but throws away the result.
73964 ldver=`$LD --version 2>/dev/null | head -1 | \
73965 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
73967 glibcxx_gnu_ld_version=`echo $ldver | \
73968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
73970 # Set --gc-sections.
73971 if test "$with_gnu_ld" = "notbroken"; then
73972 # GNU ld it is! Joy and bunny rabbits!
73974 # All these tests are for C++; save the language and the compiler flags.
73975 # Need to do this so that g++ won't try to link in libstdc++
73976 ac_test_CFLAGS="${CFLAGS+set}"
73977 ac_save_CFLAGS="$CFLAGS"
73978 CFLAGS='-x c++ -Wl,--gc-sections'
73980 # Check for -Wl,--gc-sections
73981 # XXX This test is broken at the moment, as symbols required for linking
73982 # are now in libsupc++ (not built yet). In addition, this test has
73983 # cored on solaris in the past. In addition, --gc-sections doesn't
73984 # really work at the moment (keeps on discarding used sections, first
73985 # .eh_frame and now some of the glibc sections for iconv).
73986 # Bzzzzt. Thanks for playing, maybe next time.
73987 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
73988 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
73989 if test "$cross_compiling" = yes; then
73990 ac_sectionLDflags=yes
73991 else
73992 cat >conftest.$ac_ext <<_ACEOF
73993 /* confdefs.h. */
73994 _ACEOF
73995 cat confdefs.h >>conftest.$ac_ext
73996 cat >>conftest.$ac_ext <<_ACEOF
73997 /* end confdefs.h. */
73999 int main(void)
74001 try { throw 1; }
74002 catch (...) { };
74003 return 0;
74006 _ACEOF
74007 rm -f conftest$ac_exeext
74008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74009 (eval $ac_link) 2>&5
74010 ac_status=$?
74011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74014 (eval $ac_try) 2>&5
74015 ac_status=$?
74016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74017 (exit $ac_status); }; }; then
74018 ac_sectionLDflags=yes
74019 else
74020 echo "$as_me: program exited with status $ac_status" >&5
74021 echo "$as_me: failed program was:" >&5
74022 sed 's/^/| /' conftest.$ac_ext >&5
74024 ( exit $ac_status )
74025 ac_sectionLDflags=no
74027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74029 if test "$ac_test_CFLAGS" = set; then
74030 CFLAGS="$ac_save_CFLAGS"
74031 else
74032 # this is the suspicious part
74033 CFLAGS=''
74035 if test "$ac_sectionLDflags" = "yes"; then
74036 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74038 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74039 echo "${ECHO_T}$ac_sectionLDflags" >&6
74042 # Set linker optimization flags.
74043 if test x"$with_gnu_ld" = x"yes"; then
74044 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74052 echo "$as_me:$LINENO: checking for main in -lm" >&5
74053 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74054 if test "${ac_cv_lib_m_main+set}" = set; then
74055 echo $ECHO_N "(cached) $ECHO_C" >&6
74056 else
74057 ac_check_lib_save_LIBS=$LIBS
74058 LIBS="-lm $LIBS"
74059 if test x$gcc_no_link = xyes; then
74060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74062 { (exit 1); exit 1; }; }
74064 cat >conftest.$ac_ext <<_ACEOF
74065 /* confdefs.h. */
74066 _ACEOF
74067 cat confdefs.h >>conftest.$ac_ext
74068 cat >>conftest.$ac_ext <<_ACEOF
74069 /* end confdefs.h. */
74073 main ()
74075 main ();
74077 return 0;
74079 _ACEOF
74080 rm -f conftest.$ac_objext conftest$ac_exeext
74081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74082 (eval $ac_link) 2>conftest.er1
74083 ac_status=$?
74084 grep -v '^ *+' conftest.er1 >conftest.err
74085 rm -f conftest.er1
74086 cat conftest.err >&5
74087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74088 (exit $ac_status); } &&
74089 { ac_try='test -z "$ac_c_werror_flag"
74090 || test ! -s conftest.err'
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); }; } &&
74096 { ac_try='test -s conftest$ac_exeext'
74097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74098 (eval $ac_try) 2>&5
74099 ac_status=$?
74100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74101 (exit $ac_status); }; }; then
74102 ac_cv_lib_m_main=yes
74103 else
74104 echo "$as_me: failed program was:" >&5
74105 sed 's/^/| /' conftest.$ac_ext >&5
74107 ac_cv_lib_m_main=no
74109 rm -f conftest.err conftest.$ac_objext \
74110 conftest$ac_exeext conftest.$ac_ext
74111 LIBS=$ac_check_lib_save_LIBS
74113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74114 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74115 if test $ac_cv_lib_m_main = yes; then
74116 cat >>confdefs.h <<_ACEOF
74117 #define HAVE_LIBM 1
74118 _ACEOF
74120 LIBS="-lm $LIBS"
74125 for ac_func in copysignf
74127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74128 echo "$as_me:$LINENO: checking for $ac_func" >&5
74129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74130 if eval "test \"\${$as_ac_var+set}\" = set"; then
74131 echo $ECHO_N "(cached) $ECHO_C" >&6
74132 else
74133 if test x$gcc_no_link = xyes; then
74134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74136 { (exit 1); exit 1; }; }
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h. */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h. */
74144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74146 #define $ac_func innocuous_$ac_func
74148 /* System header to define __stub macros and hopefully few prototypes,
74149 which can conflict with char $ac_func (); below.
74150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74151 <limits.h> exists even on freestanding compilers. */
74153 #ifdef __STDC__
74154 # include <limits.h>
74155 #else
74156 # include <assert.h>
74157 #endif
74159 #undef $ac_func
74161 /* Override any gcc2 internal prototype to avoid an error. */
74162 #ifdef __cplusplus
74163 extern "C"
74165 #endif
74166 /* We use char because int might match the return type of a gcc2
74167 builtin and then its argument prototype would still apply. */
74168 char $ac_func ();
74169 /* The GNU C library defines this for functions which it implements
74170 to always fail with ENOSYS. Some functions are actually named
74171 something starting with __ and the normal name is an alias. */
74172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74173 choke me
74174 #else
74175 char (*f) () = $ac_func;
74176 #endif
74177 #ifdef __cplusplus
74179 #endif
74182 main ()
74184 return f != $ac_func;
74186 return 0;
74188 _ACEOF
74189 rm -f conftest.$ac_objext conftest$ac_exeext
74190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74191 (eval $ac_link) 2>conftest.er1
74192 ac_status=$?
74193 grep -v '^ *+' conftest.er1 >conftest.err
74194 rm -f conftest.er1
74195 cat conftest.err >&5
74196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197 (exit $ac_status); } &&
74198 { ac_try='test -z "$ac_c_werror_flag"
74199 || test ! -s conftest.err'
74200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74201 (eval $ac_try) 2>&5
74202 ac_status=$?
74203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74204 (exit $ac_status); }; } &&
74205 { ac_try='test -s conftest$ac_exeext'
74206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207 (eval $ac_try) 2>&5
74208 ac_status=$?
74209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210 (exit $ac_status); }; }; then
74211 eval "$as_ac_var=yes"
74212 else
74213 echo "$as_me: failed program was:" >&5
74214 sed 's/^/| /' conftest.$ac_ext >&5
74216 eval "$as_ac_var=no"
74218 rm -f conftest.err conftest.$ac_objext \
74219 conftest$ac_exeext conftest.$ac_ext
74221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74223 if test `eval echo '${'$as_ac_var'}'` = yes; then
74224 cat >>confdefs.h <<_ACEOF
74225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74226 _ACEOF
74228 else
74229 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74231 done
74235 for ac_func in __signbit
74237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74238 echo "$as_me:$LINENO: checking for $ac_func" >&5
74239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74240 if eval "test \"\${$as_ac_var+set}\" = set"; then
74241 echo $ECHO_N "(cached) $ECHO_C" >&6
74242 else
74243 if test x$gcc_no_link = xyes; then
74244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74246 { (exit 1); exit 1; }; }
74248 cat >conftest.$ac_ext <<_ACEOF
74249 /* confdefs.h. */
74250 _ACEOF
74251 cat confdefs.h >>conftest.$ac_ext
74252 cat >>conftest.$ac_ext <<_ACEOF
74253 /* end confdefs.h. */
74254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74256 #define $ac_func innocuous_$ac_func
74258 /* System header to define __stub macros and hopefully few prototypes,
74259 which can conflict with char $ac_func (); below.
74260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74261 <limits.h> exists even on freestanding compilers. */
74263 #ifdef __STDC__
74264 # include <limits.h>
74265 #else
74266 # include <assert.h>
74267 #endif
74269 #undef $ac_func
74271 /* Override any gcc2 internal prototype to avoid an error. */
74272 #ifdef __cplusplus
74273 extern "C"
74275 #endif
74276 /* We use char because int might match the return type of a gcc2
74277 builtin and then its argument prototype would still apply. */
74278 char $ac_func ();
74279 /* The GNU C library defines this for functions which it implements
74280 to always fail with ENOSYS. Some functions are actually named
74281 something starting with __ and the normal name is an alias. */
74282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74283 choke me
74284 #else
74285 char (*f) () = $ac_func;
74286 #endif
74287 #ifdef __cplusplus
74289 #endif
74292 main ()
74294 return f != $ac_func;
74296 return 0;
74298 _ACEOF
74299 rm -f conftest.$ac_objext conftest$ac_exeext
74300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74301 (eval $ac_link) 2>conftest.er1
74302 ac_status=$?
74303 grep -v '^ *+' conftest.er1 >conftest.err
74304 rm -f conftest.er1
74305 cat conftest.err >&5
74306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74307 (exit $ac_status); } &&
74308 { ac_try='test -z "$ac_c_werror_flag"
74309 || test ! -s conftest.err'
74310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74311 (eval $ac_try) 2>&5
74312 ac_status=$?
74313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74314 (exit $ac_status); }; } &&
74315 { ac_try='test -s conftest$ac_exeext'
74316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74317 (eval $ac_try) 2>&5
74318 ac_status=$?
74319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74320 (exit $ac_status); }; }; then
74321 eval "$as_ac_var=yes"
74322 else
74323 echo "$as_me: failed program was:" >&5
74324 sed 's/^/| /' conftest.$ac_ext >&5
74326 eval "$as_ac_var=no"
74328 rm -f conftest.err conftest.$ac_objext \
74329 conftest$ac_exeext conftest.$ac_ext
74331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74333 if test `eval echo '${'$as_ac_var'}'` = yes; then
74334 cat >>confdefs.h <<_ACEOF
74335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74336 _ACEOF
74338 else
74339 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74341 done
74345 for ac_func in __signbitf
74347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74348 echo "$as_me:$LINENO: checking for $ac_func" >&5
74349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74350 if eval "test \"\${$as_ac_var+set}\" = set"; then
74351 echo $ECHO_N "(cached) $ECHO_C" >&6
74352 else
74353 if test x$gcc_no_link = xyes; then
74354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74356 { (exit 1); exit 1; }; }
74358 cat >conftest.$ac_ext <<_ACEOF
74359 /* confdefs.h. */
74360 _ACEOF
74361 cat confdefs.h >>conftest.$ac_ext
74362 cat >>conftest.$ac_ext <<_ACEOF
74363 /* end confdefs.h. */
74364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74366 #define $ac_func innocuous_$ac_func
74368 /* System header to define __stub macros and hopefully few prototypes,
74369 which can conflict with char $ac_func (); below.
74370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74371 <limits.h> exists even on freestanding compilers. */
74373 #ifdef __STDC__
74374 # include <limits.h>
74375 #else
74376 # include <assert.h>
74377 #endif
74379 #undef $ac_func
74381 /* Override any gcc2 internal prototype to avoid an error. */
74382 #ifdef __cplusplus
74383 extern "C"
74385 #endif
74386 /* We use char because int might match the return type of a gcc2
74387 builtin and then its argument prototype would still apply. */
74388 char $ac_func ();
74389 /* The GNU C library defines this for functions which it implements
74390 to always fail with ENOSYS. Some functions are actually named
74391 something starting with __ and the normal name is an alias. */
74392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74393 choke me
74394 #else
74395 char (*f) () = $ac_func;
74396 #endif
74397 #ifdef __cplusplus
74399 #endif
74402 main ()
74404 return f != $ac_func;
74406 return 0;
74408 _ACEOF
74409 rm -f conftest.$ac_objext conftest$ac_exeext
74410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74411 (eval $ac_link) 2>conftest.er1
74412 ac_status=$?
74413 grep -v '^ *+' conftest.er1 >conftest.err
74414 rm -f conftest.er1
74415 cat conftest.err >&5
74416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74417 (exit $ac_status); } &&
74418 { ac_try='test -z "$ac_c_werror_flag"
74419 || test ! -s conftest.err'
74420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74421 (eval $ac_try) 2>&5
74422 ac_status=$?
74423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74424 (exit $ac_status); }; } &&
74425 { ac_try='test -s conftest$ac_exeext'
74426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74427 (eval $ac_try) 2>&5
74428 ac_status=$?
74429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430 (exit $ac_status); }; }; then
74431 eval "$as_ac_var=yes"
74432 else
74433 echo "$as_me: failed program was:" >&5
74434 sed 's/^/| /' conftest.$ac_ext >&5
74436 eval "$as_ac_var=no"
74438 rm -f conftest.err conftest.$ac_objext \
74439 conftest$ac_exeext conftest.$ac_ext
74441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74443 if test `eval echo '${'$as_ac_var'}'` = yes; then
74444 cat >>confdefs.h <<_ACEOF
74445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74446 _ACEOF
74448 else
74449 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74451 done
74454 if test x$ac_cv_func_copysignl = x"yes"; then
74456 for ac_func in __signbitl
74458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74459 echo "$as_me:$LINENO: checking for $ac_func" >&5
74460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74461 if eval "test \"\${$as_ac_var+set}\" = set"; then
74462 echo $ECHO_N "(cached) $ECHO_C" >&6
74463 else
74464 if test x$gcc_no_link = xyes; then
74465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74467 { (exit 1); exit 1; }; }
74469 cat >conftest.$ac_ext <<_ACEOF
74470 /* confdefs.h. */
74471 _ACEOF
74472 cat confdefs.h >>conftest.$ac_ext
74473 cat >>conftest.$ac_ext <<_ACEOF
74474 /* end confdefs.h. */
74475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74477 #define $ac_func innocuous_$ac_func
74479 /* System header to define __stub macros and hopefully few prototypes,
74480 which can conflict with char $ac_func (); below.
74481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74482 <limits.h> exists even on freestanding compilers. */
74484 #ifdef __STDC__
74485 # include <limits.h>
74486 #else
74487 # include <assert.h>
74488 #endif
74490 #undef $ac_func
74492 /* Override any gcc2 internal prototype to avoid an error. */
74493 #ifdef __cplusplus
74494 extern "C"
74496 #endif
74497 /* We use char because int might match the return type of a gcc2
74498 builtin and then its argument prototype would still apply. */
74499 char $ac_func ();
74500 /* The GNU C library defines this for functions which it implements
74501 to always fail with ENOSYS. Some functions are actually named
74502 something starting with __ and the normal name is an alias. */
74503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74504 choke me
74505 #else
74506 char (*f) () = $ac_func;
74507 #endif
74508 #ifdef __cplusplus
74510 #endif
74513 main ()
74515 return f != $ac_func;
74517 return 0;
74519 _ACEOF
74520 rm -f conftest.$ac_objext conftest$ac_exeext
74521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74522 (eval $ac_link) 2>conftest.er1
74523 ac_status=$?
74524 grep -v '^ *+' conftest.er1 >conftest.err
74525 rm -f conftest.er1
74526 cat conftest.err >&5
74527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74528 (exit $ac_status); } &&
74529 { ac_try='test -z "$ac_c_werror_flag"
74530 || test ! -s conftest.err'
74531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74532 (eval $ac_try) 2>&5
74533 ac_status=$?
74534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74535 (exit $ac_status); }; } &&
74536 { ac_try='test -s conftest$ac_exeext'
74537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74538 (eval $ac_try) 2>&5
74539 ac_status=$?
74540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541 (exit $ac_status); }; }; then
74542 eval "$as_ac_var=yes"
74543 else
74544 echo "$as_me: failed program was:" >&5
74545 sed 's/^/| /' conftest.$ac_ext >&5
74547 eval "$as_ac_var=no"
74549 rm -f conftest.err conftest.$ac_objext \
74550 conftest$ac_exeext conftest.$ac_ext
74552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74554 if test `eval echo '${'$as_ac_var'}'` = yes; then
74555 cat >>confdefs.h <<_ACEOF
74556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74557 _ACEOF
74559 else
74560 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74562 done
74566 # Used in libmath/Makefile.am.
74567 if test -n "$LIBMATHOBJS"; then
74568 need_libmath=yes
74574 enable_iconv=no
74575 # Only continue checking if the ISO C99 headers exist and support is on.
74576 if test x"$enable_wchar_t" = xyes; then
74578 # Use iconv for wchar_t to char conversions. As such, check for
74579 # X/Open Portability Guide, version 2 features (XPG2).
74580 if test "${ac_cv_header_iconv_h+set}" = set; then
74581 echo "$as_me:$LINENO: checking for iconv.h" >&5
74582 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74583 if test "${ac_cv_header_iconv_h+set}" = set; then
74584 echo $ECHO_N "(cached) $ECHO_C" >&6
74586 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74587 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74588 else
74589 # Is the header compilable?
74590 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74591 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74592 cat >conftest.$ac_ext <<_ACEOF
74593 /* confdefs.h. */
74594 _ACEOF
74595 cat confdefs.h >>conftest.$ac_ext
74596 cat >>conftest.$ac_ext <<_ACEOF
74597 /* end confdefs.h. */
74598 $ac_includes_default
74599 #include <iconv.h>
74600 _ACEOF
74601 rm -f conftest.$ac_objext
74602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74603 (eval $ac_compile) 2>conftest.er1
74604 ac_status=$?
74605 grep -v '^ *+' conftest.er1 >conftest.err
74606 rm -f conftest.er1
74607 cat conftest.err >&5
74608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74609 (exit $ac_status); } &&
74610 { ac_try='test -z "$ac_c_werror_flag"
74611 || test ! -s conftest.err'
74612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74613 (eval $ac_try) 2>&5
74614 ac_status=$?
74615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74616 (exit $ac_status); }; } &&
74617 { ac_try='test -s conftest.$ac_objext'
74618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74619 (eval $ac_try) 2>&5
74620 ac_status=$?
74621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74622 (exit $ac_status); }; }; then
74623 ac_header_compiler=yes
74624 else
74625 echo "$as_me: failed program was:" >&5
74626 sed 's/^/| /' conftest.$ac_ext >&5
74628 ac_header_compiler=no
74630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74632 echo "${ECHO_T}$ac_header_compiler" >&6
74634 # Is the header present?
74635 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74636 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74637 cat >conftest.$ac_ext <<_ACEOF
74638 /* confdefs.h. */
74639 _ACEOF
74640 cat confdefs.h >>conftest.$ac_ext
74641 cat >>conftest.$ac_ext <<_ACEOF
74642 /* end confdefs.h. */
74643 #include <iconv.h>
74644 _ACEOF
74645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74647 ac_status=$?
74648 grep -v '^ *+' conftest.er1 >conftest.err
74649 rm -f conftest.er1
74650 cat conftest.err >&5
74651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74652 (exit $ac_status); } >/dev/null; then
74653 if test -s conftest.err; then
74654 ac_cpp_err=$ac_c_preproc_warn_flag
74655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74656 else
74657 ac_cpp_err=
74659 else
74660 ac_cpp_err=yes
74662 if test -z "$ac_cpp_err"; then
74663 ac_header_preproc=yes
74664 else
74665 echo "$as_me: failed program was:" >&5
74666 sed 's/^/| /' conftest.$ac_ext >&5
74668 ac_header_preproc=no
74670 rm -f conftest.err conftest.$ac_ext
74671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74672 echo "${ECHO_T}$ac_header_preproc" >&6
74674 # So? What about this header?
74675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74676 yes:no: )
74677 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74678 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74679 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74680 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74681 ac_header_preproc=yes
74683 no:yes:* )
74684 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74685 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74686 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74687 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74688 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74689 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74690 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74691 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74692 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74693 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74694 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74695 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74697 cat <<\_ASBOX
74698 ## ----------------------------------------- ##
74699 ## Report this to the package-unused lists. ##
74700 ## ----------------------------------------- ##
74701 _ASBOX
74703 sed "s/^/$as_me: WARNING: /" >&2
74705 esac
74706 echo "$as_me:$LINENO: checking for iconv.h" >&5
74707 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74708 if test "${ac_cv_header_iconv_h+set}" = set; then
74709 echo $ECHO_N "(cached) $ECHO_C" >&6
74710 else
74711 ac_cv_header_iconv_h=$ac_header_preproc
74713 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74714 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74717 if test $ac_cv_header_iconv_h = yes; then
74718 ac_has_iconv_h=yes
74719 else
74720 ac_has_iconv_h=no
74724 if test "${ac_cv_header_langinfo_h+set}" = set; then
74725 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74726 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74727 if test "${ac_cv_header_langinfo_h+set}" = set; then
74728 echo $ECHO_N "(cached) $ECHO_C" >&6
74730 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74731 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74732 else
74733 # Is the header compilable?
74734 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74735 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74736 cat >conftest.$ac_ext <<_ACEOF
74737 /* confdefs.h. */
74738 _ACEOF
74739 cat confdefs.h >>conftest.$ac_ext
74740 cat >>conftest.$ac_ext <<_ACEOF
74741 /* end confdefs.h. */
74742 $ac_includes_default
74743 #include <langinfo.h>
74744 _ACEOF
74745 rm -f conftest.$ac_objext
74746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74747 (eval $ac_compile) 2>conftest.er1
74748 ac_status=$?
74749 grep -v '^ *+' conftest.er1 >conftest.err
74750 rm -f conftest.er1
74751 cat conftest.err >&5
74752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753 (exit $ac_status); } &&
74754 { ac_try='test -z "$ac_c_werror_flag"
74755 || test ! -s conftest.err'
74756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757 (eval $ac_try) 2>&5
74758 ac_status=$?
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); }; } &&
74761 { ac_try='test -s conftest.$ac_objext'
74762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74763 (eval $ac_try) 2>&5
74764 ac_status=$?
74765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766 (exit $ac_status); }; }; then
74767 ac_header_compiler=yes
74768 else
74769 echo "$as_me: failed program was:" >&5
74770 sed 's/^/| /' conftest.$ac_ext >&5
74772 ac_header_compiler=no
74774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74776 echo "${ECHO_T}$ac_header_compiler" >&6
74778 # Is the header present?
74779 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74780 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74781 cat >conftest.$ac_ext <<_ACEOF
74782 /* confdefs.h. */
74783 _ACEOF
74784 cat confdefs.h >>conftest.$ac_ext
74785 cat >>conftest.$ac_ext <<_ACEOF
74786 /* end confdefs.h. */
74787 #include <langinfo.h>
74788 _ACEOF
74789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74791 ac_status=$?
74792 grep -v '^ *+' conftest.er1 >conftest.err
74793 rm -f conftest.er1
74794 cat conftest.err >&5
74795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74796 (exit $ac_status); } >/dev/null; then
74797 if test -s conftest.err; then
74798 ac_cpp_err=$ac_c_preproc_warn_flag
74799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74800 else
74801 ac_cpp_err=
74803 else
74804 ac_cpp_err=yes
74806 if test -z "$ac_cpp_err"; then
74807 ac_header_preproc=yes
74808 else
74809 echo "$as_me: failed program was:" >&5
74810 sed 's/^/| /' conftest.$ac_ext >&5
74812 ac_header_preproc=no
74814 rm -f conftest.err conftest.$ac_ext
74815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74816 echo "${ECHO_T}$ac_header_preproc" >&6
74818 # So? What about this header?
74819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74820 yes:no: )
74821 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74822 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74823 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74824 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74825 ac_header_preproc=yes
74827 no:yes:* )
74828 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74829 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74830 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74831 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74832 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74833 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74834 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74835 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74836 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74837 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74838 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74839 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74841 cat <<\_ASBOX
74842 ## ----------------------------------------- ##
74843 ## Report this to the package-unused lists. ##
74844 ## ----------------------------------------- ##
74845 _ASBOX
74847 sed "s/^/$as_me: WARNING: /" >&2
74849 esac
74850 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74851 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74852 if test "${ac_cv_header_langinfo_h+set}" = set; then
74853 echo $ECHO_N "(cached) $ECHO_C" >&6
74854 else
74855 ac_cv_header_langinfo_h=$ac_header_preproc
74857 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74858 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74861 if test $ac_cv_header_langinfo_h = yes; then
74862 ac_has_langinfo_h=yes
74863 else
74864 ac_has_langinfo_h=no
74869 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74870 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74871 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74872 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74873 echo $ECHO_N "(cached) $ECHO_C" >&6
74874 else
74875 ac_check_lib_save_LIBS=$LIBS
74876 LIBS="-liconv $LIBS"
74877 if test x$gcc_no_link = xyes; then
74878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74880 { (exit 1); exit 1; }; }
74882 cat >conftest.$ac_ext <<_ACEOF
74883 /* confdefs.h. */
74884 _ACEOF
74885 cat confdefs.h >>conftest.$ac_ext
74886 cat >>conftest.$ac_ext <<_ACEOF
74887 /* end confdefs.h. */
74889 /* Override any gcc2 internal prototype to avoid an error. */
74890 #ifdef __cplusplus
74891 extern "C"
74892 #endif
74893 /* We use char because int might match the return type of a gcc2
74894 builtin and then its argument prototype would still apply. */
74895 char iconv ();
74897 main ()
74899 iconv ();
74901 return 0;
74903 _ACEOF
74904 rm -f conftest.$ac_objext conftest$ac_exeext
74905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74906 (eval $ac_link) 2>conftest.er1
74907 ac_status=$?
74908 grep -v '^ *+' conftest.er1 >conftest.err
74909 rm -f conftest.er1
74910 cat conftest.err >&5
74911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74912 (exit $ac_status); } &&
74913 { ac_try='test -z "$ac_c_werror_flag"
74914 || test ! -s conftest.err'
74915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74916 (eval $ac_try) 2>&5
74917 ac_status=$?
74918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74919 (exit $ac_status); }; } &&
74920 { ac_try='test -s conftest$ac_exeext'
74921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922 (eval $ac_try) 2>&5
74923 ac_status=$?
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); }; }; then
74926 ac_cv_lib_iconv_iconv=yes
74927 else
74928 echo "$as_me: failed program was:" >&5
74929 sed 's/^/| /' conftest.$ac_ext >&5
74931 ac_cv_lib_iconv_iconv=no
74933 rm -f conftest.err conftest.$ac_objext \
74934 conftest$ac_exeext conftest.$ac_ext
74935 LIBS=$ac_check_lib_save_LIBS
74937 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74938 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74939 if test $ac_cv_lib_iconv_iconv = yes; then
74940 LIBICONV="-liconv"
74943 ac_save_LIBS="$LIBS"
74944 LIBS="$LIBS $LIBICONV"
74951 for ac_func in iconv_open iconv_close iconv nl_langinfo
74953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74954 echo "$as_me:$LINENO: checking for $ac_func" >&5
74955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74956 if eval "test \"\${$as_ac_var+set}\" = set"; then
74957 echo $ECHO_N "(cached) $ECHO_C" >&6
74958 else
74959 if test x$gcc_no_link = xyes; then
74960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74962 { (exit 1); exit 1; }; }
74964 cat >conftest.$ac_ext <<_ACEOF
74965 /* confdefs.h. */
74966 _ACEOF
74967 cat confdefs.h >>conftest.$ac_ext
74968 cat >>conftest.$ac_ext <<_ACEOF
74969 /* end confdefs.h. */
74970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74972 #define $ac_func innocuous_$ac_func
74974 /* System header to define __stub macros and hopefully few prototypes,
74975 which can conflict with char $ac_func (); below.
74976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74977 <limits.h> exists even on freestanding compilers. */
74979 #ifdef __STDC__
74980 # include <limits.h>
74981 #else
74982 # include <assert.h>
74983 #endif
74985 #undef $ac_func
74987 /* Override any gcc2 internal prototype to avoid an error. */
74988 #ifdef __cplusplus
74989 extern "C"
74991 #endif
74992 /* We use char because int might match the return type of a gcc2
74993 builtin and then its argument prototype would still apply. */
74994 char $ac_func ();
74995 /* The GNU C library defines this for functions which it implements
74996 to always fail with ENOSYS. Some functions are actually named
74997 something starting with __ and the normal name is an alias. */
74998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74999 choke me
75000 #else
75001 char (*f) () = $ac_func;
75002 #endif
75003 #ifdef __cplusplus
75005 #endif
75008 main ()
75010 return f != $ac_func;
75012 return 0;
75014 _ACEOF
75015 rm -f conftest.$ac_objext conftest$ac_exeext
75016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75017 (eval $ac_link) 2>conftest.er1
75018 ac_status=$?
75019 grep -v '^ *+' conftest.er1 >conftest.err
75020 rm -f conftest.er1
75021 cat conftest.err >&5
75022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75023 (exit $ac_status); } &&
75024 { ac_try='test -z "$ac_c_werror_flag"
75025 || test ! -s conftest.err'
75026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75027 (eval $ac_try) 2>&5
75028 ac_status=$?
75029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75030 (exit $ac_status); }; } &&
75031 { ac_try='test -s conftest$ac_exeext'
75032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75033 (eval $ac_try) 2>&5
75034 ac_status=$?
75035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75036 (exit $ac_status); }; }; then
75037 eval "$as_ac_var=yes"
75038 else
75039 echo "$as_me: failed program was:" >&5
75040 sed 's/^/| /' conftest.$ac_ext >&5
75042 eval "$as_ac_var=no"
75044 rm -f conftest.err conftest.$ac_objext \
75045 conftest$ac_exeext conftest.$ac_ext
75047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75049 if test `eval echo '${'$as_ac_var'}'` = yes; then
75050 cat >>confdefs.h <<_ACEOF
75051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75052 _ACEOF
75053 ac_XPG2funcs=yes
75054 else
75055 ac_XPG2funcs=no
75057 done
75060 LIBS="$ac_save_LIBS"
75062 if test x"$ac_has_iconv_h" = xyes &&
75063 test x"$ac_has_langinfo_h" = xyes &&
75064 test x"$ac_XPG2funcs" = xyes;
75065 then
75067 cat >>confdefs.h <<\_ACEOF
75068 #define _GLIBCXX_USE_ICONV 1
75069 _ACEOF
75071 enable_iconv=yes
75074 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75075 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75076 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75077 echo "${ECHO_T}$enable_iconv" >&6
75079 cat >>confdefs.h <<\_ACEOF
75080 #define HAVE_COPYSIGN 1
75081 _ACEOF
75083 cat >>confdefs.h <<\_ACEOF
75084 #define HAVE_COPYSIGNF 1
75085 _ACEOF
75087 cat >>confdefs.h <<\_ACEOF
75088 #define HAVE_FREXPF 1
75089 _ACEOF
75091 cat >>confdefs.h <<\_ACEOF
75092 #define HAVE_HYPOT 1
75093 _ACEOF
75095 case "$target" in
75096 *-hpux10*)
75097 cat >>confdefs.h <<\_ACEOF
75098 #define HAVE_FINITE 1
75099 _ACEOF
75101 cat >>confdefs.h <<\_ACEOF
75102 #define HAVE_FINITEF 1
75103 _ACEOF
75105 cat >>confdefs.h <<\_ACEOF
75106 #define HAVE_ISINF 1
75107 _ACEOF
75109 cat >>confdefs.h <<\_ACEOF
75110 #define HAVE_ISINFF 1
75111 _ACEOF
75113 cat >>confdefs.h <<\_ACEOF
75114 #define HAVE_ISNAN 1
75115 _ACEOF
75117 cat >>confdefs.h <<\_ACEOF
75118 #define HAVE_ISNANF 1
75119 _ACEOF
75122 esac
75124 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
75140 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75141 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75142 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
75144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75146 echo "$as_me:$LINENO: checking for $ac_header" >&5
75147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75149 echo $ECHO_N "(cached) $ECHO_C" >&6
75151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75153 else
75154 # Is the header compilable?
75155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75157 cat >conftest.$ac_ext <<_ACEOF
75158 /* confdefs.h. */
75159 _ACEOF
75160 cat confdefs.h >>conftest.$ac_ext
75161 cat >>conftest.$ac_ext <<_ACEOF
75162 /* end confdefs.h. */
75163 $ac_includes_default
75164 #include <$ac_header>
75165 _ACEOF
75166 rm -f conftest.$ac_objext
75167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75168 (eval $ac_compile) 2>conftest.er1
75169 ac_status=$?
75170 grep -v '^ *+' conftest.er1 >conftest.err
75171 rm -f conftest.er1
75172 cat conftest.err >&5
75173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174 (exit $ac_status); } &&
75175 { ac_try='test -z "$ac_c_werror_flag"
75176 || test ! -s conftest.err'
75177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75178 (eval $ac_try) 2>&5
75179 ac_status=$?
75180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75181 (exit $ac_status); }; } &&
75182 { ac_try='test -s conftest.$ac_objext'
75183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75184 (eval $ac_try) 2>&5
75185 ac_status=$?
75186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75187 (exit $ac_status); }; }; then
75188 ac_header_compiler=yes
75189 else
75190 echo "$as_me: failed program was:" >&5
75191 sed 's/^/| /' conftest.$ac_ext >&5
75193 ac_header_compiler=no
75195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75197 echo "${ECHO_T}$ac_header_compiler" >&6
75199 # Is the header present?
75200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75202 cat >conftest.$ac_ext <<_ACEOF
75203 /* confdefs.h. */
75204 _ACEOF
75205 cat confdefs.h >>conftest.$ac_ext
75206 cat >>conftest.$ac_ext <<_ACEOF
75207 /* end confdefs.h. */
75208 #include <$ac_header>
75209 _ACEOF
75210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75212 ac_status=$?
75213 grep -v '^ *+' conftest.er1 >conftest.err
75214 rm -f conftest.er1
75215 cat conftest.err >&5
75216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75217 (exit $ac_status); } >/dev/null; then
75218 if test -s conftest.err; then
75219 ac_cpp_err=$ac_c_preproc_warn_flag
75220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75221 else
75222 ac_cpp_err=
75224 else
75225 ac_cpp_err=yes
75227 if test -z "$ac_cpp_err"; then
75228 ac_header_preproc=yes
75229 else
75230 echo "$as_me: failed program was:" >&5
75231 sed 's/^/| /' conftest.$ac_ext >&5
75233 ac_header_preproc=no
75235 rm -f conftest.err conftest.$ac_ext
75236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75237 echo "${ECHO_T}$ac_header_preproc" >&6
75239 # So? What about this header?
75240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75241 yes:no: )
75242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75246 ac_header_preproc=yes
75248 no:yes:* )
75249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75262 cat <<\_ASBOX
75263 ## ----------------------------------------- ##
75264 ## Report this to the package-unused lists. ##
75265 ## ----------------------------------------- ##
75266 _ASBOX
75268 sed "s/^/$as_me: WARNING: /" >&2
75270 esac
75271 echo "$as_me:$LINENO: checking for $ac_header" >&5
75272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75274 echo $ECHO_N "(cached) $ECHO_C" >&6
75275 else
75276 eval "$as_ac_Header=\$ac_header_preproc"
75278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75283 cat >>confdefs.h <<_ACEOF
75284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75285 _ACEOF
75289 done
75291 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75294 # If we're not using GNU ld, then there's no point in even trying these
75295 # tests. Check for that first. We should have already tested for gld
75296 # by now (in libtool), but require it now just to be safe...
75297 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75298 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75302 # The name set by libtool depends on the version of libtool. Shame on us
75303 # for depending on an impl detail, but c'est la vie. Older versions used
75304 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75305 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75306 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75307 # set (hence we're using an older libtool), then set it.
75308 if test x${with_gnu_ld+set} != xset; then
75309 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75310 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75311 with_gnu_ld=no
75312 else
75313 with_gnu_ld=$ac_cv_prog_gnu_ld
75317 # Start by getting the version number. I think the libtool test already
75318 # does some of this, but throws away the result.
75320 ldver=`$LD --version 2>/dev/null | head -1 | \
75321 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75323 glibcxx_gnu_ld_version=`echo $ldver | \
75324 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75326 # Set --gc-sections.
75327 if test "$with_gnu_ld" = "notbroken"; then
75328 # GNU ld it is! Joy and bunny rabbits!
75330 # All these tests are for C++; save the language and the compiler flags.
75331 # Need to do this so that g++ won't try to link in libstdc++
75332 ac_test_CFLAGS="${CFLAGS+set}"
75333 ac_save_CFLAGS="$CFLAGS"
75334 CFLAGS='-x c++ -Wl,--gc-sections'
75336 # Check for -Wl,--gc-sections
75337 # XXX This test is broken at the moment, as symbols required for linking
75338 # are now in libsupc++ (not built yet). In addition, this test has
75339 # cored on solaris in the past. In addition, --gc-sections doesn't
75340 # really work at the moment (keeps on discarding used sections, first
75341 # .eh_frame and now some of the glibc sections for iconv).
75342 # Bzzzzt. Thanks for playing, maybe next time.
75343 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75345 if test "$cross_compiling" = yes; then
75346 ac_sectionLDflags=yes
75347 else
75348 cat >conftest.$ac_ext <<_ACEOF
75349 /* confdefs.h. */
75350 _ACEOF
75351 cat confdefs.h >>conftest.$ac_ext
75352 cat >>conftest.$ac_ext <<_ACEOF
75353 /* end confdefs.h. */
75355 int main(void)
75357 try { throw 1; }
75358 catch (...) { };
75359 return 0;
75362 _ACEOF
75363 rm -f conftest$ac_exeext
75364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75365 (eval $ac_link) 2>&5
75366 ac_status=$?
75367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75370 (eval $ac_try) 2>&5
75371 ac_status=$?
75372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75373 (exit $ac_status); }; }; then
75374 ac_sectionLDflags=yes
75375 else
75376 echo "$as_me: program exited with status $ac_status" >&5
75377 echo "$as_me: failed program was:" >&5
75378 sed 's/^/| /' conftest.$ac_ext >&5
75380 ( exit $ac_status )
75381 ac_sectionLDflags=no
75383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75385 if test "$ac_test_CFLAGS" = set; then
75386 CFLAGS="$ac_save_CFLAGS"
75387 else
75388 # this is the suspicious part
75389 CFLAGS=''
75391 if test "$ac_sectionLDflags" = "yes"; then
75392 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75394 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75395 echo "${ECHO_T}$ac_sectionLDflags" >&6
75398 # Set linker optimization flags.
75399 if test x"$with_gnu_ld" = x"yes"; then
75400 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75408 echo "$as_me:$LINENO: checking for main in -lm" >&5
75409 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75410 if test "${ac_cv_lib_m_main+set}" = set; then
75411 echo $ECHO_N "(cached) $ECHO_C" >&6
75412 else
75413 ac_check_lib_save_LIBS=$LIBS
75414 LIBS="-lm $LIBS"
75415 if test x$gcc_no_link = xyes; then
75416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75418 { (exit 1); exit 1; }; }
75420 cat >conftest.$ac_ext <<_ACEOF
75421 /* confdefs.h. */
75422 _ACEOF
75423 cat confdefs.h >>conftest.$ac_ext
75424 cat >>conftest.$ac_ext <<_ACEOF
75425 /* end confdefs.h. */
75429 main ()
75431 main ();
75433 return 0;
75435 _ACEOF
75436 rm -f conftest.$ac_objext conftest$ac_exeext
75437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75438 (eval $ac_link) 2>conftest.er1
75439 ac_status=$?
75440 grep -v '^ *+' conftest.er1 >conftest.err
75441 rm -f conftest.er1
75442 cat conftest.err >&5
75443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75444 (exit $ac_status); } &&
75445 { ac_try='test -z "$ac_c_werror_flag"
75446 || test ! -s conftest.err'
75447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75448 (eval $ac_try) 2>&5
75449 ac_status=$?
75450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75451 (exit $ac_status); }; } &&
75452 { ac_try='test -s conftest$ac_exeext'
75453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75454 (eval $ac_try) 2>&5
75455 ac_status=$?
75456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 (exit $ac_status); }; }; then
75458 ac_cv_lib_m_main=yes
75459 else
75460 echo "$as_me: failed program was:" >&5
75461 sed 's/^/| /' conftest.$ac_ext >&5
75463 ac_cv_lib_m_main=no
75465 rm -f conftest.err conftest.$ac_objext \
75466 conftest$ac_exeext conftest.$ac_ext
75467 LIBS=$ac_check_lib_save_LIBS
75469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75470 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75471 if test $ac_cv_lib_m_main = yes; then
75472 cat >>confdefs.h <<_ACEOF
75473 #define HAVE_LIBM 1
75474 _ACEOF
75476 LIBS="-lm $LIBS"
75481 for ac_func in copysignf
75483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75484 echo "$as_me:$LINENO: checking for $ac_func" >&5
75485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75486 if eval "test \"\${$as_ac_var+set}\" = set"; then
75487 echo $ECHO_N "(cached) $ECHO_C" >&6
75488 else
75489 if test x$gcc_no_link = xyes; then
75490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75492 { (exit 1); exit 1; }; }
75494 cat >conftest.$ac_ext <<_ACEOF
75495 /* confdefs.h. */
75496 _ACEOF
75497 cat confdefs.h >>conftest.$ac_ext
75498 cat >>conftest.$ac_ext <<_ACEOF
75499 /* end confdefs.h. */
75500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75502 #define $ac_func innocuous_$ac_func
75504 /* System header to define __stub macros and hopefully few prototypes,
75505 which can conflict with char $ac_func (); below.
75506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75507 <limits.h> exists even on freestanding compilers. */
75509 #ifdef __STDC__
75510 # include <limits.h>
75511 #else
75512 # include <assert.h>
75513 #endif
75515 #undef $ac_func
75517 /* Override any gcc2 internal prototype to avoid an error. */
75518 #ifdef __cplusplus
75519 extern "C"
75521 #endif
75522 /* We use char because int might match the return type of a gcc2
75523 builtin and then its argument prototype would still apply. */
75524 char $ac_func ();
75525 /* The GNU C library defines this for functions which it implements
75526 to always fail with ENOSYS. Some functions are actually named
75527 something starting with __ and the normal name is an alias. */
75528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75529 choke me
75530 #else
75531 char (*f) () = $ac_func;
75532 #endif
75533 #ifdef __cplusplus
75535 #endif
75538 main ()
75540 return f != $ac_func;
75542 return 0;
75544 _ACEOF
75545 rm -f conftest.$ac_objext conftest$ac_exeext
75546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75547 (eval $ac_link) 2>conftest.er1
75548 ac_status=$?
75549 grep -v '^ *+' conftest.er1 >conftest.err
75550 rm -f conftest.er1
75551 cat conftest.err >&5
75552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75553 (exit $ac_status); } &&
75554 { ac_try='test -z "$ac_c_werror_flag"
75555 || test ! -s conftest.err'
75556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75557 (eval $ac_try) 2>&5
75558 ac_status=$?
75559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560 (exit $ac_status); }; } &&
75561 { ac_try='test -s conftest$ac_exeext'
75562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75563 (eval $ac_try) 2>&5
75564 ac_status=$?
75565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75566 (exit $ac_status); }; }; then
75567 eval "$as_ac_var=yes"
75568 else
75569 echo "$as_me: failed program was:" >&5
75570 sed 's/^/| /' conftest.$ac_ext >&5
75572 eval "$as_ac_var=no"
75574 rm -f conftest.err conftest.$ac_objext \
75575 conftest$ac_exeext conftest.$ac_ext
75577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75579 if test `eval echo '${'$as_ac_var'}'` = yes; then
75580 cat >>confdefs.h <<_ACEOF
75581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75582 _ACEOF
75584 else
75585 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75587 done
75591 for ac_func in __signbit
75593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75594 echo "$as_me:$LINENO: checking for $ac_func" >&5
75595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75596 if eval "test \"\${$as_ac_var+set}\" = set"; then
75597 echo $ECHO_N "(cached) $ECHO_C" >&6
75598 else
75599 if test x$gcc_no_link = xyes; then
75600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75602 { (exit 1); exit 1; }; }
75604 cat >conftest.$ac_ext <<_ACEOF
75605 /* confdefs.h. */
75606 _ACEOF
75607 cat confdefs.h >>conftest.$ac_ext
75608 cat >>conftest.$ac_ext <<_ACEOF
75609 /* end confdefs.h. */
75610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75612 #define $ac_func innocuous_$ac_func
75614 /* System header to define __stub macros and hopefully few prototypes,
75615 which can conflict with char $ac_func (); below.
75616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75617 <limits.h> exists even on freestanding compilers. */
75619 #ifdef __STDC__
75620 # include <limits.h>
75621 #else
75622 # include <assert.h>
75623 #endif
75625 #undef $ac_func
75627 /* Override any gcc2 internal prototype to avoid an error. */
75628 #ifdef __cplusplus
75629 extern "C"
75631 #endif
75632 /* We use char because int might match the return type of a gcc2
75633 builtin and then its argument prototype would still apply. */
75634 char $ac_func ();
75635 /* The GNU C library defines this for functions which it implements
75636 to always fail with ENOSYS. Some functions are actually named
75637 something starting with __ and the normal name is an alias. */
75638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75639 choke me
75640 #else
75641 char (*f) () = $ac_func;
75642 #endif
75643 #ifdef __cplusplus
75645 #endif
75648 main ()
75650 return f != $ac_func;
75652 return 0;
75654 _ACEOF
75655 rm -f conftest.$ac_objext conftest$ac_exeext
75656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75657 (eval $ac_link) 2>conftest.er1
75658 ac_status=$?
75659 grep -v '^ *+' conftest.er1 >conftest.err
75660 rm -f conftest.er1
75661 cat conftest.err >&5
75662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75663 (exit $ac_status); } &&
75664 { ac_try='test -z "$ac_c_werror_flag"
75665 || test ! -s conftest.err'
75666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75667 (eval $ac_try) 2>&5
75668 ac_status=$?
75669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75670 (exit $ac_status); }; } &&
75671 { ac_try='test -s conftest$ac_exeext'
75672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75673 (eval $ac_try) 2>&5
75674 ac_status=$?
75675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75676 (exit $ac_status); }; }; then
75677 eval "$as_ac_var=yes"
75678 else
75679 echo "$as_me: failed program was:" >&5
75680 sed 's/^/| /' conftest.$ac_ext >&5
75682 eval "$as_ac_var=no"
75684 rm -f conftest.err conftest.$ac_objext \
75685 conftest$ac_exeext conftest.$ac_ext
75687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75689 if test `eval echo '${'$as_ac_var'}'` = yes; then
75690 cat >>confdefs.h <<_ACEOF
75691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75692 _ACEOF
75694 else
75695 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75697 done
75701 for ac_func in __signbitf
75703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75704 echo "$as_me:$LINENO: checking for $ac_func" >&5
75705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75706 if eval "test \"\${$as_ac_var+set}\" = set"; then
75707 echo $ECHO_N "(cached) $ECHO_C" >&6
75708 else
75709 if test x$gcc_no_link = xyes; then
75710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75712 { (exit 1); exit 1; }; }
75714 cat >conftest.$ac_ext <<_ACEOF
75715 /* confdefs.h. */
75716 _ACEOF
75717 cat confdefs.h >>conftest.$ac_ext
75718 cat >>conftest.$ac_ext <<_ACEOF
75719 /* end confdefs.h. */
75720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75722 #define $ac_func innocuous_$ac_func
75724 /* System header to define __stub macros and hopefully few prototypes,
75725 which can conflict with char $ac_func (); below.
75726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75727 <limits.h> exists even on freestanding compilers. */
75729 #ifdef __STDC__
75730 # include <limits.h>
75731 #else
75732 # include <assert.h>
75733 #endif
75735 #undef $ac_func
75737 /* Override any gcc2 internal prototype to avoid an error. */
75738 #ifdef __cplusplus
75739 extern "C"
75741 #endif
75742 /* We use char because int might match the return type of a gcc2
75743 builtin and then its argument prototype would still apply. */
75744 char $ac_func ();
75745 /* The GNU C library defines this for functions which it implements
75746 to always fail with ENOSYS. Some functions are actually named
75747 something starting with __ and the normal name is an alias. */
75748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75749 choke me
75750 #else
75751 char (*f) () = $ac_func;
75752 #endif
75753 #ifdef __cplusplus
75755 #endif
75758 main ()
75760 return f != $ac_func;
75762 return 0;
75764 _ACEOF
75765 rm -f conftest.$ac_objext conftest$ac_exeext
75766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75767 (eval $ac_link) 2>conftest.er1
75768 ac_status=$?
75769 grep -v '^ *+' conftest.er1 >conftest.err
75770 rm -f conftest.er1
75771 cat conftest.err >&5
75772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75773 (exit $ac_status); } &&
75774 { ac_try='test -z "$ac_c_werror_flag"
75775 || test ! -s conftest.err'
75776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75777 (eval $ac_try) 2>&5
75778 ac_status=$?
75779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75780 (exit $ac_status); }; } &&
75781 { ac_try='test -s conftest$ac_exeext'
75782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75783 (eval $ac_try) 2>&5
75784 ac_status=$?
75785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75786 (exit $ac_status); }; }; then
75787 eval "$as_ac_var=yes"
75788 else
75789 echo "$as_me: failed program was:" >&5
75790 sed 's/^/| /' conftest.$ac_ext >&5
75792 eval "$as_ac_var=no"
75794 rm -f conftest.err conftest.$ac_objext \
75795 conftest$ac_exeext conftest.$ac_ext
75797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75799 if test `eval echo '${'$as_ac_var'}'` = yes; then
75800 cat >>confdefs.h <<_ACEOF
75801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75802 _ACEOF
75804 else
75805 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75807 done
75810 if test x$ac_cv_func_copysignl = x"yes"; then
75812 for ac_func in __signbitl
75814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75815 echo "$as_me:$LINENO: checking for $ac_func" >&5
75816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75817 if eval "test \"\${$as_ac_var+set}\" = set"; then
75818 echo $ECHO_N "(cached) $ECHO_C" >&6
75819 else
75820 if test x$gcc_no_link = xyes; then
75821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75823 { (exit 1); exit 1; }; }
75825 cat >conftest.$ac_ext <<_ACEOF
75826 /* confdefs.h. */
75827 _ACEOF
75828 cat confdefs.h >>conftest.$ac_ext
75829 cat >>conftest.$ac_ext <<_ACEOF
75830 /* end confdefs.h. */
75831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75833 #define $ac_func innocuous_$ac_func
75835 /* System header to define __stub macros and hopefully few prototypes,
75836 which can conflict with char $ac_func (); below.
75837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75838 <limits.h> exists even on freestanding compilers. */
75840 #ifdef __STDC__
75841 # include <limits.h>
75842 #else
75843 # include <assert.h>
75844 #endif
75846 #undef $ac_func
75848 /* Override any gcc2 internal prototype to avoid an error. */
75849 #ifdef __cplusplus
75850 extern "C"
75852 #endif
75853 /* We use char because int might match the return type of a gcc2
75854 builtin and then its argument prototype would still apply. */
75855 char $ac_func ();
75856 /* The GNU C library defines this for functions which it implements
75857 to always fail with ENOSYS. Some functions are actually named
75858 something starting with __ and the normal name is an alias. */
75859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75860 choke me
75861 #else
75862 char (*f) () = $ac_func;
75863 #endif
75864 #ifdef __cplusplus
75866 #endif
75869 main ()
75871 return f != $ac_func;
75873 return 0;
75875 _ACEOF
75876 rm -f conftest.$ac_objext conftest$ac_exeext
75877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75878 (eval $ac_link) 2>conftest.er1
75879 ac_status=$?
75880 grep -v '^ *+' conftest.er1 >conftest.err
75881 rm -f conftest.er1
75882 cat conftest.err >&5
75883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75884 (exit $ac_status); } &&
75885 { ac_try='test -z "$ac_c_werror_flag"
75886 || test ! -s conftest.err'
75887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75888 (eval $ac_try) 2>&5
75889 ac_status=$?
75890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75891 (exit $ac_status); }; } &&
75892 { ac_try='test -s conftest$ac_exeext'
75893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75894 (eval $ac_try) 2>&5
75895 ac_status=$?
75896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75897 (exit $ac_status); }; }; then
75898 eval "$as_ac_var=yes"
75899 else
75900 echo "$as_me: failed program was:" >&5
75901 sed 's/^/| /' conftest.$ac_ext >&5
75903 eval "$as_ac_var=no"
75905 rm -f conftest.err conftest.$ac_objext \
75906 conftest$ac_exeext conftest.$ac_ext
75908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75910 if test `eval echo '${'$as_ac_var'}'` = yes; then
75911 cat >>confdefs.h <<_ACEOF
75912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75913 _ACEOF
75915 else
75916 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75918 done
75922 # Used in libmath/Makefile.am.
75923 if test -n "$LIBMATHOBJS"; then
75924 need_libmath=yes
75930 enable_iconv=no
75931 # Only continue checking if the ISO C99 headers exist and support is on.
75932 if test x"$enable_wchar_t" = xyes; then
75934 # Use iconv for wchar_t to char conversions. As such, check for
75935 # X/Open Portability Guide, version 2 features (XPG2).
75936 if test "${ac_cv_header_iconv_h+set}" = set; then
75937 echo "$as_me:$LINENO: checking for iconv.h" >&5
75938 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75939 if test "${ac_cv_header_iconv_h+set}" = set; then
75940 echo $ECHO_N "(cached) $ECHO_C" >&6
75942 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75943 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75944 else
75945 # Is the header compilable?
75946 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75947 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75948 cat >conftest.$ac_ext <<_ACEOF
75949 /* confdefs.h. */
75950 _ACEOF
75951 cat confdefs.h >>conftest.$ac_ext
75952 cat >>conftest.$ac_ext <<_ACEOF
75953 /* end confdefs.h. */
75954 $ac_includes_default
75955 #include <iconv.h>
75956 _ACEOF
75957 rm -f conftest.$ac_objext
75958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75959 (eval $ac_compile) 2>conftest.er1
75960 ac_status=$?
75961 grep -v '^ *+' conftest.er1 >conftest.err
75962 rm -f conftest.er1
75963 cat conftest.err >&5
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); } &&
75966 { ac_try='test -z "$ac_c_werror_flag"
75967 || test ! -s conftest.err'
75968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75969 (eval $ac_try) 2>&5
75970 ac_status=$?
75971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75972 (exit $ac_status); }; } &&
75973 { ac_try='test -s conftest.$ac_objext'
75974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75975 (eval $ac_try) 2>&5
75976 ac_status=$?
75977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978 (exit $ac_status); }; }; then
75979 ac_header_compiler=yes
75980 else
75981 echo "$as_me: failed program was:" >&5
75982 sed 's/^/| /' conftest.$ac_ext >&5
75984 ac_header_compiler=no
75986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75988 echo "${ECHO_T}$ac_header_compiler" >&6
75990 # Is the header present?
75991 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75992 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75993 cat >conftest.$ac_ext <<_ACEOF
75994 /* confdefs.h. */
75995 _ACEOF
75996 cat confdefs.h >>conftest.$ac_ext
75997 cat >>conftest.$ac_ext <<_ACEOF
75998 /* end confdefs.h. */
75999 #include <iconv.h>
76000 _ACEOF
76001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76003 ac_status=$?
76004 grep -v '^ *+' conftest.er1 >conftest.err
76005 rm -f conftest.er1
76006 cat conftest.err >&5
76007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76008 (exit $ac_status); } >/dev/null; then
76009 if test -s conftest.err; then
76010 ac_cpp_err=$ac_c_preproc_warn_flag
76011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76012 else
76013 ac_cpp_err=
76015 else
76016 ac_cpp_err=yes
76018 if test -z "$ac_cpp_err"; then
76019 ac_header_preproc=yes
76020 else
76021 echo "$as_me: failed program was:" >&5
76022 sed 's/^/| /' conftest.$ac_ext >&5
76024 ac_header_preproc=no
76026 rm -f conftest.err conftest.$ac_ext
76027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76028 echo "${ECHO_T}$ac_header_preproc" >&6
76030 # So? What about this header?
76031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76032 yes:no: )
76033 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76034 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76035 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76036 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76037 ac_header_preproc=yes
76039 no:yes:* )
76040 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76041 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76042 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76043 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76044 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76045 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76046 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76047 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76048 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76049 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76050 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76051 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76053 cat <<\_ASBOX
76054 ## ----------------------------------------- ##
76055 ## Report this to the package-unused lists. ##
76056 ## ----------------------------------------- ##
76057 _ASBOX
76059 sed "s/^/$as_me: WARNING: /" >&2
76061 esac
76062 echo "$as_me:$LINENO: checking for iconv.h" >&5
76063 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76064 if test "${ac_cv_header_iconv_h+set}" = set; then
76065 echo $ECHO_N "(cached) $ECHO_C" >&6
76066 else
76067 ac_cv_header_iconv_h=$ac_header_preproc
76069 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76070 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76073 if test $ac_cv_header_iconv_h = yes; then
76074 ac_has_iconv_h=yes
76075 else
76076 ac_has_iconv_h=no
76080 if test "${ac_cv_header_langinfo_h+set}" = set; then
76081 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76082 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76083 if test "${ac_cv_header_langinfo_h+set}" = set; then
76084 echo $ECHO_N "(cached) $ECHO_C" >&6
76086 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76087 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76088 else
76089 # Is the header compilable?
76090 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76091 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76092 cat >conftest.$ac_ext <<_ACEOF
76093 /* confdefs.h. */
76094 _ACEOF
76095 cat confdefs.h >>conftest.$ac_ext
76096 cat >>conftest.$ac_ext <<_ACEOF
76097 /* end confdefs.h. */
76098 $ac_includes_default
76099 #include <langinfo.h>
76100 _ACEOF
76101 rm -f conftest.$ac_objext
76102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76103 (eval $ac_compile) 2>conftest.er1
76104 ac_status=$?
76105 grep -v '^ *+' conftest.er1 >conftest.err
76106 rm -f conftest.er1
76107 cat conftest.err >&5
76108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76109 (exit $ac_status); } &&
76110 { ac_try='test -z "$ac_c_werror_flag"
76111 || test ! -s conftest.err'
76112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76113 (eval $ac_try) 2>&5
76114 ac_status=$?
76115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76116 (exit $ac_status); }; } &&
76117 { ac_try='test -s conftest.$ac_objext'
76118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76119 (eval $ac_try) 2>&5
76120 ac_status=$?
76121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76122 (exit $ac_status); }; }; then
76123 ac_header_compiler=yes
76124 else
76125 echo "$as_me: failed program was:" >&5
76126 sed 's/^/| /' conftest.$ac_ext >&5
76128 ac_header_compiler=no
76130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76132 echo "${ECHO_T}$ac_header_compiler" >&6
76134 # Is the header present?
76135 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76136 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76137 cat >conftest.$ac_ext <<_ACEOF
76138 /* confdefs.h. */
76139 _ACEOF
76140 cat confdefs.h >>conftest.$ac_ext
76141 cat >>conftest.$ac_ext <<_ACEOF
76142 /* end confdefs.h. */
76143 #include <langinfo.h>
76144 _ACEOF
76145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76147 ac_status=$?
76148 grep -v '^ *+' conftest.er1 >conftest.err
76149 rm -f conftest.er1
76150 cat conftest.err >&5
76151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76152 (exit $ac_status); } >/dev/null; then
76153 if test -s conftest.err; then
76154 ac_cpp_err=$ac_c_preproc_warn_flag
76155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76156 else
76157 ac_cpp_err=
76159 else
76160 ac_cpp_err=yes
76162 if test -z "$ac_cpp_err"; then
76163 ac_header_preproc=yes
76164 else
76165 echo "$as_me: failed program was:" >&5
76166 sed 's/^/| /' conftest.$ac_ext >&5
76168 ac_header_preproc=no
76170 rm -f conftest.err conftest.$ac_ext
76171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76172 echo "${ECHO_T}$ac_header_preproc" >&6
76174 # So? What about this header?
76175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76176 yes:no: )
76177 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76178 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76179 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76180 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76181 ac_header_preproc=yes
76183 no:yes:* )
76184 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76185 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76186 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76187 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76188 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76189 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76190 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76191 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76192 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76193 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76194 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76195 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76197 cat <<\_ASBOX
76198 ## ----------------------------------------- ##
76199 ## Report this to the package-unused lists. ##
76200 ## ----------------------------------------- ##
76201 _ASBOX
76203 sed "s/^/$as_me: WARNING: /" >&2
76205 esac
76206 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76207 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76208 if test "${ac_cv_header_langinfo_h+set}" = set; then
76209 echo $ECHO_N "(cached) $ECHO_C" >&6
76210 else
76211 ac_cv_header_langinfo_h=$ac_header_preproc
76213 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76214 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76217 if test $ac_cv_header_langinfo_h = yes; then
76218 ac_has_langinfo_h=yes
76219 else
76220 ac_has_langinfo_h=no
76225 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76226 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76227 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76228 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76229 echo $ECHO_N "(cached) $ECHO_C" >&6
76230 else
76231 ac_check_lib_save_LIBS=$LIBS
76232 LIBS="-liconv $LIBS"
76233 if test x$gcc_no_link = xyes; then
76234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76236 { (exit 1); exit 1; }; }
76238 cat >conftest.$ac_ext <<_ACEOF
76239 /* confdefs.h. */
76240 _ACEOF
76241 cat confdefs.h >>conftest.$ac_ext
76242 cat >>conftest.$ac_ext <<_ACEOF
76243 /* end confdefs.h. */
76245 /* Override any gcc2 internal prototype to avoid an error. */
76246 #ifdef __cplusplus
76247 extern "C"
76248 #endif
76249 /* We use char because int might match the return type of a gcc2
76250 builtin and then its argument prototype would still apply. */
76251 char iconv ();
76253 main ()
76255 iconv ();
76257 return 0;
76259 _ACEOF
76260 rm -f conftest.$ac_objext conftest$ac_exeext
76261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76262 (eval $ac_link) 2>conftest.er1
76263 ac_status=$?
76264 grep -v '^ *+' conftest.er1 >conftest.err
76265 rm -f conftest.er1
76266 cat conftest.err >&5
76267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76268 (exit $ac_status); } &&
76269 { ac_try='test -z "$ac_c_werror_flag"
76270 || test ! -s conftest.err'
76271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76272 (eval $ac_try) 2>&5
76273 ac_status=$?
76274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76275 (exit $ac_status); }; } &&
76276 { ac_try='test -s conftest$ac_exeext'
76277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76278 (eval $ac_try) 2>&5
76279 ac_status=$?
76280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76281 (exit $ac_status); }; }; then
76282 ac_cv_lib_iconv_iconv=yes
76283 else
76284 echo "$as_me: failed program was:" >&5
76285 sed 's/^/| /' conftest.$ac_ext >&5
76287 ac_cv_lib_iconv_iconv=no
76289 rm -f conftest.err conftest.$ac_objext \
76290 conftest$ac_exeext conftest.$ac_ext
76291 LIBS=$ac_check_lib_save_LIBS
76293 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76294 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76295 if test $ac_cv_lib_iconv_iconv = yes; then
76296 LIBICONV="-liconv"
76299 ac_save_LIBS="$LIBS"
76300 LIBS="$LIBS $LIBICONV"
76307 for ac_func in iconv_open iconv_close iconv nl_langinfo
76309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76310 echo "$as_me:$LINENO: checking for $ac_func" >&5
76311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76312 if eval "test \"\${$as_ac_var+set}\" = set"; then
76313 echo $ECHO_N "(cached) $ECHO_C" >&6
76314 else
76315 if test x$gcc_no_link = xyes; then
76316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76318 { (exit 1); exit 1; }; }
76320 cat >conftest.$ac_ext <<_ACEOF
76321 /* confdefs.h. */
76322 _ACEOF
76323 cat confdefs.h >>conftest.$ac_ext
76324 cat >>conftest.$ac_ext <<_ACEOF
76325 /* end confdefs.h. */
76326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76328 #define $ac_func innocuous_$ac_func
76330 /* System header to define __stub macros and hopefully few prototypes,
76331 which can conflict with char $ac_func (); below.
76332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76333 <limits.h> exists even on freestanding compilers. */
76335 #ifdef __STDC__
76336 # include <limits.h>
76337 #else
76338 # include <assert.h>
76339 #endif
76341 #undef $ac_func
76343 /* Override any gcc2 internal prototype to avoid an error. */
76344 #ifdef __cplusplus
76345 extern "C"
76347 #endif
76348 /* We use char because int might match the return type of a gcc2
76349 builtin and then its argument prototype would still apply. */
76350 char $ac_func ();
76351 /* The GNU C library defines this for functions which it implements
76352 to always fail with ENOSYS. Some functions are actually named
76353 something starting with __ and the normal name is an alias. */
76354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76355 choke me
76356 #else
76357 char (*f) () = $ac_func;
76358 #endif
76359 #ifdef __cplusplus
76361 #endif
76364 main ()
76366 return f != $ac_func;
76368 return 0;
76370 _ACEOF
76371 rm -f conftest.$ac_objext conftest$ac_exeext
76372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76373 (eval $ac_link) 2>conftest.er1
76374 ac_status=$?
76375 grep -v '^ *+' conftest.er1 >conftest.err
76376 rm -f conftest.er1
76377 cat conftest.err >&5
76378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379 (exit $ac_status); } &&
76380 { ac_try='test -z "$ac_c_werror_flag"
76381 || test ! -s conftest.err'
76382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76383 (eval $ac_try) 2>&5
76384 ac_status=$?
76385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76386 (exit $ac_status); }; } &&
76387 { ac_try='test -s conftest$ac_exeext'
76388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76389 (eval $ac_try) 2>&5
76390 ac_status=$?
76391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76392 (exit $ac_status); }; }; then
76393 eval "$as_ac_var=yes"
76394 else
76395 echo "$as_me: failed program was:" >&5
76396 sed 's/^/| /' conftest.$ac_ext >&5
76398 eval "$as_ac_var=no"
76400 rm -f conftest.err conftest.$ac_objext \
76401 conftest$ac_exeext conftest.$ac_ext
76403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76405 if test `eval echo '${'$as_ac_var'}'` = yes; then
76406 cat >>confdefs.h <<_ACEOF
76407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76408 _ACEOF
76409 ac_XPG2funcs=yes
76410 else
76411 ac_XPG2funcs=no
76413 done
76416 LIBS="$ac_save_LIBS"
76418 if test x"$ac_has_iconv_h" = xyes &&
76419 test x"$ac_has_langinfo_h" = xyes &&
76420 test x"$ac_XPG2funcs" = xyes;
76421 then
76423 cat >>confdefs.h <<\_ACEOF
76424 #define _GLIBCXX_USE_ICONV 1
76425 _ACEOF
76427 enable_iconv=yes
76430 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76431 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76432 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76433 echo "${ECHO_T}$enable_iconv" >&6
76436 # For LFS.
76437 cat >>confdefs.h <<\_ACEOF
76438 #define HAVE_INT64_T 1
76439 _ACEOF
76441 case "$target" in
76442 *-uclinux*)
76443 # Don't enable LFS with uClibc
76446 cat >>confdefs.h <<\_ACEOF
76447 #define _GLIBCXX_USE_LFS 1
76448 _ACEOF
76450 esac
76452 # For showmanyc_helper().
76455 for ac_header in sys/ioctl.h sys/filio.h
76457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76459 echo "$as_me:$LINENO: checking for $ac_header" >&5
76460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76462 echo $ECHO_N "(cached) $ECHO_C" >&6
76464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76466 else
76467 # Is the header compilable?
76468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76470 cat >conftest.$ac_ext <<_ACEOF
76471 /* confdefs.h. */
76472 _ACEOF
76473 cat confdefs.h >>conftest.$ac_ext
76474 cat >>conftest.$ac_ext <<_ACEOF
76475 /* end confdefs.h. */
76476 $ac_includes_default
76477 #include <$ac_header>
76478 _ACEOF
76479 rm -f conftest.$ac_objext
76480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76481 (eval $ac_compile) 2>conftest.er1
76482 ac_status=$?
76483 grep -v '^ *+' conftest.er1 >conftest.err
76484 rm -f conftest.er1
76485 cat conftest.err >&5
76486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76487 (exit $ac_status); } &&
76488 { ac_try='test -z "$ac_c_werror_flag"
76489 || test ! -s conftest.err'
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); }; } &&
76495 { ac_try='test -s conftest.$ac_objext'
76496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76497 (eval $ac_try) 2>&5
76498 ac_status=$?
76499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76500 (exit $ac_status); }; }; then
76501 ac_header_compiler=yes
76502 else
76503 echo "$as_me: failed program was:" >&5
76504 sed 's/^/| /' conftest.$ac_ext >&5
76506 ac_header_compiler=no
76508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76510 echo "${ECHO_T}$ac_header_compiler" >&6
76512 # Is the header present?
76513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76515 cat >conftest.$ac_ext <<_ACEOF
76516 /* confdefs.h. */
76517 _ACEOF
76518 cat confdefs.h >>conftest.$ac_ext
76519 cat >>conftest.$ac_ext <<_ACEOF
76520 /* end confdefs.h. */
76521 #include <$ac_header>
76522 _ACEOF
76523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76525 ac_status=$?
76526 grep -v '^ *+' conftest.er1 >conftest.err
76527 rm -f conftest.er1
76528 cat conftest.err >&5
76529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76530 (exit $ac_status); } >/dev/null; then
76531 if test -s conftest.err; then
76532 ac_cpp_err=$ac_c_preproc_warn_flag
76533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76534 else
76535 ac_cpp_err=
76537 else
76538 ac_cpp_err=yes
76540 if test -z "$ac_cpp_err"; then
76541 ac_header_preproc=yes
76542 else
76543 echo "$as_me: failed program was:" >&5
76544 sed 's/^/| /' conftest.$ac_ext >&5
76546 ac_header_preproc=no
76548 rm -f conftest.err conftest.$ac_ext
76549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76550 echo "${ECHO_T}$ac_header_preproc" >&6
76552 # So? What about this header?
76553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76554 yes:no: )
76555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76559 ac_header_preproc=yes
76561 no:yes:* )
76562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76575 cat <<\_ASBOX
76576 ## ----------------------------------------- ##
76577 ## Report this to the package-unused lists. ##
76578 ## ----------------------------------------- ##
76579 _ASBOX
76581 sed "s/^/$as_me: WARNING: /" >&2
76583 esac
76584 echo "$as_me:$LINENO: checking for $ac_header" >&5
76585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76587 echo $ECHO_N "(cached) $ECHO_C" >&6
76588 else
76589 eval "$as_ac_Header=\$ac_header_preproc"
76591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76596 cat >>confdefs.h <<_ACEOF
76597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76598 _ACEOF
76602 done
76605 if test "${glibcxx_cv_POLL+set}" = set; then
76606 echo $ECHO_N "(cached) $ECHO_C" >&6
76607 else
76609 if test x$gcc_no_link = xyes; then
76610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76612 { (exit 1); exit 1; }; }
76614 cat >conftest.$ac_ext <<_ACEOF
76615 /* confdefs.h. */
76616 _ACEOF
76617 cat confdefs.h >>conftest.$ac_ext
76618 cat >>conftest.$ac_ext <<_ACEOF
76619 /* end confdefs.h. */
76620 #include <poll.h>
76622 main ()
76624 struct pollfd pfd[1];
76625 pfd[0].events = POLLIN;
76626 poll(pfd, 1, 0);
76628 return 0;
76630 _ACEOF
76631 rm -f conftest.$ac_objext conftest$ac_exeext
76632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76633 (eval $ac_link) 2>conftest.er1
76634 ac_status=$?
76635 grep -v '^ *+' conftest.er1 >conftest.err
76636 rm -f conftest.er1
76637 cat conftest.err >&5
76638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76639 (exit $ac_status); } &&
76640 { ac_try='test -z "$ac_c_werror_flag"
76641 || test ! -s conftest.err'
76642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76643 (eval $ac_try) 2>&5
76644 ac_status=$?
76645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76646 (exit $ac_status); }; } &&
76647 { ac_try='test -s conftest$ac_exeext'
76648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76649 (eval $ac_try) 2>&5
76650 ac_status=$?
76651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76652 (exit $ac_status); }; }; then
76653 glibcxx_cv_POLL=yes
76654 else
76655 echo "$as_me: failed program was:" >&5
76656 sed 's/^/| /' conftest.$ac_ext >&5
76658 glibcxx_cv_POLL=no
76660 rm -f conftest.err conftest.$ac_objext \
76661 conftest$ac_exeext conftest.$ac_ext
76665 if test $glibcxx_cv_POLL = yes; then
76666 cat >>confdefs.h <<\_ACEOF
76667 #define HAVE_POLL 1
76668 _ACEOF
76673 if test "${glibcxx_cv_S_ISREG+set}" = set; then
76674 echo $ECHO_N "(cached) $ECHO_C" >&6
76675 else
76677 if test x$gcc_no_link = xyes; then
76678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76680 { (exit 1); exit 1; }; }
76682 cat >conftest.$ac_ext <<_ACEOF
76683 /* confdefs.h. */
76684 _ACEOF
76685 cat confdefs.h >>conftest.$ac_ext
76686 cat >>conftest.$ac_ext <<_ACEOF
76687 /* end confdefs.h. */
76688 #include <sys/stat.h>
76690 main ()
76692 struct stat buffer;
76693 fstat(0, &buffer);
76694 S_ISREG(buffer.st_mode);
76696 return 0;
76698 _ACEOF
76699 rm -f conftest.$ac_objext conftest$ac_exeext
76700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76701 (eval $ac_link) 2>conftest.er1
76702 ac_status=$?
76703 grep -v '^ *+' conftest.er1 >conftest.err
76704 rm -f conftest.er1
76705 cat conftest.err >&5
76706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707 (exit $ac_status); } &&
76708 { ac_try='test -z "$ac_c_werror_flag"
76709 || test ! -s conftest.err'
76710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76711 (eval $ac_try) 2>&5
76712 ac_status=$?
76713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76714 (exit $ac_status); }; } &&
76715 { ac_try='test -s conftest$ac_exeext'
76716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76717 (eval $ac_try) 2>&5
76718 ac_status=$?
76719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76720 (exit $ac_status); }; }; then
76721 glibcxx_cv_S_ISREG=yes
76722 else
76723 echo "$as_me: failed program was:" >&5
76724 sed 's/^/| /' conftest.$ac_ext >&5
76726 glibcxx_cv_S_ISREG=no
76728 rm -f conftest.err conftest.$ac_objext \
76729 conftest$ac_exeext conftest.$ac_ext
76733 if test "${glibcxx_cv_S_IFREG+set}" = set; then
76734 echo $ECHO_N "(cached) $ECHO_C" >&6
76735 else
76737 if test x$gcc_no_link = xyes; then
76738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76740 { (exit 1); exit 1; }; }
76742 cat >conftest.$ac_ext <<_ACEOF
76743 /* confdefs.h. */
76744 _ACEOF
76745 cat confdefs.h >>conftest.$ac_ext
76746 cat >>conftest.$ac_ext <<_ACEOF
76747 /* end confdefs.h. */
76748 #include <sys/stat.h>
76750 main ()
76752 struct stat buffer;
76753 fstat(0, &buffer);
76754 S_IFREG & buffer.st_mode;
76756 return 0;
76758 _ACEOF
76759 rm -f conftest.$ac_objext conftest$ac_exeext
76760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76761 (eval $ac_link) 2>conftest.er1
76762 ac_status=$?
76763 grep -v '^ *+' conftest.er1 >conftest.err
76764 rm -f conftest.er1
76765 cat conftest.err >&5
76766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76767 (exit $ac_status); } &&
76768 { ac_try='test -z "$ac_c_werror_flag"
76769 || test ! -s conftest.err'
76770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76771 (eval $ac_try) 2>&5
76772 ac_status=$?
76773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76774 (exit $ac_status); }; } &&
76775 { ac_try='test -s conftest$ac_exeext'
76776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777 (eval $ac_try) 2>&5
76778 ac_status=$?
76779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780 (exit $ac_status); }; }; then
76781 glibcxx_cv_S_IFREG=yes
76782 else
76783 echo "$as_me: failed program was:" >&5
76784 sed 's/^/| /' conftest.$ac_ext >&5
76786 glibcxx_cv_S_IFREG=no
76788 rm -f conftest.err conftest.$ac_objext \
76789 conftest$ac_exeext conftest.$ac_ext
76793 if test $glibcxx_cv_S_ISREG = yes; then
76794 cat >>confdefs.h <<\_ACEOF
76795 #define HAVE_S_ISREG 1
76796 _ACEOF
76798 elif test $glibcxx_cv_S_IFREG = yes; then
76799 cat >>confdefs.h <<\_ACEOF
76800 #define HAVE_S_IFREG 1
76801 _ACEOF
76806 # For xsputn_2().
76808 for ac_header in sys/uio.h
76810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76812 echo "$as_me:$LINENO: checking for $ac_header" >&5
76813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76815 echo $ECHO_N "(cached) $ECHO_C" >&6
76817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76819 else
76820 # Is the header compilable?
76821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76823 cat >conftest.$ac_ext <<_ACEOF
76824 /* confdefs.h. */
76825 _ACEOF
76826 cat confdefs.h >>conftest.$ac_ext
76827 cat >>conftest.$ac_ext <<_ACEOF
76828 /* end confdefs.h. */
76829 $ac_includes_default
76830 #include <$ac_header>
76831 _ACEOF
76832 rm -f conftest.$ac_objext
76833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76834 (eval $ac_compile) 2>conftest.er1
76835 ac_status=$?
76836 grep -v '^ *+' conftest.er1 >conftest.err
76837 rm -f conftest.er1
76838 cat conftest.err >&5
76839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76840 (exit $ac_status); } &&
76841 { ac_try='test -z "$ac_c_werror_flag"
76842 || test ! -s conftest.err'
76843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76844 (eval $ac_try) 2>&5
76845 ac_status=$?
76846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847 (exit $ac_status); }; } &&
76848 { ac_try='test -s conftest.$ac_objext'
76849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76850 (eval $ac_try) 2>&5
76851 ac_status=$?
76852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76853 (exit $ac_status); }; }; then
76854 ac_header_compiler=yes
76855 else
76856 echo "$as_me: failed program was:" >&5
76857 sed 's/^/| /' conftest.$ac_ext >&5
76859 ac_header_compiler=no
76861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76863 echo "${ECHO_T}$ac_header_compiler" >&6
76865 # Is the header present?
76866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76868 cat >conftest.$ac_ext <<_ACEOF
76869 /* confdefs.h. */
76870 _ACEOF
76871 cat confdefs.h >>conftest.$ac_ext
76872 cat >>conftest.$ac_ext <<_ACEOF
76873 /* end confdefs.h. */
76874 #include <$ac_header>
76875 _ACEOF
76876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76878 ac_status=$?
76879 grep -v '^ *+' conftest.er1 >conftest.err
76880 rm -f conftest.er1
76881 cat conftest.err >&5
76882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76883 (exit $ac_status); } >/dev/null; then
76884 if test -s conftest.err; then
76885 ac_cpp_err=$ac_c_preproc_warn_flag
76886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76887 else
76888 ac_cpp_err=
76890 else
76891 ac_cpp_err=yes
76893 if test -z "$ac_cpp_err"; then
76894 ac_header_preproc=yes
76895 else
76896 echo "$as_me: failed program was:" >&5
76897 sed 's/^/| /' conftest.$ac_ext >&5
76899 ac_header_preproc=no
76901 rm -f conftest.err conftest.$ac_ext
76902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76903 echo "${ECHO_T}$ac_header_preproc" >&6
76905 # So? What about this header?
76906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76907 yes:no: )
76908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76912 ac_header_preproc=yes
76914 no:yes:* )
76915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76928 cat <<\_ASBOX
76929 ## ----------------------------------------- ##
76930 ## Report this to the package-unused lists. ##
76931 ## ----------------------------------------- ##
76932 _ASBOX
76934 sed "s/^/$as_me: WARNING: /" >&2
76936 esac
76937 echo "$as_me:$LINENO: checking for $ac_header" >&5
76938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76940 echo $ECHO_N "(cached) $ECHO_C" >&6
76941 else
76942 eval "$as_ac_Header=\$ac_header_preproc"
76944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76949 cat >>confdefs.h <<_ACEOF
76950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76951 _ACEOF
76955 done
76958 if test "${glibcxx_cv_WRITEV+set}" = set; then
76959 echo $ECHO_N "(cached) $ECHO_C" >&6
76960 else
76962 if test x$gcc_no_link = xyes; then
76963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76965 { (exit 1); exit 1; }; }
76967 cat >conftest.$ac_ext <<_ACEOF
76968 /* confdefs.h. */
76969 _ACEOF
76970 cat confdefs.h >>conftest.$ac_ext
76971 cat >>conftest.$ac_ext <<_ACEOF
76972 /* end confdefs.h. */
76973 #include <sys/uio.h>
76975 main ()
76977 struct iovec iov[2];
76978 writev(0, iov, 0);
76980 return 0;
76982 _ACEOF
76983 rm -f conftest.$ac_objext conftest$ac_exeext
76984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76985 (eval $ac_link) 2>conftest.er1
76986 ac_status=$?
76987 grep -v '^ *+' conftest.er1 >conftest.err
76988 rm -f conftest.er1
76989 cat conftest.err >&5
76990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76991 (exit $ac_status); } &&
76992 { ac_try='test -z "$ac_c_werror_flag"
76993 || test ! -s conftest.err'
76994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76995 (eval $ac_try) 2>&5
76996 ac_status=$?
76997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76998 (exit $ac_status); }; } &&
76999 { ac_try='test -s conftest$ac_exeext'
77000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77001 (eval $ac_try) 2>&5
77002 ac_status=$?
77003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004 (exit $ac_status); }; }; then
77005 glibcxx_cv_WRITEV=yes
77006 else
77007 echo "$as_me: failed program was:" >&5
77008 sed 's/^/| /' conftest.$ac_ext >&5
77010 glibcxx_cv_WRITEV=no
77012 rm -f conftest.err conftest.$ac_objext \
77013 conftest$ac_exeext conftest.$ac_ext
77017 if test $glibcxx_cv_WRITEV = yes; then
77018 cat >>confdefs.h <<\_ACEOF
77019 #define HAVE_WRITEV 1
77020 _ACEOF
77025 cat >>confdefs.h <<\_ACEOF
77026 #define HAVE_ACOSF 1
77027 _ACEOF
77029 cat >>confdefs.h <<\_ACEOF
77030 #define HAVE_ASINF 1
77031 _ACEOF
77033 cat >>confdefs.h <<\_ACEOF
77034 #define HAVE_ATANF 1
77035 _ACEOF
77037 cat >>confdefs.h <<\_ACEOF
77038 #define HAVE_ATAN2F 1
77039 _ACEOF
77041 cat >>confdefs.h <<\_ACEOF
77042 #define HAVE_CEILF 1
77043 _ACEOF
77045 cat >>confdefs.h <<\_ACEOF
77046 #define HAVE_COPYSIGN 1
77047 _ACEOF
77049 cat >>confdefs.h <<\_ACEOF
77050 #define HAVE_COPYSIGNF 1
77051 _ACEOF
77053 cat >>confdefs.h <<\_ACEOF
77054 #define HAVE_COSF 1
77055 _ACEOF
77057 cat >>confdefs.h <<\_ACEOF
77058 #define HAVE_COSHF 1
77059 _ACEOF
77061 cat >>confdefs.h <<\_ACEOF
77062 #define HAVE_EXPF 1
77063 _ACEOF
77065 cat >>confdefs.h <<\_ACEOF
77066 #define HAVE_FABSF 1
77067 _ACEOF
77069 cat >>confdefs.h <<\_ACEOF
77070 #define HAVE_FINITE 1
77071 _ACEOF
77073 cat >>confdefs.h <<\_ACEOF
77074 #define HAVE_FINITEF 1
77075 _ACEOF
77077 cat >>confdefs.h <<\_ACEOF
77078 #define HAVE_FLOORF 1
77079 _ACEOF
77081 cat >>confdefs.h <<\_ACEOF
77082 #define HAVE_FMODF 1
77083 _ACEOF
77085 cat >>confdefs.h <<\_ACEOF
77086 #define HAVE_FREXPF 1
77087 _ACEOF
77089 cat >>confdefs.h <<\_ACEOF
77090 #define HAVE_HYPOT 1
77091 _ACEOF
77093 cat >>confdefs.h <<\_ACEOF
77094 #define HAVE_HYPOTF 1
77095 _ACEOF
77097 cat >>confdefs.h <<\_ACEOF
77098 #define HAVE_ISINF 1
77099 _ACEOF
77101 cat >>confdefs.h <<\_ACEOF
77102 #define HAVE_ISINFF 1
77103 _ACEOF
77105 cat >>confdefs.h <<\_ACEOF
77106 #define HAVE_ISNAN 1
77107 _ACEOF
77109 cat >>confdefs.h <<\_ACEOF
77110 #define HAVE_ISNANF 1
77111 _ACEOF
77113 cat >>confdefs.h <<\_ACEOF
77114 #define HAVE_LOGF 1
77115 _ACEOF
77117 cat >>confdefs.h <<\_ACEOF
77118 #define HAVE_LOG10F 1
77119 _ACEOF
77121 cat >>confdefs.h <<\_ACEOF
77122 #define HAVE_MODFF 1
77123 _ACEOF
77125 cat >>confdefs.h <<\_ACEOF
77126 #define HAVE_SINF 1
77127 _ACEOF
77129 cat >>confdefs.h <<\_ACEOF
77130 #define HAVE_SINHF 1
77131 _ACEOF
77133 cat >>confdefs.h <<\_ACEOF
77134 #define HAVE_SINCOS 1
77135 _ACEOF
77137 cat >>confdefs.h <<\_ACEOF
77138 #define HAVE_SINCOSF 1
77139 _ACEOF
77141 cat >>confdefs.h <<\_ACEOF
77142 #define HAVE_SQRTF 1
77143 _ACEOF
77145 cat >>confdefs.h <<\_ACEOF
77146 #define HAVE_TANF 1
77147 _ACEOF
77149 cat >>confdefs.h <<\_ACEOF
77150 #define HAVE_TANHF 1
77151 _ACEOF
77153 if test x"long_double_math_on_this_cpu" = x"yes"; then
77154 cat >>confdefs.h <<\_ACEOF
77155 #define HAVE_ACOSL 1
77156 _ACEOF
77158 cat >>confdefs.h <<\_ACEOF
77159 #define HAVE_ASINL 1
77160 _ACEOF
77162 cat >>confdefs.h <<\_ACEOF
77163 #define HAVE_ATANL 1
77164 _ACEOF
77166 cat >>confdefs.h <<\_ACEOF
77167 #define HAVE_ATAN2L 1
77168 _ACEOF
77170 cat >>confdefs.h <<\_ACEOF
77171 #define HAVE_CEILL 1
77172 _ACEOF
77174 cat >>confdefs.h <<\_ACEOF
77175 #define HAVE_COPYSIGNL 1
77176 _ACEOF
77178 cat >>confdefs.h <<\_ACEOF
77179 #define HAVE_COSL 1
77180 _ACEOF
77182 cat >>confdefs.h <<\_ACEOF
77183 #define HAVE_COSHL 1
77184 _ACEOF
77186 cat >>confdefs.h <<\_ACEOF
77187 #define HAVE_EXPL 1
77188 _ACEOF
77190 cat >>confdefs.h <<\_ACEOF
77191 #define HAVE_FABSL 1
77192 _ACEOF
77194 cat >>confdefs.h <<\_ACEOF
77195 #define HAVE_FINITEL 1
77196 _ACEOF
77198 cat >>confdefs.h <<\_ACEOF
77199 #define HAVE_FLOORL 1
77200 _ACEOF
77202 cat >>confdefs.h <<\_ACEOF
77203 #define HAVE_FMODL 1
77204 _ACEOF
77206 cat >>confdefs.h <<\_ACEOF
77207 #define HAVE_FREXPL 1
77208 _ACEOF
77210 cat >>confdefs.h <<\_ACEOF
77211 #define HAVE_HYPOTL 1
77212 _ACEOF
77214 cat >>confdefs.h <<\_ACEOF
77215 #define HAVE_ISINFL 1
77216 _ACEOF
77218 cat >>confdefs.h <<\_ACEOF
77219 #define HAVE_ISNANL 1
77220 _ACEOF
77222 cat >>confdefs.h <<\_ACEOF
77223 #define HAVE_LOGL 1
77224 _ACEOF
77226 cat >>confdefs.h <<\_ACEOF
77227 #define HAVE_LOG10L 1
77228 _ACEOF
77230 cat >>confdefs.h <<\_ACEOF
77231 #define HAVE_MODFL 1
77232 _ACEOF
77234 cat >>confdefs.h <<\_ACEOF
77235 #define HAVE_POWL 1
77236 _ACEOF
77238 cat >>confdefs.h <<\_ACEOF
77239 #define HAVE_SINL 1
77240 _ACEOF
77242 cat >>confdefs.h <<\_ACEOF
77243 #define HAVE_SINHL 1
77244 _ACEOF
77246 cat >>confdefs.h <<\_ACEOF
77247 #define HAVE_SINCOSL 1
77248 _ACEOF
77250 cat >>confdefs.h <<\_ACEOF
77251 #define HAVE_SQRTL 1
77252 _ACEOF
77254 cat >>confdefs.h <<\_ACEOF
77255 #define HAVE_TANL 1
77256 _ACEOF
77258 cat >>confdefs.h <<\_ACEOF
77259 #define HAVE_TANHL 1
77260 _ACEOF
77264 *-mingw32*)
77268 for ac_header in sys/types.h locale.h float.h
77270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77272 echo "$as_me:$LINENO: checking for $ac_header" >&5
77273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77275 echo $ECHO_N "(cached) $ECHO_C" >&6
77277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77279 else
77280 # Is the header compilable?
77281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77283 cat >conftest.$ac_ext <<_ACEOF
77284 /* confdefs.h. */
77285 _ACEOF
77286 cat confdefs.h >>conftest.$ac_ext
77287 cat >>conftest.$ac_ext <<_ACEOF
77288 /* end confdefs.h. */
77289 $ac_includes_default
77290 #include <$ac_header>
77291 _ACEOF
77292 rm -f conftest.$ac_objext
77293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77294 (eval $ac_compile) 2>conftest.er1
77295 ac_status=$?
77296 grep -v '^ *+' conftest.er1 >conftest.err
77297 rm -f conftest.er1
77298 cat conftest.err >&5
77299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77300 (exit $ac_status); } &&
77301 { ac_try='test -z "$ac_c_werror_flag"
77302 || test ! -s conftest.err'
77303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77304 (eval $ac_try) 2>&5
77305 ac_status=$?
77306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77307 (exit $ac_status); }; } &&
77308 { ac_try='test -s conftest.$ac_objext'
77309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77310 (eval $ac_try) 2>&5
77311 ac_status=$?
77312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77313 (exit $ac_status); }; }; then
77314 ac_header_compiler=yes
77315 else
77316 echo "$as_me: failed program was:" >&5
77317 sed 's/^/| /' conftest.$ac_ext >&5
77319 ac_header_compiler=no
77321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77323 echo "${ECHO_T}$ac_header_compiler" >&6
77325 # Is the header present?
77326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77328 cat >conftest.$ac_ext <<_ACEOF
77329 /* confdefs.h. */
77330 _ACEOF
77331 cat confdefs.h >>conftest.$ac_ext
77332 cat >>conftest.$ac_ext <<_ACEOF
77333 /* end confdefs.h. */
77334 #include <$ac_header>
77335 _ACEOF
77336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77337 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77338 ac_status=$?
77339 grep -v '^ *+' conftest.er1 >conftest.err
77340 rm -f conftest.er1
77341 cat conftest.err >&5
77342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77343 (exit $ac_status); } >/dev/null; then
77344 if test -s conftest.err; then
77345 ac_cpp_err=$ac_c_preproc_warn_flag
77346 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77347 else
77348 ac_cpp_err=
77350 else
77351 ac_cpp_err=yes
77353 if test -z "$ac_cpp_err"; then
77354 ac_header_preproc=yes
77355 else
77356 echo "$as_me: failed program was:" >&5
77357 sed 's/^/| /' conftest.$ac_ext >&5
77359 ac_header_preproc=no
77361 rm -f conftest.err conftest.$ac_ext
77362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77363 echo "${ECHO_T}$ac_header_preproc" >&6
77365 # So? What about this header?
77366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77367 yes:no: )
77368 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77371 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77372 ac_header_preproc=yes
77374 no:yes:* )
77375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77379 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77380 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77381 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77382 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77385 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77386 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77388 cat <<\_ASBOX
77389 ## ----------------------------------------- ##
77390 ## Report this to the package-unused lists. ##
77391 ## ----------------------------------------- ##
77392 _ASBOX
77394 sed "s/^/$as_me: WARNING: /" >&2
77396 esac
77397 echo "$as_me:$LINENO: checking for $ac_header" >&5
77398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77400 echo $ECHO_N "(cached) $ECHO_C" >&6
77401 else
77402 eval "$as_ac_Header=\$ac_header_preproc"
77404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77409 cat >>confdefs.h <<_ACEOF
77410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77411 _ACEOF
77415 done
77418 # If we're not using GNU ld, then there's no point in even trying these
77419 # tests. Check for that first. We should have already tested for gld
77420 # by now (in libtool), but require it now just to be safe...
77421 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77422 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77426 # The name set by libtool depends on the version of libtool. Shame on us
77427 # for depending on an impl detail, but c'est la vie. Older versions used
77428 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77429 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77430 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77431 # set (hence we're using an older libtool), then set it.
77432 if test x${with_gnu_ld+set} != xset; then
77433 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77434 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77435 with_gnu_ld=no
77436 else
77437 with_gnu_ld=$ac_cv_prog_gnu_ld
77441 # Start by getting the version number. I think the libtool test already
77442 # does some of this, but throws away the result.
77444 ldver=`$LD --version 2>/dev/null | head -1 | \
77445 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77447 glibcxx_gnu_ld_version=`echo $ldver | \
77448 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77450 # Set --gc-sections.
77451 if test "$with_gnu_ld" = "notbroken"; then
77452 # GNU ld it is! Joy and bunny rabbits!
77454 # All these tests are for C++; save the language and the compiler flags.
77455 # Need to do this so that g++ won't try to link in libstdc++
77456 ac_test_CFLAGS="${CFLAGS+set}"
77457 ac_save_CFLAGS="$CFLAGS"
77458 CFLAGS='-x c++ -Wl,--gc-sections'
77460 # Check for -Wl,--gc-sections
77461 # XXX This test is broken at the moment, as symbols required for linking
77462 # are now in libsupc++ (not built yet). In addition, this test has
77463 # cored on solaris in the past. In addition, --gc-sections doesn't
77464 # really work at the moment (keeps on discarding used sections, first
77465 # .eh_frame and now some of the glibc sections for iconv).
77466 # Bzzzzt. Thanks for playing, maybe next time.
77467 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77468 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77469 if test "$cross_compiling" = yes; then
77470 ac_sectionLDflags=yes
77471 else
77472 cat >conftest.$ac_ext <<_ACEOF
77473 /* confdefs.h. */
77474 _ACEOF
77475 cat confdefs.h >>conftest.$ac_ext
77476 cat >>conftest.$ac_ext <<_ACEOF
77477 /* end confdefs.h. */
77479 int main(void)
77481 try { throw 1; }
77482 catch (...) { };
77483 return 0;
77486 _ACEOF
77487 rm -f conftest$ac_exeext
77488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77489 (eval $ac_link) 2>&5
77490 ac_status=$?
77491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77494 (eval $ac_try) 2>&5
77495 ac_status=$?
77496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77497 (exit $ac_status); }; }; then
77498 ac_sectionLDflags=yes
77499 else
77500 echo "$as_me: program exited with status $ac_status" >&5
77501 echo "$as_me: failed program was:" >&5
77502 sed 's/^/| /' conftest.$ac_ext >&5
77504 ( exit $ac_status )
77505 ac_sectionLDflags=no
77507 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77509 if test "$ac_test_CFLAGS" = set; then
77510 CFLAGS="$ac_save_CFLAGS"
77511 else
77512 # this is the suspicious part
77513 CFLAGS=''
77515 if test "$ac_sectionLDflags" = "yes"; then
77516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77518 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77519 echo "${ECHO_T}$ac_sectionLDflags" >&6
77522 # Set linker optimization flags.
77523 if test x"$with_gnu_ld" = x"yes"; then
77524 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77532 echo "$as_me:$LINENO: checking for main in -lm" >&5
77533 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77534 if test "${ac_cv_lib_m_main+set}" = set; then
77535 echo $ECHO_N "(cached) $ECHO_C" >&6
77536 else
77537 ac_check_lib_save_LIBS=$LIBS
77538 LIBS="-lm $LIBS"
77539 if test x$gcc_no_link = xyes; then
77540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77542 { (exit 1); exit 1; }; }
77544 cat >conftest.$ac_ext <<_ACEOF
77545 /* confdefs.h. */
77546 _ACEOF
77547 cat confdefs.h >>conftest.$ac_ext
77548 cat >>conftest.$ac_ext <<_ACEOF
77549 /* end confdefs.h. */
77553 main ()
77555 main ();
77557 return 0;
77559 _ACEOF
77560 rm -f conftest.$ac_objext conftest$ac_exeext
77561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77562 (eval $ac_link) 2>conftest.er1
77563 ac_status=$?
77564 grep -v '^ *+' conftest.er1 >conftest.err
77565 rm -f conftest.er1
77566 cat conftest.err >&5
77567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568 (exit $ac_status); } &&
77569 { ac_try='test -z "$ac_c_werror_flag"
77570 || test ! -s conftest.err'
77571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77572 (eval $ac_try) 2>&5
77573 ac_status=$?
77574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575 (exit $ac_status); }; } &&
77576 { ac_try='test -s conftest$ac_exeext'
77577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77578 (eval $ac_try) 2>&5
77579 ac_status=$?
77580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77581 (exit $ac_status); }; }; then
77582 ac_cv_lib_m_main=yes
77583 else
77584 echo "$as_me: failed program was:" >&5
77585 sed 's/^/| /' conftest.$ac_ext >&5
77587 ac_cv_lib_m_main=no
77589 rm -f conftest.err conftest.$ac_objext \
77590 conftest$ac_exeext conftest.$ac_ext
77591 LIBS=$ac_check_lib_save_LIBS
77593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77594 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77595 if test $ac_cv_lib_m_main = yes; then
77596 cat >>confdefs.h <<_ACEOF
77597 #define HAVE_LIBM 1
77598 _ACEOF
77600 LIBS="-lm $LIBS"
77605 for ac_func in copysignf
77607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77608 echo "$as_me:$LINENO: checking for $ac_func" >&5
77609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77610 if eval "test \"\${$as_ac_var+set}\" = set"; then
77611 echo $ECHO_N "(cached) $ECHO_C" >&6
77612 else
77613 if test x$gcc_no_link = xyes; then
77614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77616 { (exit 1); exit 1; }; }
77618 cat >conftest.$ac_ext <<_ACEOF
77619 /* confdefs.h. */
77620 _ACEOF
77621 cat confdefs.h >>conftest.$ac_ext
77622 cat >>conftest.$ac_ext <<_ACEOF
77623 /* end confdefs.h. */
77624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77626 #define $ac_func innocuous_$ac_func
77628 /* System header to define __stub macros and hopefully few prototypes,
77629 which can conflict with char $ac_func (); below.
77630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77631 <limits.h> exists even on freestanding compilers. */
77633 #ifdef __STDC__
77634 # include <limits.h>
77635 #else
77636 # include <assert.h>
77637 #endif
77639 #undef $ac_func
77641 /* Override any gcc2 internal prototype to avoid an error. */
77642 #ifdef __cplusplus
77643 extern "C"
77645 #endif
77646 /* We use char because int might match the return type of a gcc2
77647 builtin and then its argument prototype would still apply. */
77648 char $ac_func ();
77649 /* The GNU C library defines this for functions which it implements
77650 to always fail with ENOSYS. Some functions are actually named
77651 something starting with __ and the normal name is an alias. */
77652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77653 choke me
77654 #else
77655 char (*f) () = $ac_func;
77656 #endif
77657 #ifdef __cplusplus
77659 #endif
77662 main ()
77664 return f != $ac_func;
77666 return 0;
77668 _ACEOF
77669 rm -f conftest.$ac_objext conftest$ac_exeext
77670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77671 (eval $ac_link) 2>conftest.er1
77672 ac_status=$?
77673 grep -v '^ *+' conftest.er1 >conftest.err
77674 rm -f conftest.er1
77675 cat conftest.err >&5
77676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77677 (exit $ac_status); } &&
77678 { ac_try='test -z "$ac_c_werror_flag"
77679 || test ! -s conftest.err'
77680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77681 (eval $ac_try) 2>&5
77682 ac_status=$?
77683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684 (exit $ac_status); }; } &&
77685 { ac_try='test -s conftest$ac_exeext'
77686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77687 (eval $ac_try) 2>&5
77688 ac_status=$?
77689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77690 (exit $ac_status); }; }; then
77691 eval "$as_ac_var=yes"
77692 else
77693 echo "$as_me: failed program was:" >&5
77694 sed 's/^/| /' conftest.$ac_ext >&5
77696 eval "$as_ac_var=no"
77698 rm -f conftest.err conftest.$ac_objext \
77699 conftest$ac_exeext conftest.$ac_ext
77701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77703 if test `eval echo '${'$as_ac_var'}'` = yes; then
77704 cat >>confdefs.h <<_ACEOF
77705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77706 _ACEOF
77708 else
77709 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77711 done
77715 for ac_func in __signbit
77717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77718 echo "$as_me:$LINENO: checking for $ac_func" >&5
77719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77720 if eval "test \"\${$as_ac_var+set}\" = set"; then
77721 echo $ECHO_N "(cached) $ECHO_C" >&6
77722 else
77723 if test x$gcc_no_link = xyes; then
77724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77726 { (exit 1); exit 1; }; }
77728 cat >conftest.$ac_ext <<_ACEOF
77729 /* confdefs.h. */
77730 _ACEOF
77731 cat confdefs.h >>conftest.$ac_ext
77732 cat >>conftest.$ac_ext <<_ACEOF
77733 /* end confdefs.h. */
77734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77736 #define $ac_func innocuous_$ac_func
77738 /* System header to define __stub macros and hopefully few prototypes,
77739 which can conflict with char $ac_func (); below.
77740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77741 <limits.h> exists even on freestanding compilers. */
77743 #ifdef __STDC__
77744 # include <limits.h>
77745 #else
77746 # include <assert.h>
77747 #endif
77749 #undef $ac_func
77751 /* Override any gcc2 internal prototype to avoid an error. */
77752 #ifdef __cplusplus
77753 extern "C"
77755 #endif
77756 /* We use char because int might match the return type of a gcc2
77757 builtin and then its argument prototype would still apply. */
77758 char $ac_func ();
77759 /* The GNU C library defines this for functions which it implements
77760 to always fail with ENOSYS. Some functions are actually named
77761 something starting with __ and the normal name is an alias. */
77762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77763 choke me
77764 #else
77765 char (*f) () = $ac_func;
77766 #endif
77767 #ifdef __cplusplus
77769 #endif
77772 main ()
77774 return f != $ac_func;
77776 return 0;
77778 _ACEOF
77779 rm -f conftest.$ac_objext conftest$ac_exeext
77780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77781 (eval $ac_link) 2>conftest.er1
77782 ac_status=$?
77783 grep -v '^ *+' conftest.er1 >conftest.err
77784 rm -f conftest.er1
77785 cat conftest.err >&5
77786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787 (exit $ac_status); } &&
77788 { ac_try='test -z "$ac_c_werror_flag"
77789 || test ! -s conftest.err'
77790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77791 (eval $ac_try) 2>&5
77792 ac_status=$?
77793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77794 (exit $ac_status); }; } &&
77795 { ac_try='test -s conftest$ac_exeext'
77796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77797 (eval $ac_try) 2>&5
77798 ac_status=$?
77799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77800 (exit $ac_status); }; }; then
77801 eval "$as_ac_var=yes"
77802 else
77803 echo "$as_me: failed program was:" >&5
77804 sed 's/^/| /' conftest.$ac_ext >&5
77806 eval "$as_ac_var=no"
77808 rm -f conftest.err conftest.$ac_objext \
77809 conftest$ac_exeext conftest.$ac_ext
77811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77813 if test `eval echo '${'$as_ac_var'}'` = yes; then
77814 cat >>confdefs.h <<_ACEOF
77815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77816 _ACEOF
77818 else
77819 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77821 done
77825 for ac_func in __signbitf
77827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77828 echo "$as_me:$LINENO: checking for $ac_func" >&5
77829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77830 if eval "test \"\${$as_ac_var+set}\" = set"; then
77831 echo $ECHO_N "(cached) $ECHO_C" >&6
77832 else
77833 if test x$gcc_no_link = xyes; then
77834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77836 { (exit 1); exit 1; }; }
77838 cat >conftest.$ac_ext <<_ACEOF
77839 /* confdefs.h. */
77840 _ACEOF
77841 cat confdefs.h >>conftest.$ac_ext
77842 cat >>conftest.$ac_ext <<_ACEOF
77843 /* end confdefs.h. */
77844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77846 #define $ac_func innocuous_$ac_func
77848 /* System header to define __stub macros and hopefully few prototypes,
77849 which can conflict with char $ac_func (); below.
77850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77851 <limits.h> exists even on freestanding compilers. */
77853 #ifdef __STDC__
77854 # include <limits.h>
77855 #else
77856 # include <assert.h>
77857 #endif
77859 #undef $ac_func
77861 /* Override any gcc2 internal prototype to avoid an error. */
77862 #ifdef __cplusplus
77863 extern "C"
77865 #endif
77866 /* We use char because int might match the return type of a gcc2
77867 builtin and then its argument prototype would still apply. */
77868 char $ac_func ();
77869 /* The GNU C library defines this for functions which it implements
77870 to always fail with ENOSYS. Some functions are actually named
77871 something starting with __ and the normal name is an alias. */
77872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77873 choke me
77874 #else
77875 char (*f) () = $ac_func;
77876 #endif
77877 #ifdef __cplusplus
77879 #endif
77882 main ()
77884 return f != $ac_func;
77886 return 0;
77888 _ACEOF
77889 rm -f conftest.$ac_objext conftest$ac_exeext
77890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77891 (eval $ac_link) 2>conftest.er1
77892 ac_status=$?
77893 grep -v '^ *+' conftest.er1 >conftest.err
77894 rm -f conftest.er1
77895 cat conftest.err >&5
77896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77897 (exit $ac_status); } &&
77898 { ac_try='test -z "$ac_c_werror_flag"
77899 || test ! -s conftest.err'
77900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77901 (eval $ac_try) 2>&5
77902 ac_status=$?
77903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77904 (exit $ac_status); }; } &&
77905 { ac_try='test -s conftest$ac_exeext'
77906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77907 (eval $ac_try) 2>&5
77908 ac_status=$?
77909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77910 (exit $ac_status); }; }; then
77911 eval "$as_ac_var=yes"
77912 else
77913 echo "$as_me: failed program was:" >&5
77914 sed 's/^/| /' conftest.$ac_ext >&5
77916 eval "$as_ac_var=no"
77918 rm -f conftest.err conftest.$ac_objext \
77919 conftest$ac_exeext conftest.$ac_ext
77921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77923 if test `eval echo '${'$as_ac_var'}'` = yes; then
77924 cat >>confdefs.h <<_ACEOF
77925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77926 _ACEOF
77928 else
77929 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77931 done
77934 if test x$ac_cv_func_copysignl = x"yes"; then
77936 for ac_func in __signbitl
77938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77939 echo "$as_me:$LINENO: checking for $ac_func" >&5
77940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77941 if eval "test \"\${$as_ac_var+set}\" = set"; then
77942 echo $ECHO_N "(cached) $ECHO_C" >&6
77943 else
77944 if test x$gcc_no_link = xyes; then
77945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77947 { (exit 1); exit 1; }; }
77949 cat >conftest.$ac_ext <<_ACEOF
77950 /* confdefs.h. */
77951 _ACEOF
77952 cat confdefs.h >>conftest.$ac_ext
77953 cat >>conftest.$ac_ext <<_ACEOF
77954 /* end confdefs.h. */
77955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77957 #define $ac_func innocuous_$ac_func
77959 /* System header to define __stub macros and hopefully few prototypes,
77960 which can conflict with char $ac_func (); below.
77961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77962 <limits.h> exists even on freestanding compilers. */
77964 #ifdef __STDC__
77965 # include <limits.h>
77966 #else
77967 # include <assert.h>
77968 #endif
77970 #undef $ac_func
77972 /* Override any gcc2 internal prototype to avoid an error. */
77973 #ifdef __cplusplus
77974 extern "C"
77976 #endif
77977 /* We use char because int might match the return type of a gcc2
77978 builtin and then its argument prototype would still apply. */
77979 char $ac_func ();
77980 /* The GNU C library defines this for functions which it implements
77981 to always fail with ENOSYS. Some functions are actually named
77982 something starting with __ and the normal name is an alias. */
77983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77984 choke me
77985 #else
77986 char (*f) () = $ac_func;
77987 #endif
77988 #ifdef __cplusplus
77990 #endif
77993 main ()
77995 return f != $ac_func;
77997 return 0;
77999 _ACEOF
78000 rm -f conftest.$ac_objext conftest$ac_exeext
78001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78002 (eval $ac_link) 2>conftest.er1
78003 ac_status=$?
78004 grep -v '^ *+' conftest.er1 >conftest.err
78005 rm -f conftest.er1
78006 cat conftest.err >&5
78007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78008 (exit $ac_status); } &&
78009 { ac_try='test -z "$ac_c_werror_flag"
78010 || test ! -s conftest.err'
78011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78012 (eval $ac_try) 2>&5
78013 ac_status=$?
78014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78015 (exit $ac_status); }; } &&
78016 { ac_try='test -s conftest$ac_exeext'
78017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78018 (eval $ac_try) 2>&5
78019 ac_status=$?
78020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78021 (exit $ac_status); }; }; then
78022 eval "$as_ac_var=yes"
78023 else
78024 echo "$as_me: failed program was:" >&5
78025 sed 's/^/| /' conftest.$ac_ext >&5
78027 eval "$as_ac_var=no"
78029 rm -f conftest.err conftest.$ac_objext \
78030 conftest$ac_exeext conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78034 if test `eval echo '${'$as_ac_var'}'` = yes; then
78035 cat >>confdefs.h <<_ACEOF
78036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78037 _ACEOF
78039 else
78040 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78042 done
78046 # Used in libmath/Makefile.am.
78047 if test -n "$LIBMATHOBJS"; then
78048 need_libmath=yes
78054 enable_iconv=no
78055 # Only continue checking if the ISO C99 headers exist and support is on.
78056 if test x"$enable_wchar_t" = xyes; then
78058 # Use iconv for wchar_t to char conversions. As such, check for
78059 # X/Open Portability Guide, version 2 features (XPG2).
78060 if test "${ac_cv_header_iconv_h+set}" = set; then
78061 echo "$as_me:$LINENO: checking for iconv.h" >&5
78062 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78063 if test "${ac_cv_header_iconv_h+set}" = set; then
78064 echo $ECHO_N "(cached) $ECHO_C" >&6
78066 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78067 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78068 else
78069 # Is the header compilable?
78070 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78071 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78072 cat >conftest.$ac_ext <<_ACEOF
78073 /* confdefs.h. */
78074 _ACEOF
78075 cat confdefs.h >>conftest.$ac_ext
78076 cat >>conftest.$ac_ext <<_ACEOF
78077 /* end confdefs.h. */
78078 $ac_includes_default
78079 #include <iconv.h>
78080 _ACEOF
78081 rm -f conftest.$ac_objext
78082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78083 (eval $ac_compile) 2>conftest.er1
78084 ac_status=$?
78085 grep -v '^ *+' conftest.er1 >conftest.err
78086 rm -f conftest.er1
78087 cat conftest.err >&5
78088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78089 (exit $ac_status); } &&
78090 { ac_try='test -z "$ac_c_werror_flag"
78091 || test ! -s conftest.err'
78092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78093 (eval $ac_try) 2>&5
78094 ac_status=$?
78095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096 (exit $ac_status); }; } &&
78097 { ac_try='test -s conftest.$ac_objext'
78098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78099 (eval $ac_try) 2>&5
78100 ac_status=$?
78101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78102 (exit $ac_status); }; }; then
78103 ac_header_compiler=yes
78104 else
78105 echo "$as_me: failed program was:" >&5
78106 sed 's/^/| /' conftest.$ac_ext >&5
78108 ac_header_compiler=no
78110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78112 echo "${ECHO_T}$ac_header_compiler" >&6
78114 # Is the header present?
78115 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78116 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78117 cat >conftest.$ac_ext <<_ACEOF
78118 /* confdefs.h. */
78119 _ACEOF
78120 cat confdefs.h >>conftest.$ac_ext
78121 cat >>conftest.$ac_ext <<_ACEOF
78122 /* end confdefs.h. */
78123 #include <iconv.h>
78124 _ACEOF
78125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78127 ac_status=$?
78128 grep -v '^ *+' conftest.er1 >conftest.err
78129 rm -f conftest.er1
78130 cat conftest.err >&5
78131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78132 (exit $ac_status); } >/dev/null; then
78133 if test -s conftest.err; then
78134 ac_cpp_err=$ac_c_preproc_warn_flag
78135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78136 else
78137 ac_cpp_err=
78139 else
78140 ac_cpp_err=yes
78142 if test -z "$ac_cpp_err"; then
78143 ac_header_preproc=yes
78144 else
78145 echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78148 ac_header_preproc=no
78150 rm -f conftest.err conftest.$ac_ext
78151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78152 echo "${ECHO_T}$ac_header_preproc" >&6
78154 # So? What about this header?
78155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78156 yes:no: )
78157 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78158 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78159 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78160 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78161 ac_header_preproc=yes
78163 no:yes:* )
78164 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78165 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78166 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78167 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78168 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78169 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78170 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78171 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78172 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78173 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78174 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78175 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78177 cat <<\_ASBOX
78178 ## ----------------------------------------- ##
78179 ## Report this to the package-unused lists. ##
78180 ## ----------------------------------------- ##
78181 _ASBOX
78183 sed "s/^/$as_me: WARNING: /" >&2
78185 esac
78186 echo "$as_me:$LINENO: checking for iconv.h" >&5
78187 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78188 if test "${ac_cv_header_iconv_h+set}" = set; then
78189 echo $ECHO_N "(cached) $ECHO_C" >&6
78190 else
78191 ac_cv_header_iconv_h=$ac_header_preproc
78193 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78194 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78197 if test $ac_cv_header_iconv_h = yes; then
78198 ac_has_iconv_h=yes
78199 else
78200 ac_has_iconv_h=no
78204 if test "${ac_cv_header_langinfo_h+set}" = set; then
78205 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78206 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78207 if test "${ac_cv_header_langinfo_h+set}" = set; then
78208 echo $ECHO_N "(cached) $ECHO_C" >&6
78210 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78211 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78212 else
78213 # Is the header compilable?
78214 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78215 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78216 cat >conftest.$ac_ext <<_ACEOF
78217 /* confdefs.h. */
78218 _ACEOF
78219 cat confdefs.h >>conftest.$ac_ext
78220 cat >>conftest.$ac_ext <<_ACEOF
78221 /* end confdefs.h. */
78222 $ac_includes_default
78223 #include <langinfo.h>
78224 _ACEOF
78225 rm -f conftest.$ac_objext
78226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78227 (eval $ac_compile) 2>conftest.er1
78228 ac_status=$?
78229 grep -v '^ *+' conftest.er1 >conftest.err
78230 rm -f conftest.er1
78231 cat conftest.err >&5
78232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78233 (exit $ac_status); } &&
78234 { ac_try='test -z "$ac_c_werror_flag"
78235 || test ! -s conftest.err'
78236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78237 (eval $ac_try) 2>&5
78238 ac_status=$?
78239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240 (exit $ac_status); }; } &&
78241 { ac_try='test -s conftest.$ac_objext'
78242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78243 (eval $ac_try) 2>&5
78244 ac_status=$?
78245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78246 (exit $ac_status); }; }; then
78247 ac_header_compiler=yes
78248 else
78249 echo "$as_me: failed program was:" >&5
78250 sed 's/^/| /' conftest.$ac_ext >&5
78252 ac_header_compiler=no
78254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78256 echo "${ECHO_T}$ac_header_compiler" >&6
78258 # Is the header present?
78259 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78260 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78261 cat >conftest.$ac_ext <<_ACEOF
78262 /* confdefs.h. */
78263 _ACEOF
78264 cat confdefs.h >>conftest.$ac_ext
78265 cat >>conftest.$ac_ext <<_ACEOF
78266 /* end confdefs.h. */
78267 #include <langinfo.h>
78268 _ACEOF
78269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78271 ac_status=$?
78272 grep -v '^ *+' conftest.er1 >conftest.err
78273 rm -f conftest.er1
78274 cat conftest.err >&5
78275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78276 (exit $ac_status); } >/dev/null; then
78277 if test -s conftest.err; then
78278 ac_cpp_err=$ac_c_preproc_warn_flag
78279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78280 else
78281 ac_cpp_err=
78283 else
78284 ac_cpp_err=yes
78286 if test -z "$ac_cpp_err"; then
78287 ac_header_preproc=yes
78288 else
78289 echo "$as_me: failed program was:" >&5
78290 sed 's/^/| /' conftest.$ac_ext >&5
78292 ac_header_preproc=no
78294 rm -f conftest.err conftest.$ac_ext
78295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78296 echo "${ECHO_T}$ac_header_preproc" >&6
78298 # So? What about this header?
78299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78300 yes:no: )
78301 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78302 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78303 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78304 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78305 ac_header_preproc=yes
78307 no:yes:* )
78308 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78309 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78310 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78311 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78312 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78313 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78314 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78315 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78316 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78317 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78318 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78319 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78321 cat <<\_ASBOX
78322 ## ----------------------------------------- ##
78323 ## Report this to the package-unused lists. ##
78324 ## ----------------------------------------- ##
78325 _ASBOX
78327 sed "s/^/$as_me: WARNING: /" >&2
78329 esac
78330 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78331 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78332 if test "${ac_cv_header_langinfo_h+set}" = set; then
78333 echo $ECHO_N "(cached) $ECHO_C" >&6
78334 else
78335 ac_cv_header_langinfo_h=$ac_header_preproc
78337 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78338 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78341 if test $ac_cv_header_langinfo_h = yes; then
78342 ac_has_langinfo_h=yes
78343 else
78344 ac_has_langinfo_h=no
78349 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78350 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78351 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78352 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78353 echo $ECHO_N "(cached) $ECHO_C" >&6
78354 else
78355 ac_check_lib_save_LIBS=$LIBS
78356 LIBS="-liconv $LIBS"
78357 if test x$gcc_no_link = xyes; then
78358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78360 { (exit 1); exit 1; }; }
78362 cat >conftest.$ac_ext <<_ACEOF
78363 /* confdefs.h. */
78364 _ACEOF
78365 cat confdefs.h >>conftest.$ac_ext
78366 cat >>conftest.$ac_ext <<_ACEOF
78367 /* end confdefs.h. */
78369 /* Override any gcc2 internal prototype to avoid an error. */
78370 #ifdef __cplusplus
78371 extern "C"
78372 #endif
78373 /* We use char because int might match the return type of a gcc2
78374 builtin and then its argument prototype would still apply. */
78375 char iconv ();
78377 main ()
78379 iconv ();
78381 return 0;
78383 _ACEOF
78384 rm -f conftest.$ac_objext conftest$ac_exeext
78385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78386 (eval $ac_link) 2>conftest.er1
78387 ac_status=$?
78388 grep -v '^ *+' conftest.er1 >conftest.err
78389 rm -f conftest.er1
78390 cat conftest.err >&5
78391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78392 (exit $ac_status); } &&
78393 { ac_try='test -z "$ac_c_werror_flag"
78394 || test ! -s conftest.err'
78395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78396 (eval $ac_try) 2>&5
78397 ac_status=$?
78398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78399 (exit $ac_status); }; } &&
78400 { ac_try='test -s conftest$ac_exeext'
78401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78402 (eval $ac_try) 2>&5
78403 ac_status=$?
78404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78405 (exit $ac_status); }; }; then
78406 ac_cv_lib_iconv_iconv=yes
78407 else
78408 echo "$as_me: failed program was:" >&5
78409 sed 's/^/| /' conftest.$ac_ext >&5
78411 ac_cv_lib_iconv_iconv=no
78413 rm -f conftest.err conftest.$ac_objext \
78414 conftest$ac_exeext conftest.$ac_ext
78415 LIBS=$ac_check_lib_save_LIBS
78417 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78418 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78419 if test $ac_cv_lib_iconv_iconv = yes; then
78420 LIBICONV="-liconv"
78423 ac_save_LIBS="$LIBS"
78424 LIBS="$LIBS $LIBICONV"
78431 for ac_func in iconv_open iconv_close iconv nl_langinfo
78433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78434 echo "$as_me:$LINENO: checking for $ac_func" >&5
78435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78436 if eval "test \"\${$as_ac_var+set}\" = set"; then
78437 echo $ECHO_N "(cached) $ECHO_C" >&6
78438 else
78439 if test x$gcc_no_link = xyes; then
78440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78442 { (exit 1); exit 1; }; }
78444 cat >conftest.$ac_ext <<_ACEOF
78445 /* confdefs.h. */
78446 _ACEOF
78447 cat confdefs.h >>conftest.$ac_ext
78448 cat >>conftest.$ac_ext <<_ACEOF
78449 /* end confdefs.h. */
78450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78452 #define $ac_func innocuous_$ac_func
78454 /* System header to define __stub macros and hopefully few prototypes,
78455 which can conflict with char $ac_func (); below.
78456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78457 <limits.h> exists even on freestanding compilers. */
78459 #ifdef __STDC__
78460 # include <limits.h>
78461 #else
78462 # include <assert.h>
78463 #endif
78465 #undef $ac_func
78467 /* Override any gcc2 internal prototype to avoid an error. */
78468 #ifdef __cplusplus
78469 extern "C"
78471 #endif
78472 /* We use char because int might match the return type of a gcc2
78473 builtin and then its argument prototype would still apply. */
78474 char $ac_func ();
78475 /* The GNU C library defines this for functions which it implements
78476 to always fail with ENOSYS. Some functions are actually named
78477 something starting with __ and the normal name is an alias. */
78478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78479 choke me
78480 #else
78481 char (*f) () = $ac_func;
78482 #endif
78483 #ifdef __cplusplus
78485 #endif
78488 main ()
78490 return f != $ac_func;
78492 return 0;
78494 _ACEOF
78495 rm -f conftest.$ac_objext conftest$ac_exeext
78496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78497 (eval $ac_link) 2>conftest.er1
78498 ac_status=$?
78499 grep -v '^ *+' conftest.er1 >conftest.err
78500 rm -f conftest.er1
78501 cat conftest.err >&5
78502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78503 (exit $ac_status); } &&
78504 { ac_try='test -z "$ac_c_werror_flag"
78505 || test ! -s conftest.err'
78506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78507 (eval $ac_try) 2>&5
78508 ac_status=$?
78509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78510 (exit $ac_status); }; } &&
78511 { ac_try='test -s conftest$ac_exeext'
78512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513 (eval $ac_try) 2>&5
78514 ac_status=$?
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); }; }; then
78517 eval "$as_ac_var=yes"
78518 else
78519 echo "$as_me: failed program was:" >&5
78520 sed 's/^/| /' conftest.$ac_ext >&5
78522 eval "$as_ac_var=no"
78524 rm -f conftest.err conftest.$ac_objext \
78525 conftest$ac_exeext conftest.$ac_ext
78527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78529 if test `eval echo '${'$as_ac_var'}'` = yes; then
78530 cat >>confdefs.h <<_ACEOF
78531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78532 _ACEOF
78533 ac_XPG2funcs=yes
78534 else
78535 ac_XPG2funcs=no
78537 done
78540 LIBS="$ac_save_LIBS"
78542 if test x"$ac_has_iconv_h" = xyes &&
78543 test x"$ac_has_langinfo_h" = xyes &&
78544 test x"$ac_XPG2funcs" = xyes;
78545 then
78547 cat >>confdefs.h <<\_ACEOF
78548 #define _GLIBCXX_USE_ICONV 1
78549 _ACEOF
78551 enable_iconv=yes
78554 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78555 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78556 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78557 echo "${ECHO_T}$enable_iconv" >&6
78560 *-netbsd*)
78573 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78574 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78575 fp.h locale.h float.h inttypes.h
78577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78579 echo "$as_me:$LINENO: checking for $ac_header" >&5
78580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78582 echo $ECHO_N "(cached) $ECHO_C" >&6
78584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78586 else
78587 # Is the header compilable?
78588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78590 cat >conftest.$ac_ext <<_ACEOF
78591 /* confdefs.h. */
78592 _ACEOF
78593 cat confdefs.h >>conftest.$ac_ext
78594 cat >>conftest.$ac_ext <<_ACEOF
78595 /* end confdefs.h. */
78596 $ac_includes_default
78597 #include <$ac_header>
78598 _ACEOF
78599 rm -f conftest.$ac_objext
78600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78601 (eval $ac_compile) 2>conftest.er1
78602 ac_status=$?
78603 grep -v '^ *+' conftest.er1 >conftest.err
78604 rm -f conftest.er1
78605 cat conftest.err >&5
78606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78607 (exit $ac_status); } &&
78608 { ac_try='test -z "$ac_c_werror_flag"
78609 || test ! -s conftest.err'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; } &&
78615 { ac_try='test -s conftest.$ac_objext'
78616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78617 (eval $ac_try) 2>&5
78618 ac_status=$?
78619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78620 (exit $ac_status); }; }; then
78621 ac_header_compiler=yes
78622 else
78623 echo "$as_me: failed program was:" >&5
78624 sed 's/^/| /' conftest.$ac_ext >&5
78626 ac_header_compiler=no
78628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78630 echo "${ECHO_T}$ac_header_compiler" >&6
78632 # Is the header present?
78633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78635 cat >conftest.$ac_ext <<_ACEOF
78636 /* confdefs.h. */
78637 _ACEOF
78638 cat confdefs.h >>conftest.$ac_ext
78639 cat >>conftest.$ac_ext <<_ACEOF
78640 /* end confdefs.h. */
78641 #include <$ac_header>
78642 _ACEOF
78643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78645 ac_status=$?
78646 grep -v '^ *+' conftest.er1 >conftest.err
78647 rm -f conftest.er1
78648 cat conftest.err >&5
78649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78650 (exit $ac_status); } >/dev/null; then
78651 if test -s conftest.err; then
78652 ac_cpp_err=$ac_c_preproc_warn_flag
78653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78654 else
78655 ac_cpp_err=
78657 else
78658 ac_cpp_err=yes
78660 if test -z "$ac_cpp_err"; then
78661 ac_header_preproc=yes
78662 else
78663 echo "$as_me: failed program was:" >&5
78664 sed 's/^/| /' conftest.$ac_ext >&5
78666 ac_header_preproc=no
78668 rm -f conftest.err conftest.$ac_ext
78669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78670 echo "${ECHO_T}$ac_header_preproc" >&6
78672 # So? What about this header?
78673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78674 yes:no: )
78675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78679 ac_header_preproc=yes
78681 no:yes:* )
78682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78695 cat <<\_ASBOX
78696 ## ----------------------------------------- ##
78697 ## Report this to the package-unused lists. ##
78698 ## ----------------------------------------- ##
78699 _ASBOX
78701 sed "s/^/$as_me: WARNING: /" >&2
78703 esac
78704 echo "$as_me:$LINENO: checking for $ac_header" >&5
78705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78707 echo $ECHO_N "(cached) $ECHO_C" >&6
78708 else
78709 eval "$as_ac_Header=\$ac_header_preproc"
78711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78716 cat >>confdefs.h <<_ACEOF
78717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78718 _ACEOF
78722 done
78724 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78727 # If we're not using GNU ld, then there's no point in even trying these
78728 # tests. Check for that first. We should have already tested for gld
78729 # by now (in libtool), but require it now just to be safe...
78730 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78731 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78735 # The name set by libtool depends on the version of libtool. Shame on us
78736 # for depending on an impl detail, but c'est la vie. Older versions used
78737 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78738 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78739 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78740 # set (hence we're using an older libtool), then set it.
78741 if test x${with_gnu_ld+set} != xset; then
78742 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78743 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78744 with_gnu_ld=no
78745 else
78746 with_gnu_ld=$ac_cv_prog_gnu_ld
78750 # Start by getting the version number. I think the libtool test already
78751 # does some of this, but throws away the result.
78753 ldver=`$LD --version 2>/dev/null | head -1 | \
78754 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78756 glibcxx_gnu_ld_version=`echo $ldver | \
78757 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78759 # Set --gc-sections.
78760 if test "$with_gnu_ld" = "notbroken"; then
78761 # GNU ld it is! Joy and bunny rabbits!
78763 # All these tests are for C++; save the language and the compiler flags.
78764 # Need to do this so that g++ won't try to link in libstdc++
78765 ac_test_CFLAGS="${CFLAGS+set}"
78766 ac_save_CFLAGS="$CFLAGS"
78767 CFLAGS='-x c++ -Wl,--gc-sections'
78769 # Check for -Wl,--gc-sections
78770 # XXX This test is broken at the moment, as symbols required for linking
78771 # are now in libsupc++ (not built yet). In addition, this test has
78772 # cored on solaris in the past. In addition, --gc-sections doesn't
78773 # really work at the moment (keeps on discarding used sections, first
78774 # .eh_frame and now some of the glibc sections for iconv).
78775 # Bzzzzt. Thanks for playing, maybe next time.
78776 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78777 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78778 if test "$cross_compiling" = yes; then
78779 ac_sectionLDflags=yes
78780 else
78781 cat >conftest.$ac_ext <<_ACEOF
78782 /* confdefs.h. */
78783 _ACEOF
78784 cat confdefs.h >>conftest.$ac_ext
78785 cat >>conftest.$ac_ext <<_ACEOF
78786 /* end confdefs.h. */
78788 int main(void)
78790 try { throw 1; }
78791 catch (...) { };
78792 return 0;
78795 _ACEOF
78796 rm -f conftest$ac_exeext
78797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78798 (eval $ac_link) 2>&5
78799 ac_status=$?
78800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
78802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78803 (eval $ac_try) 2>&5
78804 ac_status=$?
78805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78806 (exit $ac_status); }; }; then
78807 ac_sectionLDflags=yes
78808 else
78809 echo "$as_me: program exited with status $ac_status" >&5
78810 echo "$as_me: failed program was:" >&5
78811 sed 's/^/| /' conftest.$ac_ext >&5
78813 ( exit $ac_status )
78814 ac_sectionLDflags=no
78816 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
78818 if test "$ac_test_CFLAGS" = set; then
78819 CFLAGS="$ac_save_CFLAGS"
78820 else
78821 # this is the suspicious part
78822 CFLAGS=''
78824 if test "$ac_sectionLDflags" = "yes"; then
78825 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78827 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
78828 echo "${ECHO_T}$ac_sectionLDflags" >&6
78831 # Set linker optimization flags.
78832 if test x"$with_gnu_ld" = x"yes"; then
78833 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78841 echo "$as_me:$LINENO: checking for main in -lm" >&5
78842 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78843 if test "${ac_cv_lib_m_main+set}" = set; then
78844 echo $ECHO_N "(cached) $ECHO_C" >&6
78845 else
78846 ac_check_lib_save_LIBS=$LIBS
78847 LIBS="-lm $LIBS"
78848 if test x$gcc_no_link = xyes; then
78849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78851 { (exit 1); exit 1; }; }
78853 cat >conftest.$ac_ext <<_ACEOF
78854 /* confdefs.h. */
78855 _ACEOF
78856 cat confdefs.h >>conftest.$ac_ext
78857 cat >>conftest.$ac_ext <<_ACEOF
78858 /* end confdefs.h. */
78862 main ()
78864 main ();
78866 return 0;
78868 _ACEOF
78869 rm -f conftest.$ac_objext conftest$ac_exeext
78870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78871 (eval $ac_link) 2>conftest.er1
78872 ac_status=$?
78873 grep -v '^ *+' conftest.er1 >conftest.err
78874 rm -f conftest.er1
78875 cat conftest.err >&5
78876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877 (exit $ac_status); } &&
78878 { ac_try='test -z "$ac_c_werror_flag"
78879 || test ! -s conftest.err'
78880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881 (eval $ac_try) 2>&5
78882 ac_status=$?
78883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884 (exit $ac_status); }; } &&
78885 { ac_try='test -s conftest$ac_exeext'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; }; then
78891 ac_cv_lib_m_main=yes
78892 else
78893 echo "$as_me: failed program was:" >&5
78894 sed 's/^/| /' conftest.$ac_ext >&5
78896 ac_cv_lib_m_main=no
78898 rm -f conftest.err conftest.$ac_objext \
78899 conftest$ac_exeext conftest.$ac_ext
78900 LIBS=$ac_check_lib_save_LIBS
78902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78903 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78904 if test $ac_cv_lib_m_main = yes; then
78905 cat >>confdefs.h <<_ACEOF
78906 #define HAVE_LIBM 1
78907 _ACEOF
78909 LIBS="-lm $LIBS"
78914 for ac_func in copysignf
78916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78917 echo "$as_me:$LINENO: checking for $ac_func" >&5
78918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78919 if eval "test \"\${$as_ac_var+set}\" = set"; then
78920 echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922 if test x$gcc_no_link = xyes; then
78923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78925 { (exit 1); exit 1; }; }
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h. */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h. */
78933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78935 #define $ac_func innocuous_$ac_func
78937 /* System header to define __stub macros and hopefully few prototypes,
78938 which can conflict with char $ac_func (); below.
78939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78940 <limits.h> exists even on freestanding compilers. */
78942 #ifdef __STDC__
78943 # include <limits.h>
78944 #else
78945 # include <assert.h>
78946 #endif
78948 #undef $ac_func
78950 /* Override any gcc2 internal prototype to avoid an error. */
78951 #ifdef __cplusplus
78952 extern "C"
78954 #endif
78955 /* We use char because int might match the return type of a gcc2
78956 builtin and then its argument prototype would still apply. */
78957 char $ac_func ();
78958 /* The GNU C library defines this for functions which it implements
78959 to always fail with ENOSYS. Some functions are actually named
78960 something starting with __ and the normal name is an alias. */
78961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78962 choke me
78963 #else
78964 char (*f) () = $ac_func;
78965 #endif
78966 #ifdef __cplusplus
78968 #endif
78971 main ()
78973 return f != $ac_func;
78975 return 0;
78977 _ACEOF
78978 rm -f conftest.$ac_objext conftest$ac_exeext
78979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78980 (eval $ac_link) 2>conftest.er1
78981 ac_status=$?
78982 grep -v '^ *+' conftest.er1 >conftest.err
78983 rm -f conftest.er1
78984 cat conftest.err >&5
78985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78986 (exit $ac_status); } &&
78987 { ac_try='test -z "$ac_c_werror_flag"
78988 || test ! -s conftest.err'
78989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78990 (eval $ac_try) 2>&5
78991 ac_status=$?
78992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78993 (exit $ac_status); }; } &&
78994 { ac_try='test -s conftest$ac_exeext'
78995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78996 (eval $ac_try) 2>&5
78997 ac_status=$?
78998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78999 (exit $ac_status); }; }; then
79000 eval "$as_ac_var=yes"
79001 else
79002 echo "$as_me: failed program was:" >&5
79003 sed 's/^/| /' conftest.$ac_ext >&5
79005 eval "$as_ac_var=no"
79007 rm -f conftest.err conftest.$ac_objext \
79008 conftest$ac_exeext conftest.$ac_ext
79010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79012 if test `eval echo '${'$as_ac_var'}'` = yes; then
79013 cat >>confdefs.h <<_ACEOF
79014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79015 _ACEOF
79017 else
79018 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79020 done
79024 for ac_func in __signbit
79026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79027 echo "$as_me:$LINENO: checking for $ac_func" >&5
79028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79029 if eval "test \"\${$as_ac_var+set}\" = set"; then
79030 echo $ECHO_N "(cached) $ECHO_C" >&6
79031 else
79032 if test x$gcc_no_link = xyes; then
79033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79035 { (exit 1); exit 1; }; }
79037 cat >conftest.$ac_ext <<_ACEOF
79038 /* confdefs.h. */
79039 _ACEOF
79040 cat confdefs.h >>conftest.$ac_ext
79041 cat >>conftest.$ac_ext <<_ACEOF
79042 /* end confdefs.h. */
79043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79045 #define $ac_func innocuous_$ac_func
79047 /* System header to define __stub macros and hopefully few prototypes,
79048 which can conflict with char $ac_func (); below.
79049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79050 <limits.h> exists even on freestanding compilers. */
79052 #ifdef __STDC__
79053 # include <limits.h>
79054 #else
79055 # include <assert.h>
79056 #endif
79058 #undef $ac_func
79060 /* Override any gcc2 internal prototype to avoid an error. */
79061 #ifdef __cplusplus
79062 extern "C"
79064 #endif
79065 /* We use char because int might match the return type of a gcc2
79066 builtin and then its argument prototype would still apply. */
79067 char $ac_func ();
79068 /* The GNU C library defines this for functions which it implements
79069 to always fail with ENOSYS. Some functions are actually named
79070 something starting with __ and the normal name is an alias. */
79071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79072 choke me
79073 #else
79074 char (*f) () = $ac_func;
79075 #endif
79076 #ifdef __cplusplus
79078 #endif
79081 main ()
79083 return f != $ac_func;
79085 return 0;
79087 _ACEOF
79088 rm -f conftest.$ac_objext conftest$ac_exeext
79089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79090 (eval $ac_link) 2>conftest.er1
79091 ac_status=$?
79092 grep -v '^ *+' conftest.er1 >conftest.err
79093 rm -f conftest.er1
79094 cat conftest.err >&5
79095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79096 (exit $ac_status); } &&
79097 { ac_try='test -z "$ac_c_werror_flag"
79098 || test ! -s conftest.err'
79099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79100 (eval $ac_try) 2>&5
79101 ac_status=$?
79102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79103 (exit $ac_status); }; } &&
79104 { ac_try='test -s conftest$ac_exeext'
79105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79106 (eval $ac_try) 2>&5
79107 ac_status=$?
79108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79109 (exit $ac_status); }; }; then
79110 eval "$as_ac_var=yes"
79111 else
79112 echo "$as_me: failed program was:" >&5
79113 sed 's/^/| /' conftest.$ac_ext >&5
79115 eval "$as_ac_var=no"
79117 rm -f conftest.err conftest.$ac_objext \
79118 conftest$ac_exeext conftest.$ac_ext
79120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79122 if test `eval echo '${'$as_ac_var'}'` = yes; then
79123 cat >>confdefs.h <<_ACEOF
79124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79125 _ACEOF
79127 else
79128 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79130 done
79134 for ac_func in __signbitf
79136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79137 echo "$as_me:$LINENO: checking for $ac_func" >&5
79138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79139 if eval "test \"\${$as_ac_var+set}\" = set"; then
79140 echo $ECHO_N "(cached) $ECHO_C" >&6
79141 else
79142 if test x$gcc_no_link = xyes; then
79143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79145 { (exit 1); exit 1; }; }
79147 cat >conftest.$ac_ext <<_ACEOF
79148 /* confdefs.h. */
79149 _ACEOF
79150 cat confdefs.h >>conftest.$ac_ext
79151 cat >>conftest.$ac_ext <<_ACEOF
79152 /* end confdefs.h. */
79153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79155 #define $ac_func innocuous_$ac_func
79157 /* System header to define __stub macros and hopefully few prototypes,
79158 which can conflict with char $ac_func (); below.
79159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79160 <limits.h> exists even on freestanding compilers. */
79162 #ifdef __STDC__
79163 # include <limits.h>
79164 #else
79165 # include <assert.h>
79166 #endif
79168 #undef $ac_func
79170 /* Override any gcc2 internal prototype to avoid an error. */
79171 #ifdef __cplusplus
79172 extern "C"
79174 #endif
79175 /* We use char because int might match the return type of a gcc2
79176 builtin and then its argument prototype would still apply. */
79177 char $ac_func ();
79178 /* The GNU C library defines this for functions which it implements
79179 to always fail with ENOSYS. Some functions are actually named
79180 something starting with __ and the normal name is an alias. */
79181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79182 choke me
79183 #else
79184 char (*f) () = $ac_func;
79185 #endif
79186 #ifdef __cplusplus
79188 #endif
79191 main ()
79193 return f != $ac_func;
79195 return 0;
79197 _ACEOF
79198 rm -f conftest.$ac_objext conftest$ac_exeext
79199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79200 (eval $ac_link) 2>conftest.er1
79201 ac_status=$?
79202 grep -v '^ *+' conftest.er1 >conftest.err
79203 rm -f conftest.er1
79204 cat conftest.err >&5
79205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79206 (exit $ac_status); } &&
79207 { ac_try='test -z "$ac_c_werror_flag"
79208 || test ! -s conftest.err'
79209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79210 (eval $ac_try) 2>&5
79211 ac_status=$?
79212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79213 (exit $ac_status); }; } &&
79214 { ac_try='test -s conftest$ac_exeext'
79215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79216 (eval $ac_try) 2>&5
79217 ac_status=$?
79218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219 (exit $ac_status); }; }; then
79220 eval "$as_ac_var=yes"
79221 else
79222 echo "$as_me: failed program was:" >&5
79223 sed 's/^/| /' conftest.$ac_ext >&5
79225 eval "$as_ac_var=no"
79227 rm -f conftest.err conftest.$ac_objext \
79228 conftest$ac_exeext conftest.$ac_ext
79230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79232 if test `eval echo '${'$as_ac_var'}'` = yes; then
79233 cat >>confdefs.h <<_ACEOF
79234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79235 _ACEOF
79237 else
79238 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79240 done
79243 if test x$ac_cv_func_copysignl = x"yes"; then
79245 for ac_func in __signbitl
79247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79248 echo "$as_me:$LINENO: checking for $ac_func" >&5
79249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79250 if eval "test \"\${$as_ac_var+set}\" = set"; then
79251 echo $ECHO_N "(cached) $ECHO_C" >&6
79252 else
79253 if test x$gcc_no_link = xyes; then
79254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79256 { (exit 1); exit 1; }; }
79258 cat >conftest.$ac_ext <<_ACEOF
79259 /* confdefs.h. */
79260 _ACEOF
79261 cat confdefs.h >>conftest.$ac_ext
79262 cat >>conftest.$ac_ext <<_ACEOF
79263 /* end confdefs.h. */
79264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79266 #define $ac_func innocuous_$ac_func
79268 /* System header to define __stub macros and hopefully few prototypes,
79269 which can conflict with char $ac_func (); below.
79270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79271 <limits.h> exists even on freestanding compilers. */
79273 #ifdef __STDC__
79274 # include <limits.h>
79275 #else
79276 # include <assert.h>
79277 #endif
79279 #undef $ac_func
79281 /* Override any gcc2 internal prototype to avoid an error. */
79282 #ifdef __cplusplus
79283 extern "C"
79285 #endif
79286 /* We use char because int might match the return type of a gcc2
79287 builtin and then its argument prototype would still apply. */
79288 char $ac_func ();
79289 /* The GNU C library defines this for functions which it implements
79290 to always fail with ENOSYS. Some functions are actually named
79291 something starting with __ and the normal name is an alias. */
79292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79293 choke me
79294 #else
79295 char (*f) () = $ac_func;
79296 #endif
79297 #ifdef __cplusplus
79299 #endif
79302 main ()
79304 return f != $ac_func;
79306 return 0;
79308 _ACEOF
79309 rm -f conftest.$ac_objext conftest$ac_exeext
79310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79311 (eval $ac_link) 2>conftest.er1
79312 ac_status=$?
79313 grep -v '^ *+' conftest.er1 >conftest.err
79314 rm -f conftest.er1
79315 cat conftest.err >&5
79316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79317 (exit $ac_status); } &&
79318 { ac_try='test -z "$ac_c_werror_flag"
79319 || test ! -s conftest.err'
79320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79321 (eval $ac_try) 2>&5
79322 ac_status=$?
79323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79324 (exit $ac_status); }; } &&
79325 { ac_try='test -s conftest$ac_exeext'
79326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79327 (eval $ac_try) 2>&5
79328 ac_status=$?
79329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79330 (exit $ac_status); }; }; then
79331 eval "$as_ac_var=yes"
79332 else
79333 echo "$as_me: failed program was:" >&5
79334 sed 's/^/| /' conftest.$ac_ext >&5
79336 eval "$as_ac_var=no"
79338 rm -f conftest.err conftest.$ac_objext \
79339 conftest$ac_exeext conftest.$ac_ext
79341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79343 if test `eval echo '${'$as_ac_var'}'` = yes; then
79344 cat >>confdefs.h <<_ACEOF
79345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79346 _ACEOF
79348 else
79349 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79351 done
79355 # Used in libmath/Makefile.am.
79356 if test -n "$LIBMATHOBJS"; then
79357 need_libmath=yes
79363 enable_iconv=no
79364 # Only continue checking if the ISO C99 headers exist and support is on.
79365 if test x"$enable_wchar_t" = xyes; then
79367 # Use iconv for wchar_t to char conversions. As such, check for
79368 # X/Open Portability Guide, version 2 features (XPG2).
79369 if test "${ac_cv_header_iconv_h+set}" = set; then
79370 echo "$as_me:$LINENO: checking for iconv.h" >&5
79371 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79372 if test "${ac_cv_header_iconv_h+set}" = set; then
79373 echo $ECHO_N "(cached) $ECHO_C" >&6
79375 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79376 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79377 else
79378 # Is the header compilable?
79379 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79380 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79381 cat >conftest.$ac_ext <<_ACEOF
79382 /* confdefs.h. */
79383 _ACEOF
79384 cat confdefs.h >>conftest.$ac_ext
79385 cat >>conftest.$ac_ext <<_ACEOF
79386 /* end confdefs.h. */
79387 $ac_includes_default
79388 #include <iconv.h>
79389 _ACEOF
79390 rm -f conftest.$ac_objext
79391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79392 (eval $ac_compile) 2>conftest.er1
79393 ac_status=$?
79394 grep -v '^ *+' conftest.er1 >conftest.err
79395 rm -f conftest.er1
79396 cat conftest.err >&5
79397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79398 (exit $ac_status); } &&
79399 { ac_try='test -z "$ac_c_werror_flag"
79400 || test ! -s conftest.err'
79401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402 (eval $ac_try) 2>&5
79403 ac_status=$?
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); }; } &&
79406 { ac_try='test -s conftest.$ac_objext'
79407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79408 (eval $ac_try) 2>&5
79409 ac_status=$?
79410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79411 (exit $ac_status); }; }; then
79412 ac_header_compiler=yes
79413 else
79414 echo "$as_me: failed program was:" >&5
79415 sed 's/^/| /' conftest.$ac_ext >&5
79417 ac_header_compiler=no
79419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79421 echo "${ECHO_T}$ac_header_compiler" >&6
79423 # Is the header present?
79424 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79425 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79426 cat >conftest.$ac_ext <<_ACEOF
79427 /* confdefs.h. */
79428 _ACEOF
79429 cat confdefs.h >>conftest.$ac_ext
79430 cat >>conftest.$ac_ext <<_ACEOF
79431 /* end confdefs.h. */
79432 #include <iconv.h>
79433 _ACEOF
79434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79436 ac_status=$?
79437 grep -v '^ *+' conftest.er1 >conftest.err
79438 rm -f conftest.er1
79439 cat conftest.err >&5
79440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79441 (exit $ac_status); } >/dev/null; then
79442 if test -s conftest.err; then
79443 ac_cpp_err=$ac_c_preproc_warn_flag
79444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79445 else
79446 ac_cpp_err=
79448 else
79449 ac_cpp_err=yes
79451 if test -z "$ac_cpp_err"; then
79452 ac_header_preproc=yes
79453 else
79454 echo "$as_me: failed program was:" >&5
79455 sed 's/^/| /' conftest.$ac_ext >&5
79457 ac_header_preproc=no
79459 rm -f conftest.err conftest.$ac_ext
79460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79461 echo "${ECHO_T}$ac_header_preproc" >&6
79463 # So? What about this header?
79464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79465 yes:no: )
79466 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79467 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79468 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79469 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79470 ac_header_preproc=yes
79472 no:yes:* )
79473 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79474 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79475 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79476 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79477 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79478 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79479 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79480 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79481 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79482 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79483 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79484 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79486 cat <<\_ASBOX
79487 ## ----------------------------------------- ##
79488 ## Report this to the package-unused lists. ##
79489 ## ----------------------------------------- ##
79490 _ASBOX
79492 sed "s/^/$as_me: WARNING: /" >&2
79494 esac
79495 echo "$as_me:$LINENO: checking for iconv.h" >&5
79496 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79497 if test "${ac_cv_header_iconv_h+set}" = set; then
79498 echo $ECHO_N "(cached) $ECHO_C" >&6
79499 else
79500 ac_cv_header_iconv_h=$ac_header_preproc
79502 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79503 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79506 if test $ac_cv_header_iconv_h = yes; then
79507 ac_has_iconv_h=yes
79508 else
79509 ac_has_iconv_h=no
79513 if test "${ac_cv_header_langinfo_h+set}" = set; then
79514 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79515 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79516 if test "${ac_cv_header_langinfo_h+set}" = set; then
79517 echo $ECHO_N "(cached) $ECHO_C" >&6
79519 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79520 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79521 else
79522 # Is the header compilable?
79523 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79524 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79525 cat >conftest.$ac_ext <<_ACEOF
79526 /* confdefs.h. */
79527 _ACEOF
79528 cat confdefs.h >>conftest.$ac_ext
79529 cat >>conftest.$ac_ext <<_ACEOF
79530 /* end confdefs.h. */
79531 $ac_includes_default
79532 #include <langinfo.h>
79533 _ACEOF
79534 rm -f conftest.$ac_objext
79535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79536 (eval $ac_compile) 2>conftest.er1
79537 ac_status=$?
79538 grep -v '^ *+' conftest.er1 >conftest.err
79539 rm -f conftest.er1
79540 cat conftest.err >&5
79541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79542 (exit $ac_status); } &&
79543 { ac_try='test -z "$ac_c_werror_flag"
79544 || test ! -s conftest.err'
79545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79546 (eval $ac_try) 2>&5
79547 ac_status=$?
79548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79549 (exit $ac_status); }; } &&
79550 { ac_try='test -s conftest.$ac_objext'
79551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79552 (eval $ac_try) 2>&5
79553 ac_status=$?
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); }; }; then
79556 ac_header_compiler=yes
79557 else
79558 echo "$as_me: failed program was:" >&5
79559 sed 's/^/| /' conftest.$ac_ext >&5
79561 ac_header_compiler=no
79563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79565 echo "${ECHO_T}$ac_header_compiler" >&6
79567 # Is the header present?
79568 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79569 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79570 cat >conftest.$ac_ext <<_ACEOF
79571 /* confdefs.h. */
79572 _ACEOF
79573 cat confdefs.h >>conftest.$ac_ext
79574 cat >>conftest.$ac_ext <<_ACEOF
79575 /* end confdefs.h. */
79576 #include <langinfo.h>
79577 _ACEOF
79578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79580 ac_status=$?
79581 grep -v '^ *+' conftest.er1 >conftest.err
79582 rm -f conftest.er1
79583 cat conftest.err >&5
79584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79585 (exit $ac_status); } >/dev/null; then
79586 if test -s conftest.err; then
79587 ac_cpp_err=$ac_c_preproc_warn_flag
79588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79589 else
79590 ac_cpp_err=
79592 else
79593 ac_cpp_err=yes
79595 if test -z "$ac_cpp_err"; then
79596 ac_header_preproc=yes
79597 else
79598 echo "$as_me: failed program was:" >&5
79599 sed 's/^/| /' conftest.$ac_ext >&5
79601 ac_header_preproc=no
79603 rm -f conftest.err conftest.$ac_ext
79604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79605 echo "${ECHO_T}$ac_header_preproc" >&6
79607 # So? What about this header?
79608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79609 yes:no: )
79610 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79611 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79612 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79613 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79614 ac_header_preproc=yes
79616 no:yes:* )
79617 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79618 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79619 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79620 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79621 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79622 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79623 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79624 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79625 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79626 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79627 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79628 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79630 cat <<\_ASBOX
79631 ## ----------------------------------------- ##
79632 ## Report this to the package-unused lists. ##
79633 ## ----------------------------------------- ##
79634 _ASBOX
79636 sed "s/^/$as_me: WARNING: /" >&2
79638 esac
79639 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79640 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79641 if test "${ac_cv_header_langinfo_h+set}" = set; then
79642 echo $ECHO_N "(cached) $ECHO_C" >&6
79643 else
79644 ac_cv_header_langinfo_h=$ac_header_preproc
79646 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79647 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79650 if test $ac_cv_header_langinfo_h = yes; then
79651 ac_has_langinfo_h=yes
79652 else
79653 ac_has_langinfo_h=no
79658 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79659 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79660 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79661 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79662 echo $ECHO_N "(cached) $ECHO_C" >&6
79663 else
79664 ac_check_lib_save_LIBS=$LIBS
79665 LIBS="-liconv $LIBS"
79666 if test x$gcc_no_link = xyes; then
79667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79669 { (exit 1); exit 1; }; }
79671 cat >conftest.$ac_ext <<_ACEOF
79672 /* confdefs.h. */
79673 _ACEOF
79674 cat confdefs.h >>conftest.$ac_ext
79675 cat >>conftest.$ac_ext <<_ACEOF
79676 /* end confdefs.h. */
79678 /* Override any gcc2 internal prototype to avoid an error. */
79679 #ifdef __cplusplus
79680 extern "C"
79681 #endif
79682 /* We use char because int might match the return type of a gcc2
79683 builtin and then its argument prototype would still apply. */
79684 char iconv ();
79686 main ()
79688 iconv ();
79690 return 0;
79692 _ACEOF
79693 rm -f conftest.$ac_objext conftest$ac_exeext
79694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79695 (eval $ac_link) 2>conftest.er1
79696 ac_status=$?
79697 grep -v '^ *+' conftest.er1 >conftest.err
79698 rm -f conftest.er1
79699 cat conftest.err >&5
79700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79701 (exit $ac_status); } &&
79702 { ac_try='test -z "$ac_c_werror_flag"
79703 || test ! -s conftest.err'
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); }; } &&
79709 { ac_try='test -s conftest$ac_exeext'
79710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79711 (eval $ac_try) 2>&5
79712 ac_status=$?
79713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79714 (exit $ac_status); }; }; then
79715 ac_cv_lib_iconv_iconv=yes
79716 else
79717 echo "$as_me: failed program was:" >&5
79718 sed 's/^/| /' conftest.$ac_ext >&5
79720 ac_cv_lib_iconv_iconv=no
79722 rm -f conftest.err conftest.$ac_objext \
79723 conftest$ac_exeext conftest.$ac_ext
79724 LIBS=$ac_check_lib_save_LIBS
79726 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79727 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79728 if test $ac_cv_lib_iconv_iconv = yes; then
79729 LIBICONV="-liconv"
79732 ac_save_LIBS="$LIBS"
79733 LIBS="$LIBS $LIBICONV"
79740 for ac_func in iconv_open iconv_close iconv nl_langinfo
79742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79743 echo "$as_me:$LINENO: checking for $ac_func" >&5
79744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79745 if eval "test \"\${$as_ac_var+set}\" = set"; then
79746 echo $ECHO_N "(cached) $ECHO_C" >&6
79747 else
79748 if test x$gcc_no_link = xyes; then
79749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79751 { (exit 1); exit 1; }; }
79753 cat >conftest.$ac_ext <<_ACEOF
79754 /* confdefs.h. */
79755 _ACEOF
79756 cat confdefs.h >>conftest.$ac_ext
79757 cat >>conftest.$ac_ext <<_ACEOF
79758 /* end confdefs.h. */
79759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79761 #define $ac_func innocuous_$ac_func
79763 /* System header to define __stub macros and hopefully few prototypes,
79764 which can conflict with char $ac_func (); below.
79765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79766 <limits.h> exists even on freestanding compilers. */
79768 #ifdef __STDC__
79769 # include <limits.h>
79770 #else
79771 # include <assert.h>
79772 #endif
79774 #undef $ac_func
79776 /* Override any gcc2 internal prototype to avoid an error. */
79777 #ifdef __cplusplus
79778 extern "C"
79780 #endif
79781 /* We use char because int might match the return type of a gcc2
79782 builtin and then its argument prototype would still apply. */
79783 char $ac_func ();
79784 /* The GNU C library defines this for functions which it implements
79785 to always fail with ENOSYS. Some functions are actually named
79786 something starting with __ and the normal name is an alias. */
79787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79788 choke me
79789 #else
79790 char (*f) () = $ac_func;
79791 #endif
79792 #ifdef __cplusplus
79794 #endif
79797 main ()
79799 return f != $ac_func;
79801 return 0;
79803 _ACEOF
79804 rm -f conftest.$ac_objext conftest$ac_exeext
79805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79806 (eval $ac_link) 2>conftest.er1
79807 ac_status=$?
79808 grep -v '^ *+' conftest.er1 >conftest.err
79809 rm -f conftest.er1
79810 cat conftest.err >&5
79811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79812 (exit $ac_status); } &&
79813 { ac_try='test -z "$ac_c_werror_flag"
79814 || test ! -s conftest.err'
79815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79816 (eval $ac_try) 2>&5
79817 ac_status=$?
79818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79819 (exit $ac_status); }; } &&
79820 { ac_try='test -s conftest$ac_exeext'
79821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79822 (eval $ac_try) 2>&5
79823 ac_status=$?
79824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79825 (exit $ac_status); }; }; then
79826 eval "$as_ac_var=yes"
79827 else
79828 echo "$as_me: failed program was:" >&5
79829 sed 's/^/| /' conftest.$ac_ext >&5
79831 eval "$as_ac_var=no"
79833 rm -f conftest.err conftest.$ac_objext \
79834 conftest$ac_exeext conftest.$ac_ext
79836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79838 if test `eval echo '${'$as_ac_var'}'` = yes; then
79839 cat >>confdefs.h <<_ACEOF
79840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79841 _ACEOF
79842 ac_XPG2funcs=yes
79843 else
79844 ac_XPG2funcs=no
79846 done
79849 LIBS="$ac_save_LIBS"
79851 if test x"$ac_has_iconv_h" = xyes &&
79852 test x"$ac_has_langinfo_h" = xyes &&
79853 test x"$ac_XPG2funcs" = xyes;
79854 then
79856 cat >>confdefs.h <<\_ACEOF
79857 #define _GLIBCXX_USE_ICONV 1
79858 _ACEOF
79860 enable_iconv=yes
79863 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79864 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79865 echo "$as_me:$LINENO: result: $enable_iconv" >&5
79866 echo "${ECHO_T}$enable_iconv" >&6
79868 cat >>confdefs.h <<\_ACEOF
79869 #define HAVE_COPYSIGN 1
79870 _ACEOF
79872 cat >>confdefs.h <<\_ACEOF
79873 #define HAVE_COPYSIGNF 1
79874 _ACEOF
79876 cat >>confdefs.h <<\_ACEOF
79877 #define HAVE_FINITEF 1
79878 _ACEOF
79880 cat >>confdefs.h <<\_ACEOF
79881 #define HAVE_FINITE 1
79882 _ACEOF
79884 cat >>confdefs.h <<\_ACEOF
79885 #define HAVE_FREXPF 1
79886 _ACEOF
79888 cat >>confdefs.h <<\_ACEOF
79889 #define HAVE_HYPOTF 1
79890 _ACEOF
79892 cat >>confdefs.h <<\_ACEOF
79893 #define HAVE_ISINF 1
79894 _ACEOF
79896 cat >>confdefs.h <<\_ACEOF
79897 #define HAVE_ISINFF 1
79898 _ACEOF
79900 cat >>confdefs.h <<\_ACEOF
79901 #define HAVE_ISNAN 1
79902 _ACEOF
79904 cat >>confdefs.h <<\_ACEOF
79905 #define HAVE_ISNANF 1
79906 _ACEOF
79908 if test x"long_double_math_on_this_cpu" = x"yes"; then
79909 cat >>confdefs.h <<\_ACEOF
79910 #define HAVE_FINITEL 1
79911 _ACEOF
79913 cat >>confdefs.h <<\_ACEOF
79914 #define HAVE_ISINFL 1
79915 _ACEOF
79917 cat >>confdefs.h <<\_ACEOF
79918 #define HAVE_ISNANL 1
79919 _ACEOF
79923 *-netware)
79932 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79933 sys/types.h locale.h float.h inttypes.h
79935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79937 echo "$as_me:$LINENO: checking for $ac_header" >&5
79938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79940 echo $ECHO_N "(cached) $ECHO_C" >&6
79942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79944 else
79945 # Is the header compilable?
79946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79948 cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h. */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h. */
79954 $ac_includes_default
79955 #include <$ac_header>
79956 _ACEOF
79957 rm -f conftest.$ac_objext
79958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79959 (eval $ac_compile) 2>conftest.er1
79960 ac_status=$?
79961 grep -v '^ *+' conftest.er1 >conftest.err
79962 rm -f conftest.er1
79963 cat conftest.err >&5
79964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79965 (exit $ac_status); } &&
79966 { ac_try='test -z "$ac_c_werror_flag"
79967 || test ! -s conftest.err'
79968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79969 (eval $ac_try) 2>&5
79970 ac_status=$?
79971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79972 (exit $ac_status); }; } &&
79973 { ac_try='test -s conftest.$ac_objext'
79974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79975 (eval $ac_try) 2>&5
79976 ac_status=$?
79977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978 (exit $ac_status); }; }; then
79979 ac_header_compiler=yes
79980 else
79981 echo "$as_me: failed program was:" >&5
79982 sed 's/^/| /' conftest.$ac_ext >&5
79984 ac_header_compiler=no
79986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79988 echo "${ECHO_T}$ac_header_compiler" >&6
79990 # Is the header present?
79991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79993 cat >conftest.$ac_ext <<_ACEOF
79994 /* confdefs.h. */
79995 _ACEOF
79996 cat confdefs.h >>conftest.$ac_ext
79997 cat >>conftest.$ac_ext <<_ACEOF
79998 /* end confdefs.h. */
79999 #include <$ac_header>
80000 _ACEOF
80001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80003 ac_status=$?
80004 grep -v '^ *+' conftest.er1 >conftest.err
80005 rm -f conftest.er1
80006 cat conftest.err >&5
80007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80008 (exit $ac_status); } >/dev/null; then
80009 if test -s conftest.err; then
80010 ac_cpp_err=$ac_c_preproc_warn_flag
80011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80012 else
80013 ac_cpp_err=
80015 else
80016 ac_cpp_err=yes
80018 if test -z "$ac_cpp_err"; then
80019 ac_header_preproc=yes
80020 else
80021 echo "$as_me: failed program was:" >&5
80022 sed 's/^/| /' conftest.$ac_ext >&5
80024 ac_header_preproc=no
80026 rm -f conftest.err conftest.$ac_ext
80027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80028 echo "${ECHO_T}$ac_header_preproc" >&6
80030 # So? What about this header?
80031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80032 yes:no: )
80033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80037 ac_header_preproc=yes
80039 no:yes:* )
80040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80053 cat <<\_ASBOX
80054 ## ----------------------------------------- ##
80055 ## Report this to the package-unused lists. ##
80056 ## ----------------------------------------- ##
80057 _ASBOX
80059 sed "s/^/$as_me: WARNING: /" >&2
80061 esac
80062 echo "$as_me:$LINENO: checking for $ac_header" >&5
80063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80065 echo $ECHO_N "(cached) $ECHO_C" >&6
80066 else
80067 eval "$as_ac_Header=\$ac_header_preproc"
80069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80074 cat >>confdefs.h <<_ACEOF
80075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80076 _ACEOF
80080 done
80082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80085 # If we're not using GNU ld, then there's no point in even trying these
80086 # tests. Check for that first. We should have already tested for gld
80087 # by now (in libtool), but require it now just to be safe...
80088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80093 # The name set by libtool depends on the version of libtool. Shame on us
80094 # for depending on an impl detail, but c'est la vie. Older versions used
80095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80098 # set (hence we're using an older libtool), then set it.
80099 if test x${with_gnu_ld+set} != xset; then
80100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80102 with_gnu_ld=no
80103 else
80104 with_gnu_ld=$ac_cv_prog_gnu_ld
80108 # Start by getting the version number. I think the libtool test already
80109 # does some of this, but throws away the result.
80111 ldver=`$LD --version 2>/dev/null | head -1 | \
80112 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80114 glibcxx_gnu_ld_version=`echo $ldver | \
80115 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80117 # Set --gc-sections.
80118 if test "$with_gnu_ld" = "notbroken"; then
80119 # GNU ld it is! Joy and bunny rabbits!
80121 # All these tests are for C++; save the language and the compiler flags.
80122 # Need to do this so that g++ won't try to link in libstdc++
80123 ac_test_CFLAGS="${CFLAGS+set}"
80124 ac_save_CFLAGS="$CFLAGS"
80125 CFLAGS='-x c++ -Wl,--gc-sections'
80127 # Check for -Wl,--gc-sections
80128 # XXX This test is broken at the moment, as symbols required for linking
80129 # are now in libsupc++ (not built yet). In addition, this test has
80130 # cored on solaris in the past. In addition, --gc-sections doesn't
80131 # really work at the moment (keeps on discarding used sections, first
80132 # .eh_frame and now some of the glibc sections for iconv).
80133 # Bzzzzt. Thanks for playing, maybe next time.
80134 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80135 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80136 if test "$cross_compiling" = yes; then
80137 ac_sectionLDflags=yes
80138 else
80139 cat >conftest.$ac_ext <<_ACEOF
80140 /* confdefs.h. */
80141 _ACEOF
80142 cat confdefs.h >>conftest.$ac_ext
80143 cat >>conftest.$ac_ext <<_ACEOF
80144 /* end confdefs.h. */
80146 int main(void)
80148 try { throw 1; }
80149 catch (...) { };
80150 return 0;
80153 _ACEOF
80154 rm -f conftest$ac_exeext
80155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80156 (eval $ac_link) 2>&5
80157 ac_status=$?
80158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; }; then
80165 ac_sectionLDflags=yes
80166 else
80167 echo "$as_me: program exited with status $ac_status" >&5
80168 echo "$as_me: failed program was:" >&5
80169 sed 's/^/| /' conftest.$ac_ext >&5
80171 ( exit $ac_status )
80172 ac_sectionLDflags=no
80174 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80176 if test "$ac_test_CFLAGS" = set; then
80177 CFLAGS="$ac_save_CFLAGS"
80178 else
80179 # this is the suspicious part
80180 CFLAGS=''
80182 if test "$ac_sectionLDflags" = "yes"; then
80183 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80185 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80186 echo "${ECHO_T}$ac_sectionLDflags" >&6
80189 # Set linker optimization flags.
80190 if test x"$with_gnu_ld" = x"yes"; then
80191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80199 echo "$as_me:$LINENO: checking for main in -lm" >&5
80200 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80201 if test "${ac_cv_lib_m_main+set}" = set; then
80202 echo $ECHO_N "(cached) $ECHO_C" >&6
80203 else
80204 ac_check_lib_save_LIBS=$LIBS
80205 LIBS="-lm $LIBS"
80206 if test x$gcc_no_link = xyes; then
80207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80209 { (exit 1); exit 1; }; }
80211 cat >conftest.$ac_ext <<_ACEOF
80212 /* confdefs.h. */
80213 _ACEOF
80214 cat confdefs.h >>conftest.$ac_ext
80215 cat >>conftest.$ac_ext <<_ACEOF
80216 /* end confdefs.h. */
80220 main ()
80222 main ();
80224 return 0;
80226 _ACEOF
80227 rm -f conftest.$ac_objext conftest$ac_exeext
80228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80229 (eval $ac_link) 2>conftest.er1
80230 ac_status=$?
80231 grep -v '^ *+' conftest.er1 >conftest.err
80232 rm -f conftest.er1
80233 cat conftest.err >&5
80234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235 (exit $ac_status); } &&
80236 { ac_try='test -z "$ac_c_werror_flag"
80237 || test ! -s conftest.err'
80238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80239 (eval $ac_try) 2>&5
80240 ac_status=$?
80241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80242 (exit $ac_status); }; } &&
80243 { ac_try='test -s conftest$ac_exeext'
80244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80245 (eval $ac_try) 2>&5
80246 ac_status=$?
80247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80248 (exit $ac_status); }; }; then
80249 ac_cv_lib_m_main=yes
80250 else
80251 echo "$as_me: failed program was:" >&5
80252 sed 's/^/| /' conftest.$ac_ext >&5
80254 ac_cv_lib_m_main=no
80256 rm -f conftest.err conftest.$ac_objext \
80257 conftest$ac_exeext conftest.$ac_ext
80258 LIBS=$ac_check_lib_save_LIBS
80260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80261 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80262 if test $ac_cv_lib_m_main = yes; then
80263 cat >>confdefs.h <<_ACEOF
80264 #define HAVE_LIBM 1
80265 _ACEOF
80267 LIBS="-lm $LIBS"
80272 for ac_func in copysignf
80274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80275 echo "$as_me:$LINENO: checking for $ac_func" >&5
80276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80277 if eval "test \"\${$as_ac_var+set}\" = set"; then
80278 echo $ECHO_N "(cached) $ECHO_C" >&6
80279 else
80280 if test x$gcc_no_link = xyes; then
80281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80283 { (exit 1); exit 1; }; }
80285 cat >conftest.$ac_ext <<_ACEOF
80286 /* confdefs.h. */
80287 _ACEOF
80288 cat confdefs.h >>conftest.$ac_ext
80289 cat >>conftest.$ac_ext <<_ACEOF
80290 /* end confdefs.h. */
80291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80293 #define $ac_func innocuous_$ac_func
80295 /* System header to define __stub macros and hopefully few prototypes,
80296 which can conflict with char $ac_func (); below.
80297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80298 <limits.h> exists even on freestanding compilers. */
80300 #ifdef __STDC__
80301 # include <limits.h>
80302 #else
80303 # include <assert.h>
80304 #endif
80306 #undef $ac_func
80308 /* Override any gcc2 internal prototype to avoid an error. */
80309 #ifdef __cplusplus
80310 extern "C"
80312 #endif
80313 /* We use char because int might match the return type of a gcc2
80314 builtin and then its argument prototype would still apply. */
80315 char $ac_func ();
80316 /* The GNU C library defines this for functions which it implements
80317 to always fail with ENOSYS. Some functions are actually named
80318 something starting with __ and the normal name is an alias. */
80319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80320 choke me
80321 #else
80322 char (*f) () = $ac_func;
80323 #endif
80324 #ifdef __cplusplus
80326 #endif
80329 main ()
80331 return f != $ac_func;
80333 return 0;
80335 _ACEOF
80336 rm -f conftest.$ac_objext conftest$ac_exeext
80337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80338 (eval $ac_link) 2>conftest.er1
80339 ac_status=$?
80340 grep -v '^ *+' conftest.er1 >conftest.err
80341 rm -f conftest.er1
80342 cat conftest.err >&5
80343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80344 (exit $ac_status); } &&
80345 { ac_try='test -z "$ac_c_werror_flag"
80346 || test ! -s conftest.err'
80347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80348 (eval $ac_try) 2>&5
80349 ac_status=$?
80350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351 (exit $ac_status); }; } &&
80352 { ac_try='test -s conftest$ac_exeext'
80353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80354 (eval $ac_try) 2>&5
80355 ac_status=$?
80356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80357 (exit $ac_status); }; }; then
80358 eval "$as_ac_var=yes"
80359 else
80360 echo "$as_me: failed program was:" >&5
80361 sed 's/^/| /' conftest.$ac_ext >&5
80363 eval "$as_ac_var=no"
80365 rm -f conftest.err conftest.$ac_objext \
80366 conftest$ac_exeext conftest.$ac_ext
80368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80370 if test `eval echo '${'$as_ac_var'}'` = yes; then
80371 cat >>confdefs.h <<_ACEOF
80372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80373 _ACEOF
80375 else
80376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80378 done
80382 for ac_func in __signbit
80384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80385 echo "$as_me:$LINENO: checking for $ac_func" >&5
80386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80387 if eval "test \"\${$as_ac_var+set}\" = set"; then
80388 echo $ECHO_N "(cached) $ECHO_C" >&6
80389 else
80390 if test x$gcc_no_link = xyes; then
80391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80393 { (exit 1); exit 1; }; }
80395 cat >conftest.$ac_ext <<_ACEOF
80396 /* confdefs.h. */
80397 _ACEOF
80398 cat confdefs.h >>conftest.$ac_ext
80399 cat >>conftest.$ac_ext <<_ACEOF
80400 /* end confdefs.h. */
80401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80403 #define $ac_func innocuous_$ac_func
80405 /* System header to define __stub macros and hopefully few prototypes,
80406 which can conflict with char $ac_func (); below.
80407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80408 <limits.h> exists even on freestanding compilers. */
80410 #ifdef __STDC__
80411 # include <limits.h>
80412 #else
80413 # include <assert.h>
80414 #endif
80416 #undef $ac_func
80418 /* Override any gcc2 internal prototype to avoid an error. */
80419 #ifdef __cplusplus
80420 extern "C"
80422 #endif
80423 /* We use char because int might match the return type of a gcc2
80424 builtin and then its argument prototype would still apply. */
80425 char $ac_func ();
80426 /* The GNU C library defines this for functions which it implements
80427 to always fail with ENOSYS. Some functions are actually named
80428 something starting with __ and the normal name is an alias. */
80429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80430 choke me
80431 #else
80432 char (*f) () = $ac_func;
80433 #endif
80434 #ifdef __cplusplus
80436 #endif
80439 main ()
80441 return f != $ac_func;
80443 return 0;
80445 _ACEOF
80446 rm -f conftest.$ac_objext conftest$ac_exeext
80447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80448 (eval $ac_link) 2>conftest.er1
80449 ac_status=$?
80450 grep -v '^ *+' conftest.er1 >conftest.err
80451 rm -f conftest.er1
80452 cat conftest.err >&5
80453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80454 (exit $ac_status); } &&
80455 { ac_try='test -z "$ac_c_werror_flag"
80456 || test ! -s conftest.err'
80457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80458 (eval $ac_try) 2>&5
80459 ac_status=$?
80460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80461 (exit $ac_status); }; } &&
80462 { ac_try='test -s conftest$ac_exeext'
80463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80464 (eval $ac_try) 2>&5
80465 ac_status=$?
80466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80467 (exit $ac_status); }; }; then
80468 eval "$as_ac_var=yes"
80469 else
80470 echo "$as_me: failed program was:" >&5
80471 sed 's/^/| /' conftest.$ac_ext >&5
80473 eval "$as_ac_var=no"
80475 rm -f conftest.err conftest.$ac_objext \
80476 conftest$ac_exeext conftest.$ac_ext
80478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80480 if test `eval echo '${'$as_ac_var'}'` = yes; then
80481 cat >>confdefs.h <<_ACEOF
80482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80483 _ACEOF
80485 else
80486 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80488 done
80492 for ac_func in __signbitf
80494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80495 echo "$as_me:$LINENO: checking for $ac_func" >&5
80496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80497 if eval "test \"\${$as_ac_var+set}\" = set"; then
80498 echo $ECHO_N "(cached) $ECHO_C" >&6
80499 else
80500 if test x$gcc_no_link = xyes; then
80501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80503 { (exit 1); exit 1; }; }
80505 cat >conftest.$ac_ext <<_ACEOF
80506 /* confdefs.h. */
80507 _ACEOF
80508 cat confdefs.h >>conftest.$ac_ext
80509 cat >>conftest.$ac_ext <<_ACEOF
80510 /* end confdefs.h. */
80511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80513 #define $ac_func innocuous_$ac_func
80515 /* System header to define __stub macros and hopefully few prototypes,
80516 which can conflict with char $ac_func (); below.
80517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80518 <limits.h> exists even on freestanding compilers. */
80520 #ifdef __STDC__
80521 # include <limits.h>
80522 #else
80523 # include <assert.h>
80524 #endif
80526 #undef $ac_func
80528 /* Override any gcc2 internal prototype to avoid an error. */
80529 #ifdef __cplusplus
80530 extern "C"
80532 #endif
80533 /* We use char because int might match the return type of a gcc2
80534 builtin and then its argument prototype would still apply. */
80535 char $ac_func ();
80536 /* The GNU C library defines this for functions which it implements
80537 to always fail with ENOSYS. Some functions are actually named
80538 something starting with __ and the normal name is an alias. */
80539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80540 choke me
80541 #else
80542 char (*f) () = $ac_func;
80543 #endif
80544 #ifdef __cplusplus
80546 #endif
80549 main ()
80551 return f != $ac_func;
80553 return 0;
80555 _ACEOF
80556 rm -f conftest.$ac_objext conftest$ac_exeext
80557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80558 (eval $ac_link) 2>conftest.er1
80559 ac_status=$?
80560 grep -v '^ *+' conftest.er1 >conftest.err
80561 rm -f conftest.er1
80562 cat conftest.err >&5
80563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80564 (exit $ac_status); } &&
80565 { ac_try='test -z "$ac_c_werror_flag"
80566 || test ! -s conftest.err'
80567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80568 (eval $ac_try) 2>&5
80569 ac_status=$?
80570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80571 (exit $ac_status); }; } &&
80572 { ac_try='test -s conftest$ac_exeext'
80573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80574 (eval $ac_try) 2>&5
80575 ac_status=$?
80576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80577 (exit $ac_status); }; }; then
80578 eval "$as_ac_var=yes"
80579 else
80580 echo "$as_me: failed program was:" >&5
80581 sed 's/^/| /' conftest.$ac_ext >&5
80583 eval "$as_ac_var=no"
80585 rm -f conftest.err conftest.$ac_objext \
80586 conftest$ac_exeext conftest.$ac_ext
80588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80590 if test `eval echo '${'$as_ac_var'}'` = yes; then
80591 cat >>confdefs.h <<_ACEOF
80592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80593 _ACEOF
80595 else
80596 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80598 done
80601 if test x$ac_cv_func_copysignl = x"yes"; then
80603 for ac_func in __signbitl
80605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80606 echo "$as_me:$LINENO: checking for $ac_func" >&5
80607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80608 if eval "test \"\${$as_ac_var+set}\" = set"; then
80609 echo $ECHO_N "(cached) $ECHO_C" >&6
80610 else
80611 if test x$gcc_no_link = xyes; then
80612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80614 { (exit 1); exit 1; }; }
80616 cat >conftest.$ac_ext <<_ACEOF
80617 /* confdefs.h. */
80618 _ACEOF
80619 cat confdefs.h >>conftest.$ac_ext
80620 cat >>conftest.$ac_ext <<_ACEOF
80621 /* end confdefs.h. */
80622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80624 #define $ac_func innocuous_$ac_func
80626 /* System header to define __stub macros and hopefully few prototypes,
80627 which can conflict with char $ac_func (); below.
80628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80629 <limits.h> exists even on freestanding compilers. */
80631 #ifdef __STDC__
80632 # include <limits.h>
80633 #else
80634 # include <assert.h>
80635 #endif
80637 #undef $ac_func
80639 /* Override any gcc2 internal prototype to avoid an error. */
80640 #ifdef __cplusplus
80641 extern "C"
80643 #endif
80644 /* We use char because int might match the return type of a gcc2
80645 builtin and then its argument prototype would still apply. */
80646 char $ac_func ();
80647 /* The GNU C library defines this for functions which it implements
80648 to always fail with ENOSYS. Some functions are actually named
80649 something starting with __ and the normal name is an alias. */
80650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80651 choke me
80652 #else
80653 char (*f) () = $ac_func;
80654 #endif
80655 #ifdef __cplusplus
80657 #endif
80660 main ()
80662 return f != $ac_func;
80664 return 0;
80666 _ACEOF
80667 rm -f conftest.$ac_objext conftest$ac_exeext
80668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80669 (eval $ac_link) 2>conftest.er1
80670 ac_status=$?
80671 grep -v '^ *+' conftest.er1 >conftest.err
80672 rm -f conftest.er1
80673 cat conftest.err >&5
80674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80675 (exit $ac_status); } &&
80676 { ac_try='test -z "$ac_c_werror_flag"
80677 || test ! -s conftest.err'
80678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80679 (eval $ac_try) 2>&5
80680 ac_status=$?
80681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682 (exit $ac_status); }; } &&
80683 { ac_try='test -s conftest$ac_exeext'
80684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80685 (eval $ac_try) 2>&5
80686 ac_status=$?
80687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80688 (exit $ac_status); }; }; then
80689 eval "$as_ac_var=yes"
80690 else
80691 echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80694 eval "$as_ac_var=no"
80696 rm -f conftest.err conftest.$ac_objext \
80697 conftest$ac_exeext conftest.$ac_ext
80699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80701 if test `eval echo '${'$as_ac_var'}'` = yes; then
80702 cat >>confdefs.h <<_ACEOF
80703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80704 _ACEOF
80706 else
80707 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80709 done
80713 # Used in libmath/Makefile.am.
80714 if test -n "$LIBMATHOBJS"; then
80715 need_libmath=yes
80721 enable_iconv=no
80722 # Only continue checking if the ISO C99 headers exist and support is on.
80723 if test x"$enable_wchar_t" = xyes; then
80725 # Use iconv for wchar_t to char conversions. As such, check for
80726 # X/Open Portability Guide, version 2 features (XPG2).
80727 if test "${ac_cv_header_iconv_h+set}" = set; then
80728 echo "$as_me:$LINENO: checking for iconv.h" >&5
80729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80730 if test "${ac_cv_header_iconv_h+set}" = set; then
80731 echo $ECHO_N "(cached) $ECHO_C" >&6
80733 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80734 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80735 else
80736 # Is the header compilable?
80737 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80738 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80739 cat >conftest.$ac_ext <<_ACEOF
80740 /* confdefs.h. */
80741 _ACEOF
80742 cat confdefs.h >>conftest.$ac_ext
80743 cat >>conftest.$ac_ext <<_ACEOF
80744 /* end confdefs.h. */
80745 $ac_includes_default
80746 #include <iconv.h>
80747 _ACEOF
80748 rm -f conftest.$ac_objext
80749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80750 (eval $ac_compile) 2>conftest.er1
80751 ac_status=$?
80752 grep -v '^ *+' conftest.er1 >conftest.err
80753 rm -f conftest.er1
80754 cat conftest.err >&5
80755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80756 (exit $ac_status); } &&
80757 { ac_try='test -z "$ac_c_werror_flag"
80758 || test ! -s conftest.err'
80759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80760 (eval $ac_try) 2>&5
80761 ac_status=$?
80762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80763 (exit $ac_status); }; } &&
80764 { ac_try='test -s conftest.$ac_objext'
80765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80766 (eval $ac_try) 2>&5
80767 ac_status=$?
80768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80769 (exit $ac_status); }; }; then
80770 ac_header_compiler=yes
80771 else
80772 echo "$as_me: failed program was:" >&5
80773 sed 's/^/| /' conftest.$ac_ext >&5
80775 ac_header_compiler=no
80777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80779 echo "${ECHO_T}$ac_header_compiler" >&6
80781 # Is the header present?
80782 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80783 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80784 cat >conftest.$ac_ext <<_ACEOF
80785 /* confdefs.h. */
80786 _ACEOF
80787 cat confdefs.h >>conftest.$ac_ext
80788 cat >>conftest.$ac_ext <<_ACEOF
80789 /* end confdefs.h. */
80790 #include <iconv.h>
80791 _ACEOF
80792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80794 ac_status=$?
80795 grep -v '^ *+' conftest.er1 >conftest.err
80796 rm -f conftest.er1
80797 cat conftest.err >&5
80798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80799 (exit $ac_status); } >/dev/null; then
80800 if test -s conftest.err; then
80801 ac_cpp_err=$ac_c_preproc_warn_flag
80802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80803 else
80804 ac_cpp_err=
80806 else
80807 ac_cpp_err=yes
80809 if test -z "$ac_cpp_err"; then
80810 ac_header_preproc=yes
80811 else
80812 echo "$as_me: failed program was:" >&5
80813 sed 's/^/| /' conftest.$ac_ext >&5
80815 ac_header_preproc=no
80817 rm -f conftest.err conftest.$ac_ext
80818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80819 echo "${ECHO_T}$ac_header_preproc" >&6
80821 # So? What about this header?
80822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80823 yes:no: )
80824 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80825 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80826 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80827 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80828 ac_header_preproc=yes
80830 no:yes:* )
80831 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80832 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80833 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80834 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80835 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80836 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80837 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80838 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80839 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80840 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80841 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80842 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80844 cat <<\_ASBOX
80845 ## ----------------------------------------- ##
80846 ## Report this to the package-unused lists. ##
80847 ## ----------------------------------------- ##
80848 _ASBOX
80850 sed "s/^/$as_me: WARNING: /" >&2
80852 esac
80853 echo "$as_me:$LINENO: checking for iconv.h" >&5
80854 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80855 if test "${ac_cv_header_iconv_h+set}" = set; then
80856 echo $ECHO_N "(cached) $ECHO_C" >&6
80857 else
80858 ac_cv_header_iconv_h=$ac_header_preproc
80860 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80861 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80864 if test $ac_cv_header_iconv_h = yes; then
80865 ac_has_iconv_h=yes
80866 else
80867 ac_has_iconv_h=no
80871 if test "${ac_cv_header_langinfo_h+set}" = set; then
80872 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80873 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80874 if test "${ac_cv_header_langinfo_h+set}" = set; then
80875 echo $ECHO_N "(cached) $ECHO_C" >&6
80877 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80878 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80879 else
80880 # Is the header compilable?
80881 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80882 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80883 cat >conftest.$ac_ext <<_ACEOF
80884 /* confdefs.h. */
80885 _ACEOF
80886 cat confdefs.h >>conftest.$ac_ext
80887 cat >>conftest.$ac_ext <<_ACEOF
80888 /* end confdefs.h. */
80889 $ac_includes_default
80890 #include <langinfo.h>
80891 _ACEOF
80892 rm -f conftest.$ac_objext
80893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80894 (eval $ac_compile) 2>conftest.er1
80895 ac_status=$?
80896 grep -v '^ *+' conftest.er1 >conftest.err
80897 rm -f conftest.er1
80898 cat conftest.err >&5
80899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80900 (exit $ac_status); } &&
80901 { ac_try='test -z "$ac_c_werror_flag"
80902 || test ! -s conftest.err'
80903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80904 (eval $ac_try) 2>&5
80905 ac_status=$?
80906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80907 (exit $ac_status); }; } &&
80908 { ac_try='test -s conftest.$ac_objext'
80909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80910 (eval $ac_try) 2>&5
80911 ac_status=$?
80912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80913 (exit $ac_status); }; }; then
80914 ac_header_compiler=yes
80915 else
80916 echo "$as_me: failed program was:" >&5
80917 sed 's/^/| /' conftest.$ac_ext >&5
80919 ac_header_compiler=no
80921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80923 echo "${ECHO_T}$ac_header_compiler" >&6
80925 # Is the header present?
80926 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80927 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80928 cat >conftest.$ac_ext <<_ACEOF
80929 /* confdefs.h. */
80930 _ACEOF
80931 cat confdefs.h >>conftest.$ac_ext
80932 cat >>conftest.$ac_ext <<_ACEOF
80933 /* end confdefs.h. */
80934 #include <langinfo.h>
80935 _ACEOF
80936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80938 ac_status=$?
80939 grep -v '^ *+' conftest.er1 >conftest.err
80940 rm -f conftest.er1
80941 cat conftest.err >&5
80942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80943 (exit $ac_status); } >/dev/null; then
80944 if test -s conftest.err; then
80945 ac_cpp_err=$ac_c_preproc_warn_flag
80946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80947 else
80948 ac_cpp_err=
80950 else
80951 ac_cpp_err=yes
80953 if test -z "$ac_cpp_err"; then
80954 ac_header_preproc=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80959 ac_header_preproc=no
80961 rm -f conftest.err conftest.$ac_ext
80962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80963 echo "${ECHO_T}$ac_header_preproc" >&6
80965 # So? What about this header?
80966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80967 yes:no: )
80968 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80969 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80970 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80971 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80972 ac_header_preproc=yes
80974 no:yes:* )
80975 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80976 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80977 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80978 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80979 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80980 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80981 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80982 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80983 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80984 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80985 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80986 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80988 cat <<\_ASBOX
80989 ## ----------------------------------------- ##
80990 ## Report this to the package-unused lists. ##
80991 ## ----------------------------------------- ##
80992 _ASBOX
80994 sed "s/^/$as_me: WARNING: /" >&2
80996 esac
80997 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80998 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80999 if test "${ac_cv_header_langinfo_h+set}" = set; then
81000 echo $ECHO_N "(cached) $ECHO_C" >&6
81001 else
81002 ac_cv_header_langinfo_h=$ac_header_preproc
81004 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81005 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81008 if test $ac_cv_header_langinfo_h = yes; then
81009 ac_has_langinfo_h=yes
81010 else
81011 ac_has_langinfo_h=no
81016 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81017 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81018 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81019 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81020 echo $ECHO_N "(cached) $ECHO_C" >&6
81021 else
81022 ac_check_lib_save_LIBS=$LIBS
81023 LIBS="-liconv $LIBS"
81024 if test x$gcc_no_link = xyes; then
81025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81027 { (exit 1); exit 1; }; }
81029 cat >conftest.$ac_ext <<_ACEOF
81030 /* confdefs.h. */
81031 _ACEOF
81032 cat confdefs.h >>conftest.$ac_ext
81033 cat >>conftest.$ac_ext <<_ACEOF
81034 /* end confdefs.h. */
81036 /* Override any gcc2 internal prototype to avoid an error. */
81037 #ifdef __cplusplus
81038 extern "C"
81039 #endif
81040 /* We use char because int might match the return type of a gcc2
81041 builtin and then its argument prototype would still apply. */
81042 char iconv ();
81044 main ()
81046 iconv ();
81048 return 0;
81050 _ACEOF
81051 rm -f conftest.$ac_objext conftest$ac_exeext
81052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81053 (eval $ac_link) 2>conftest.er1
81054 ac_status=$?
81055 grep -v '^ *+' conftest.er1 >conftest.err
81056 rm -f conftest.er1
81057 cat conftest.err >&5
81058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81059 (exit $ac_status); } &&
81060 { ac_try='test -z "$ac_c_werror_flag"
81061 || test ! -s conftest.err'
81062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81063 (eval $ac_try) 2>&5
81064 ac_status=$?
81065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81066 (exit $ac_status); }; } &&
81067 { ac_try='test -s conftest$ac_exeext'
81068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81069 (eval $ac_try) 2>&5
81070 ac_status=$?
81071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81072 (exit $ac_status); }; }; then
81073 ac_cv_lib_iconv_iconv=yes
81074 else
81075 echo "$as_me: failed program was:" >&5
81076 sed 's/^/| /' conftest.$ac_ext >&5
81078 ac_cv_lib_iconv_iconv=no
81080 rm -f conftest.err conftest.$ac_objext \
81081 conftest$ac_exeext conftest.$ac_ext
81082 LIBS=$ac_check_lib_save_LIBS
81084 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81085 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81086 if test $ac_cv_lib_iconv_iconv = yes; then
81087 LIBICONV="-liconv"
81090 ac_save_LIBS="$LIBS"
81091 LIBS="$LIBS $LIBICONV"
81098 for ac_func in iconv_open iconv_close iconv nl_langinfo
81100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81101 echo "$as_me:$LINENO: checking for $ac_func" >&5
81102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81103 if eval "test \"\${$as_ac_var+set}\" = set"; then
81104 echo $ECHO_N "(cached) $ECHO_C" >&6
81105 else
81106 if test x$gcc_no_link = xyes; then
81107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81109 { (exit 1); exit 1; }; }
81111 cat >conftest.$ac_ext <<_ACEOF
81112 /* confdefs.h. */
81113 _ACEOF
81114 cat confdefs.h >>conftest.$ac_ext
81115 cat >>conftest.$ac_ext <<_ACEOF
81116 /* end confdefs.h. */
81117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81119 #define $ac_func innocuous_$ac_func
81121 /* System header to define __stub macros and hopefully few prototypes,
81122 which can conflict with char $ac_func (); below.
81123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81124 <limits.h> exists even on freestanding compilers. */
81126 #ifdef __STDC__
81127 # include <limits.h>
81128 #else
81129 # include <assert.h>
81130 #endif
81132 #undef $ac_func
81134 /* Override any gcc2 internal prototype to avoid an error. */
81135 #ifdef __cplusplus
81136 extern "C"
81138 #endif
81139 /* We use char because int might match the return type of a gcc2
81140 builtin and then its argument prototype would still apply. */
81141 char $ac_func ();
81142 /* The GNU C library defines this for functions which it implements
81143 to always fail with ENOSYS. Some functions are actually named
81144 something starting with __ and the normal name is an alias. */
81145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81146 choke me
81147 #else
81148 char (*f) () = $ac_func;
81149 #endif
81150 #ifdef __cplusplus
81152 #endif
81155 main ()
81157 return f != $ac_func;
81159 return 0;
81161 _ACEOF
81162 rm -f conftest.$ac_objext conftest$ac_exeext
81163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81164 (eval $ac_link) 2>conftest.er1
81165 ac_status=$?
81166 grep -v '^ *+' conftest.er1 >conftest.err
81167 rm -f conftest.er1
81168 cat conftest.err >&5
81169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81170 (exit $ac_status); } &&
81171 { ac_try='test -z "$ac_c_werror_flag"
81172 || test ! -s conftest.err'
81173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81174 (eval $ac_try) 2>&5
81175 ac_status=$?
81176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81177 (exit $ac_status); }; } &&
81178 { ac_try='test -s conftest$ac_exeext'
81179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81180 (eval $ac_try) 2>&5
81181 ac_status=$?
81182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81183 (exit $ac_status); }; }; then
81184 eval "$as_ac_var=yes"
81185 else
81186 echo "$as_me: failed program was:" >&5
81187 sed 's/^/| /' conftest.$ac_ext >&5
81189 eval "$as_ac_var=no"
81191 rm -f conftest.err conftest.$ac_objext \
81192 conftest$ac_exeext conftest.$ac_ext
81194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81196 if test `eval echo '${'$as_ac_var'}'` = yes; then
81197 cat >>confdefs.h <<_ACEOF
81198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81199 _ACEOF
81200 ac_XPG2funcs=yes
81201 else
81202 ac_XPG2funcs=no
81204 done
81207 LIBS="$ac_save_LIBS"
81209 if test x"$ac_has_iconv_h" = xyes &&
81210 test x"$ac_has_langinfo_h" = xyes &&
81211 test x"$ac_XPG2funcs" = xyes;
81212 then
81214 cat >>confdefs.h <<\_ACEOF
81215 #define _GLIBCXX_USE_ICONV 1
81216 _ACEOF
81218 enable_iconv=yes
81221 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81222 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81223 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81224 echo "${ECHO_T}$enable_iconv" >&6
81227 # For showmanyc_helper().
81230 for ac_header in sys/ioctl.h sys/filio.h
81232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81234 echo "$as_me:$LINENO: checking for $ac_header" >&5
81235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81237 echo $ECHO_N "(cached) $ECHO_C" >&6
81239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81241 else
81242 # Is the header compilable?
81243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81245 cat >conftest.$ac_ext <<_ACEOF
81246 /* confdefs.h. */
81247 _ACEOF
81248 cat confdefs.h >>conftest.$ac_ext
81249 cat >>conftest.$ac_ext <<_ACEOF
81250 /* end confdefs.h. */
81251 $ac_includes_default
81252 #include <$ac_header>
81253 _ACEOF
81254 rm -f conftest.$ac_objext
81255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81256 (eval $ac_compile) 2>conftest.er1
81257 ac_status=$?
81258 grep -v '^ *+' conftest.er1 >conftest.err
81259 rm -f conftest.er1
81260 cat conftest.err >&5
81261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81262 (exit $ac_status); } &&
81263 { ac_try='test -z "$ac_c_werror_flag"
81264 || test ! -s conftest.err'
81265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81266 (eval $ac_try) 2>&5
81267 ac_status=$?
81268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81269 (exit $ac_status); }; } &&
81270 { ac_try='test -s conftest.$ac_objext'
81271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81272 (eval $ac_try) 2>&5
81273 ac_status=$?
81274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81275 (exit $ac_status); }; }; then
81276 ac_header_compiler=yes
81277 else
81278 echo "$as_me: failed program was:" >&5
81279 sed 's/^/| /' conftest.$ac_ext >&5
81281 ac_header_compiler=no
81283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81285 echo "${ECHO_T}$ac_header_compiler" >&6
81287 # Is the header present?
81288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81290 cat >conftest.$ac_ext <<_ACEOF
81291 /* confdefs.h. */
81292 _ACEOF
81293 cat confdefs.h >>conftest.$ac_ext
81294 cat >>conftest.$ac_ext <<_ACEOF
81295 /* end confdefs.h. */
81296 #include <$ac_header>
81297 _ACEOF
81298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81300 ac_status=$?
81301 grep -v '^ *+' conftest.er1 >conftest.err
81302 rm -f conftest.er1
81303 cat conftest.err >&5
81304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81305 (exit $ac_status); } >/dev/null; then
81306 if test -s conftest.err; then
81307 ac_cpp_err=$ac_c_preproc_warn_flag
81308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81309 else
81310 ac_cpp_err=
81312 else
81313 ac_cpp_err=yes
81315 if test -z "$ac_cpp_err"; then
81316 ac_header_preproc=yes
81317 else
81318 echo "$as_me: failed program was:" >&5
81319 sed 's/^/| /' conftest.$ac_ext >&5
81321 ac_header_preproc=no
81323 rm -f conftest.err conftest.$ac_ext
81324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81325 echo "${ECHO_T}$ac_header_preproc" >&6
81327 # So? What about this header?
81328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81329 yes:no: )
81330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81334 ac_header_preproc=yes
81336 no:yes:* )
81337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81350 cat <<\_ASBOX
81351 ## ----------------------------------------- ##
81352 ## Report this to the package-unused lists. ##
81353 ## ----------------------------------------- ##
81354 _ASBOX
81356 sed "s/^/$as_me: WARNING: /" >&2
81358 esac
81359 echo "$as_me:$LINENO: checking for $ac_header" >&5
81360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81362 echo $ECHO_N "(cached) $ECHO_C" >&6
81363 else
81364 eval "$as_ac_Header=\$ac_header_preproc"
81366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81371 cat >>confdefs.h <<_ACEOF
81372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81373 _ACEOF
81377 done
81380 if test "${glibcxx_cv_POLL+set}" = set; then
81381 echo $ECHO_N "(cached) $ECHO_C" >&6
81382 else
81384 if test x$gcc_no_link = xyes; then
81385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81387 { (exit 1); exit 1; }; }
81389 cat >conftest.$ac_ext <<_ACEOF
81390 /* confdefs.h. */
81391 _ACEOF
81392 cat confdefs.h >>conftest.$ac_ext
81393 cat >>conftest.$ac_ext <<_ACEOF
81394 /* end confdefs.h. */
81395 #include <poll.h>
81397 main ()
81399 struct pollfd pfd[1];
81400 pfd[0].events = POLLIN;
81401 poll(pfd, 1, 0);
81403 return 0;
81405 _ACEOF
81406 rm -f conftest.$ac_objext conftest$ac_exeext
81407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81408 (eval $ac_link) 2>conftest.er1
81409 ac_status=$?
81410 grep -v '^ *+' conftest.er1 >conftest.err
81411 rm -f conftest.er1
81412 cat conftest.err >&5
81413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81414 (exit $ac_status); } &&
81415 { ac_try='test -z "$ac_c_werror_flag"
81416 || test ! -s conftest.err'
81417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81418 (eval $ac_try) 2>&5
81419 ac_status=$?
81420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81421 (exit $ac_status); }; } &&
81422 { ac_try='test -s conftest$ac_exeext'
81423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81424 (eval $ac_try) 2>&5
81425 ac_status=$?
81426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81427 (exit $ac_status); }; }; then
81428 glibcxx_cv_POLL=yes
81429 else
81430 echo "$as_me: failed program was:" >&5
81431 sed 's/^/| /' conftest.$ac_ext >&5
81433 glibcxx_cv_POLL=no
81435 rm -f conftest.err conftest.$ac_objext \
81436 conftest$ac_exeext conftest.$ac_ext
81440 if test $glibcxx_cv_POLL = yes; then
81441 cat >>confdefs.h <<\_ACEOF
81442 #define HAVE_POLL 1
81443 _ACEOF
81448 if test "${glibcxx_cv_S_ISREG+set}" = set; then
81449 echo $ECHO_N "(cached) $ECHO_C" >&6
81450 else
81452 if test x$gcc_no_link = xyes; then
81453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81455 { (exit 1); exit 1; }; }
81457 cat >conftest.$ac_ext <<_ACEOF
81458 /* confdefs.h. */
81459 _ACEOF
81460 cat confdefs.h >>conftest.$ac_ext
81461 cat >>conftest.$ac_ext <<_ACEOF
81462 /* end confdefs.h. */
81463 #include <sys/stat.h>
81465 main ()
81467 struct stat buffer;
81468 fstat(0, &buffer);
81469 S_ISREG(buffer.st_mode);
81471 return 0;
81473 _ACEOF
81474 rm -f conftest.$ac_objext conftest$ac_exeext
81475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81476 (eval $ac_link) 2>conftest.er1
81477 ac_status=$?
81478 grep -v '^ *+' conftest.er1 >conftest.err
81479 rm -f conftest.er1
81480 cat conftest.err >&5
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); } &&
81483 { ac_try='test -z "$ac_c_werror_flag"
81484 || test ! -s conftest.err'
81485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81486 (eval $ac_try) 2>&5
81487 ac_status=$?
81488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81489 (exit $ac_status); }; } &&
81490 { ac_try='test -s conftest$ac_exeext'
81491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81492 (eval $ac_try) 2>&5
81493 ac_status=$?
81494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81495 (exit $ac_status); }; }; then
81496 glibcxx_cv_S_ISREG=yes
81497 else
81498 echo "$as_me: failed program was:" >&5
81499 sed 's/^/| /' conftest.$ac_ext >&5
81501 glibcxx_cv_S_ISREG=no
81503 rm -f conftest.err conftest.$ac_objext \
81504 conftest$ac_exeext conftest.$ac_ext
81508 if test "${glibcxx_cv_S_IFREG+set}" = set; then
81509 echo $ECHO_N "(cached) $ECHO_C" >&6
81510 else
81512 if test x$gcc_no_link = xyes; then
81513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81515 { (exit 1); exit 1; }; }
81517 cat >conftest.$ac_ext <<_ACEOF
81518 /* confdefs.h. */
81519 _ACEOF
81520 cat confdefs.h >>conftest.$ac_ext
81521 cat >>conftest.$ac_ext <<_ACEOF
81522 /* end confdefs.h. */
81523 #include <sys/stat.h>
81525 main ()
81527 struct stat buffer;
81528 fstat(0, &buffer);
81529 S_IFREG & buffer.st_mode;
81531 return 0;
81533 _ACEOF
81534 rm -f conftest.$ac_objext conftest$ac_exeext
81535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81536 (eval $ac_link) 2>conftest.er1
81537 ac_status=$?
81538 grep -v '^ *+' conftest.er1 >conftest.err
81539 rm -f conftest.er1
81540 cat conftest.err >&5
81541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81542 (exit $ac_status); } &&
81543 { ac_try='test -z "$ac_c_werror_flag"
81544 || test ! -s conftest.err'
81545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81546 (eval $ac_try) 2>&5
81547 ac_status=$?
81548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81549 (exit $ac_status); }; } &&
81550 { ac_try='test -s conftest$ac_exeext'
81551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81552 (eval $ac_try) 2>&5
81553 ac_status=$?
81554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81555 (exit $ac_status); }; }; then
81556 glibcxx_cv_S_IFREG=yes
81557 else
81558 echo "$as_me: failed program was:" >&5
81559 sed 's/^/| /' conftest.$ac_ext >&5
81561 glibcxx_cv_S_IFREG=no
81563 rm -f conftest.err conftest.$ac_objext \
81564 conftest$ac_exeext conftest.$ac_ext
81568 if test $glibcxx_cv_S_ISREG = yes; then
81569 cat >>confdefs.h <<\_ACEOF
81570 #define HAVE_S_ISREG 1
81571 _ACEOF
81573 elif test $glibcxx_cv_S_IFREG = yes; then
81574 cat >>confdefs.h <<\_ACEOF
81575 #define HAVE_S_IFREG 1
81576 _ACEOF
81581 # For xsputn_2().
81583 for ac_header in sys/uio.h
81585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81587 echo "$as_me:$LINENO: checking for $ac_header" >&5
81588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81590 echo $ECHO_N "(cached) $ECHO_C" >&6
81592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81594 else
81595 # Is the header compilable?
81596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81598 cat >conftest.$ac_ext <<_ACEOF
81599 /* confdefs.h. */
81600 _ACEOF
81601 cat confdefs.h >>conftest.$ac_ext
81602 cat >>conftest.$ac_ext <<_ACEOF
81603 /* end confdefs.h. */
81604 $ac_includes_default
81605 #include <$ac_header>
81606 _ACEOF
81607 rm -f conftest.$ac_objext
81608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81609 (eval $ac_compile) 2>conftest.er1
81610 ac_status=$?
81611 grep -v '^ *+' conftest.er1 >conftest.err
81612 rm -f conftest.er1
81613 cat conftest.err >&5
81614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81615 (exit $ac_status); } &&
81616 { ac_try='test -z "$ac_c_werror_flag"
81617 || test ! -s conftest.err'
81618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81619 (eval $ac_try) 2>&5
81620 ac_status=$?
81621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81622 (exit $ac_status); }; } &&
81623 { ac_try='test -s conftest.$ac_objext'
81624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81625 (eval $ac_try) 2>&5
81626 ac_status=$?
81627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81628 (exit $ac_status); }; }; then
81629 ac_header_compiler=yes
81630 else
81631 echo "$as_me: failed program was:" >&5
81632 sed 's/^/| /' conftest.$ac_ext >&5
81634 ac_header_compiler=no
81636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81638 echo "${ECHO_T}$ac_header_compiler" >&6
81640 # Is the header present?
81641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81643 cat >conftest.$ac_ext <<_ACEOF
81644 /* confdefs.h. */
81645 _ACEOF
81646 cat confdefs.h >>conftest.$ac_ext
81647 cat >>conftest.$ac_ext <<_ACEOF
81648 /* end confdefs.h. */
81649 #include <$ac_header>
81650 _ACEOF
81651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81653 ac_status=$?
81654 grep -v '^ *+' conftest.er1 >conftest.err
81655 rm -f conftest.er1
81656 cat conftest.err >&5
81657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81658 (exit $ac_status); } >/dev/null; then
81659 if test -s conftest.err; then
81660 ac_cpp_err=$ac_c_preproc_warn_flag
81661 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81662 else
81663 ac_cpp_err=
81665 else
81666 ac_cpp_err=yes
81668 if test -z "$ac_cpp_err"; then
81669 ac_header_preproc=yes
81670 else
81671 echo "$as_me: failed program was:" >&5
81672 sed 's/^/| /' conftest.$ac_ext >&5
81674 ac_header_preproc=no
81676 rm -f conftest.err conftest.$ac_ext
81677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81678 echo "${ECHO_T}$ac_header_preproc" >&6
81680 # So? What about this header?
81681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81682 yes:no: )
81683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81687 ac_header_preproc=yes
81689 no:yes:* )
81690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81703 cat <<\_ASBOX
81704 ## ----------------------------------------- ##
81705 ## Report this to the package-unused lists. ##
81706 ## ----------------------------------------- ##
81707 _ASBOX
81709 sed "s/^/$as_me: WARNING: /" >&2
81711 esac
81712 echo "$as_me:$LINENO: checking for $ac_header" >&5
81713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81715 echo $ECHO_N "(cached) $ECHO_C" >&6
81716 else
81717 eval "$as_ac_Header=\$ac_header_preproc"
81719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81724 cat >>confdefs.h <<_ACEOF
81725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81726 _ACEOF
81730 done
81733 if test "${glibcxx_cv_WRITEV+set}" = set; then
81734 echo $ECHO_N "(cached) $ECHO_C" >&6
81735 else
81737 if test x$gcc_no_link = xyes; then
81738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81740 { (exit 1); exit 1; }; }
81742 cat >conftest.$ac_ext <<_ACEOF
81743 /* confdefs.h. */
81744 _ACEOF
81745 cat confdefs.h >>conftest.$ac_ext
81746 cat >>conftest.$ac_ext <<_ACEOF
81747 /* end confdefs.h. */
81748 #include <sys/uio.h>
81750 main ()
81752 struct iovec iov[2];
81753 writev(0, iov, 0);
81755 return 0;
81757 _ACEOF
81758 rm -f conftest.$ac_objext conftest$ac_exeext
81759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81760 (eval $ac_link) 2>conftest.er1
81761 ac_status=$?
81762 grep -v '^ *+' conftest.er1 >conftest.err
81763 rm -f conftest.er1
81764 cat conftest.err >&5
81765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81766 (exit $ac_status); } &&
81767 { ac_try='test -z "$ac_c_werror_flag"
81768 || test ! -s conftest.err'
81769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81770 (eval $ac_try) 2>&5
81771 ac_status=$?
81772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773 (exit $ac_status); }; } &&
81774 { ac_try='test -s conftest$ac_exeext'
81775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81776 (eval $ac_try) 2>&5
81777 ac_status=$?
81778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81779 (exit $ac_status); }; }; then
81780 glibcxx_cv_WRITEV=yes
81781 else
81782 echo "$as_me: failed program was:" >&5
81783 sed 's/^/| /' conftest.$ac_ext >&5
81785 glibcxx_cv_WRITEV=no
81787 rm -f conftest.err conftest.$ac_objext \
81788 conftest$ac_exeext conftest.$ac_ext
81792 if test $glibcxx_cv_WRITEV = yes; then
81793 cat >>confdefs.h <<\_ACEOF
81794 #define HAVE_WRITEV 1
81795 _ACEOF
81800 *-qnx6.1* | *-qnx6.2*)
81801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81804 # If we're not using GNU ld, then there's no point in even trying these
81805 # tests. Check for that first. We should have already tested for gld
81806 # by now (in libtool), but require it now just to be safe...
81807 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81808 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81812 # The name set by libtool depends on the version of libtool. Shame on us
81813 # for depending on an impl detail, but c'est la vie. Older versions used
81814 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81815 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81816 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81817 # set (hence we're using an older libtool), then set it.
81818 if test x${with_gnu_ld+set} != xset; then
81819 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81820 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81821 with_gnu_ld=no
81822 else
81823 with_gnu_ld=$ac_cv_prog_gnu_ld
81827 # Start by getting the version number. I think the libtool test already
81828 # does some of this, but throws away the result.
81830 ldver=`$LD --version 2>/dev/null | head -1 | \
81831 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81833 glibcxx_gnu_ld_version=`echo $ldver | \
81834 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81836 # Set --gc-sections.
81837 if test "$with_gnu_ld" = "notbroken"; then
81838 # GNU ld it is! Joy and bunny rabbits!
81840 # All these tests are for C++; save the language and the compiler flags.
81841 # Need to do this so that g++ won't try to link in libstdc++
81842 ac_test_CFLAGS="${CFLAGS+set}"
81843 ac_save_CFLAGS="$CFLAGS"
81844 CFLAGS='-x c++ -Wl,--gc-sections'
81846 # Check for -Wl,--gc-sections
81847 # XXX This test is broken at the moment, as symbols required for linking
81848 # are now in libsupc++ (not built yet). In addition, this test has
81849 # cored on solaris in the past. In addition, --gc-sections doesn't
81850 # really work at the moment (keeps on discarding used sections, first
81851 # .eh_frame and now some of the glibc sections for iconv).
81852 # Bzzzzt. Thanks for playing, maybe next time.
81853 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81854 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81855 if test "$cross_compiling" = yes; then
81856 ac_sectionLDflags=yes
81857 else
81858 cat >conftest.$ac_ext <<_ACEOF
81859 /* confdefs.h. */
81860 _ACEOF
81861 cat confdefs.h >>conftest.$ac_ext
81862 cat >>conftest.$ac_ext <<_ACEOF
81863 /* end confdefs.h. */
81865 int main(void)
81867 try { throw 1; }
81868 catch (...) { };
81869 return 0;
81872 _ACEOF
81873 rm -f conftest$ac_exeext
81874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81875 (eval $ac_link) 2>&5
81876 ac_status=$?
81877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81880 (eval $ac_try) 2>&5
81881 ac_status=$?
81882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81883 (exit $ac_status); }; }; then
81884 ac_sectionLDflags=yes
81885 else
81886 echo "$as_me: program exited with status $ac_status" >&5
81887 echo "$as_me: failed program was:" >&5
81888 sed 's/^/| /' conftest.$ac_ext >&5
81890 ( exit $ac_status )
81891 ac_sectionLDflags=no
81893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81895 if test "$ac_test_CFLAGS" = set; then
81896 CFLAGS="$ac_save_CFLAGS"
81897 else
81898 # this is the suspicious part
81899 CFLAGS=''
81901 if test "$ac_sectionLDflags" = "yes"; then
81902 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81904 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81905 echo "${ECHO_T}$ac_sectionLDflags" >&6
81908 # Set linker optimization flags.
81909 if test x"$with_gnu_ld" = x"yes"; then
81910 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81918 echo "$as_me:$LINENO: checking for main in -lm" >&5
81919 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81920 if test "${ac_cv_lib_m_main+set}" = set; then
81921 echo $ECHO_N "(cached) $ECHO_C" >&6
81922 else
81923 ac_check_lib_save_LIBS=$LIBS
81924 LIBS="-lm $LIBS"
81925 if test x$gcc_no_link = xyes; then
81926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81928 { (exit 1); exit 1; }; }
81930 cat >conftest.$ac_ext <<_ACEOF
81931 /* confdefs.h. */
81932 _ACEOF
81933 cat confdefs.h >>conftest.$ac_ext
81934 cat >>conftest.$ac_ext <<_ACEOF
81935 /* end confdefs.h. */
81939 main ()
81941 main ();
81943 return 0;
81945 _ACEOF
81946 rm -f conftest.$ac_objext conftest$ac_exeext
81947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81948 (eval $ac_link) 2>conftest.er1
81949 ac_status=$?
81950 grep -v '^ *+' conftest.er1 >conftest.err
81951 rm -f conftest.er1
81952 cat conftest.err >&5
81953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81954 (exit $ac_status); } &&
81955 { ac_try='test -z "$ac_c_werror_flag"
81956 || test ! -s conftest.err'
81957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81958 (eval $ac_try) 2>&5
81959 ac_status=$?
81960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961 (exit $ac_status); }; } &&
81962 { ac_try='test -s conftest$ac_exeext'
81963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81964 (eval $ac_try) 2>&5
81965 ac_status=$?
81966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81967 (exit $ac_status); }; }; then
81968 ac_cv_lib_m_main=yes
81969 else
81970 echo "$as_me: failed program was:" >&5
81971 sed 's/^/| /' conftest.$ac_ext >&5
81973 ac_cv_lib_m_main=no
81975 rm -f conftest.err conftest.$ac_objext \
81976 conftest$ac_exeext conftest.$ac_ext
81977 LIBS=$ac_check_lib_save_LIBS
81979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81980 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81981 if test $ac_cv_lib_m_main = yes; then
81982 cat >>confdefs.h <<_ACEOF
81983 #define HAVE_LIBM 1
81984 _ACEOF
81986 LIBS="-lm $LIBS"
81991 for ac_func in copysignf
81993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81994 echo "$as_me:$LINENO: checking for $ac_func" >&5
81995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81996 if eval "test \"\${$as_ac_var+set}\" = set"; then
81997 echo $ECHO_N "(cached) $ECHO_C" >&6
81998 else
81999 if test x$gcc_no_link = xyes; then
82000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82002 { (exit 1); exit 1; }; }
82004 cat >conftest.$ac_ext <<_ACEOF
82005 /* confdefs.h. */
82006 _ACEOF
82007 cat confdefs.h >>conftest.$ac_ext
82008 cat >>conftest.$ac_ext <<_ACEOF
82009 /* end confdefs.h. */
82010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82012 #define $ac_func innocuous_$ac_func
82014 /* System header to define __stub macros and hopefully few prototypes,
82015 which can conflict with char $ac_func (); below.
82016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82017 <limits.h> exists even on freestanding compilers. */
82019 #ifdef __STDC__
82020 # include <limits.h>
82021 #else
82022 # include <assert.h>
82023 #endif
82025 #undef $ac_func
82027 /* Override any gcc2 internal prototype to avoid an error. */
82028 #ifdef __cplusplus
82029 extern "C"
82031 #endif
82032 /* We use char because int might match the return type of a gcc2
82033 builtin and then its argument prototype would still apply. */
82034 char $ac_func ();
82035 /* The GNU C library defines this for functions which it implements
82036 to always fail with ENOSYS. Some functions are actually named
82037 something starting with __ and the normal name is an alias. */
82038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82039 choke me
82040 #else
82041 char (*f) () = $ac_func;
82042 #endif
82043 #ifdef __cplusplus
82045 #endif
82048 main ()
82050 return f != $ac_func;
82052 return 0;
82054 _ACEOF
82055 rm -f conftest.$ac_objext conftest$ac_exeext
82056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82057 (eval $ac_link) 2>conftest.er1
82058 ac_status=$?
82059 grep -v '^ *+' conftest.er1 >conftest.err
82060 rm -f conftest.er1
82061 cat conftest.err >&5
82062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063 (exit $ac_status); } &&
82064 { ac_try='test -z "$ac_c_werror_flag"
82065 || test ! -s conftest.err'
82066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82067 (eval $ac_try) 2>&5
82068 ac_status=$?
82069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82070 (exit $ac_status); }; } &&
82071 { ac_try='test -s conftest$ac_exeext'
82072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82073 (eval $ac_try) 2>&5
82074 ac_status=$?
82075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82076 (exit $ac_status); }; }; then
82077 eval "$as_ac_var=yes"
82078 else
82079 echo "$as_me: failed program was:" >&5
82080 sed 's/^/| /' conftest.$ac_ext >&5
82082 eval "$as_ac_var=no"
82084 rm -f conftest.err conftest.$ac_objext \
82085 conftest$ac_exeext conftest.$ac_ext
82087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82089 if test `eval echo '${'$as_ac_var'}'` = yes; then
82090 cat >>confdefs.h <<_ACEOF
82091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82092 _ACEOF
82094 else
82095 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82097 done
82101 for ac_func in __signbit
82103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82104 echo "$as_me:$LINENO: checking for $ac_func" >&5
82105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82106 if eval "test \"\${$as_ac_var+set}\" = set"; then
82107 echo $ECHO_N "(cached) $ECHO_C" >&6
82108 else
82109 if test x$gcc_no_link = xyes; then
82110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82112 { (exit 1); exit 1; }; }
82114 cat >conftest.$ac_ext <<_ACEOF
82115 /* confdefs.h. */
82116 _ACEOF
82117 cat confdefs.h >>conftest.$ac_ext
82118 cat >>conftest.$ac_ext <<_ACEOF
82119 /* end confdefs.h. */
82120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82122 #define $ac_func innocuous_$ac_func
82124 /* System header to define __stub macros and hopefully few prototypes,
82125 which can conflict with char $ac_func (); below.
82126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82127 <limits.h> exists even on freestanding compilers. */
82129 #ifdef __STDC__
82130 # include <limits.h>
82131 #else
82132 # include <assert.h>
82133 #endif
82135 #undef $ac_func
82137 /* Override any gcc2 internal prototype to avoid an error. */
82138 #ifdef __cplusplus
82139 extern "C"
82141 #endif
82142 /* We use char because int might match the return type of a gcc2
82143 builtin and then its argument prototype would still apply. */
82144 char $ac_func ();
82145 /* The GNU C library defines this for functions which it implements
82146 to always fail with ENOSYS. Some functions are actually named
82147 something starting with __ and the normal name is an alias. */
82148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82149 choke me
82150 #else
82151 char (*f) () = $ac_func;
82152 #endif
82153 #ifdef __cplusplus
82155 #endif
82158 main ()
82160 return f != $ac_func;
82162 return 0;
82164 _ACEOF
82165 rm -f conftest.$ac_objext conftest$ac_exeext
82166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82167 (eval $ac_link) 2>conftest.er1
82168 ac_status=$?
82169 grep -v '^ *+' conftest.er1 >conftest.err
82170 rm -f conftest.er1
82171 cat conftest.err >&5
82172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82173 (exit $ac_status); } &&
82174 { ac_try='test -z "$ac_c_werror_flag"
82175 || test ! -s conftest.err'
82176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82177 (eval $ac_try) 2>&5
82178 ac_status=$?
82179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82180 (exit $ac_status); }; } &&
82181 { ac_try='test -s conftest$ac_exeext'
82182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82183 (eval $ac_try) 2>&5
82184 ac_status=$?
82185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82186 (exit $ac_status); }; }; then
82187 eval "$as_ac_var=yes"
82188 else
82189 echo "$as_me: failed program was:" >&5
82190 sed 's/^/| /' conftest.$ac_ext >&5
82192 eval "$as_ac_var=no"
82194 rm -f conftest.err conftest.$ac_objext \
82195 conftest$ac_exeext conftest.$ac_ext
82197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82199 if test `eval echo '${'$as_ac_var'}'` = yes; then
82200 cat >>confdefs.h <<_ACEOF
82201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82202 _ACEOF
82204 else
82205 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82207 done
82211 for ac_func in __signbitf
82213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82214 echo "$as_me:$LINENO: checking for $ac_func" >&5
82215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82216 if eval "test \"\${$as_ac_var+set}\" = set"; then
82217 echo $ECHO_N "(cached) $ECHO_C" >&6
82218 else
82219 if test x$gcc_no_link = xyes; then
82220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82222 { (exit 1); exit 1; }; }
82224 cat >conftest.$ac_ext <<_ACEOF
82225 /* confdefs.h. */
82226 _ACEOF
82227 cat confdefs.h >>conftest.$ac_ext
82228 cat >>conftest.$ac_ext <<_ACEOF
82229 /* end confdefs.h. */
82230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82232 #define $ac_func innocuous_$ac_func
82234 /* System header to define __stub macros and hopefully few prototypes,
82235 which can conflict with char $ac_func (); below.
82236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82237 <limits.h> exists even on freestanding compilers. */
82239 #ifdef __STDC__
82240 # include <limits.h>
82241 #else
82242 # include <assert.h>
82243 #endif
82245 #undef $ac_func
82247 /* Override any gcc2 internal prototype to avoid an error. */
82248 #ifdef __cplusplus
82249 extern "C"
82251 #endif
82252 /* We use char because int might match the return type of a gcc2
82253 builtin and then its argument prototype would still apply. */
82254 char $ac_func ();
82255 /* The GNU C library defines this for functions which it implements
82256 to always fail with ENOSYS. Some functions are actually named
82257 something starting with __ and the normal name is an alias. */
82258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82259 choke me
82260 #else
82261 char (*f) () = $ac_func;
82262 #endif
82263 #ifdef __cplusplus
82265 #endif
82268 main ()
82270 return f != $ac_func;
82272 return 0;
82274 _ACEOF
82275 rm -f conftest.$ac_objext conftest$ac_exeext
82276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82277 (eval $ac_link) 2>conftest.er1
82278 ac_status=$?
82279 grep -v '^ *+' conftest.er1 >conftest.err
82280 rm -f conftest.er1
82281 cat conftest.err >&5
82282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82283 (exit $ac_status); } &&
82284 { ac_try='test -z "$ac_c_werror_flag"
82285 || test ! -s conftest.err'
82286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82287 (eval $ac_try) 2>&5
82288 ac_status=$?
82289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82290 (exit $ac_status); }; } &&
82291 { ac_try='test -s conftest$ac_exeext'
82292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82293 (eval $ac_try) 2>&5
82294 ac_status=$?
82295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82296 (exit $ac_status); }; }; then
82297 eval "$as_ac_var=yes"
82298 else
82299 echo "$as_me: failed program was:" >&5
82300 sed 's/^/| /' conftest.$ac_ext >&5
82302 eval "$as_ac_var=no"
82304 rm -f conftest.err conftest.$ac_objext \
82305 conftest$ac_exeext conftest.$ac_ext
82307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82309 if test `eval echo '${'$as_ac_var'}'` = yes; then
82310 cat >>confdefs.h <<_ACEOF
82311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82312 _ACEOF
82314 else
82315 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82317 done
82320 if test x$ac_cv_func_copysignl = x"yes"; then
82322 for ac_func in __signbitl
82324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82325 echo "$as_me:$LINENO: checking for $ac_func" >&5
82326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82327 if eval "test \"\${$as_ac_var+set}\" = set"; then
82328 echo $ECHO_N "(cached) $ECHO_C" >&6
82329 else
82330 if test x$gcc_no_link = xyes; then
82331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82333 { (exit 1); exit 1; }; }
82335 cat >conftest.$ac_ext <<_ACEOF
82336 /* confdefs.h. */
82337 _ACEOF
82338 cat confdefs.h >>conftest.$ac_ext
82339 cat >>conftest.$ac_ext <<_ACEOF
82340 /* end confdefs.h. */
82341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82343 #define $ac_func innocuous_$ac_func
82345 /* System header to define __stub macros and hopefully few prototypes,
82346 which can conflict with char $ac_func (); below.
82347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82348 <limits.h> exists even on freestanding compilers. */
82350 #ifdef __STDC__
82351 # include <limits.h>
82352 #else
82353 # include <assert.h>
82354 #endif
82356 #undef $ac_func
82358 /* Override any gcc2 internal prototype to avoid an error. */
82359 #ifdef __cplusplus
82360 extern "C"
82362 #endif
82363 /* We use char because int might match the return type of a gcc2
82364 builtin and then its argument prototype would still apply. */
82365 char $ac_func ();
82366 /* The GNU C library defines this for functions which it implements
82367 to always fail with ENOSYS. Some functions are actually named
82368 something starting with __ and the normal name is an alias. */
82369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82370 choke me
82371 #else
82372 char (*f) () = $ac_func;
82373 #endif
82374 #ifdef __cplusplus
82376 #endif
82379 main ()
82381 return f != $ac_func;
82383 return 0;
82385 _ACEOF
82386 rm -f conftest.$ac_objext conftest$ac_exeext
82387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82388 (eval $ac_link) 2>conftest.er1
82389 ac_status=$?
82390 grep -v '^ *+' conftest.er1 >conftest.err
82391 rm -f conftest.er1
82392 cat conftest.err >&5
82393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82394 (exit $ac_status); } &&
82395 { ac_try='test -z "$ac_c_werror_flag"
82396 || test ! -s conftest.err'
82397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82398 (eval $ac_try) 2>&5
82399 ac_status=$?
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); }; } &&
82402 { ac_try='test -s conftest$ac_exeext'
82403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82404 (eval $ac_try) 2>&5
82405 ac_status=$?
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); }; }; then
82408 eval "$as_ac_var=yes"
82409 else
82410 echo "$as_me: failed program was:" >&5
82411 sed 's/^/| /' conftest.$ac_ext >&5
82413 eval "$as_ac_var=no"
82415 rm -f conftest.err conftest.$ac_objext \
82416 conftest$ac_exeext conftest.$ac_ext
82418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82420 if test `eval echo '${'$as_ac_var'}'` = yes; then
82421 cat >>confdefs.h <<_ACEOF
82422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82423 _ACEOF
82425 else
82426 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82428 done
82432 # Used in libmath/Makefile.am.
82433 if test -n "$LIBMATHOBJS"; then
82434 need_libmath=yes
82440 enable_iconv=no
82441 # Only continue checking if the ISO C99 headers exist and support is on.
82442 if test x"$enable_wchar_t" = xyes; then
82444 # Use iconv for wchar_t to char conversions. As such, check for
82445 # X/Open Portability Guide, version 2 features (XPG2).
82446 if test "${ac_cv_header_iconv_h+set}" = set; then
82447 echo "$as_me:$LINENO: checking for iconv.h" >&5
82448 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82449 if test "${ac_cv_header_iconv_h+set}" = set; then
82450 echo $ECHO_N "(cached) $ECHO_C" >&6
82452 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82453 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82454 else
82455 # Is the header compilable?
82456 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82457 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82458 cat >conftest.$ac_ext <<_ACEOF
82459 /* confdefs.h. */
82460 _ACEOF
82461 cat confdefs.h >>conftest.$ac_ext
82462 cat >>conftest.$ac_ext <<_ACEOF
82463 /* end confdefs.h. */
82464 $ac_includes_default
82465 #include <iconv.h>
82466 _ACEOF
82467 rm -f conftest.$ac_objext
82468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82469 (eval $ac_compile) 2>conftest.er1
82470 ac_status=$?
82471 grep -v '^ *+' conftest.er1 >conftest.err
82472 rm -f conftest.er1
82473 cat conftest.err >&5
82474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82475 (exit $ac_status); } &&
82476 { ac_try='test -z "$ac_c_werror_flag"
82477 || test ! -s conftest.err'
82478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82479 (eval $ac_try) 2>&5
82480 ac_status=$?
82481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82482 (exit $ac_status); }; } &&
82483 { ac_try='test -s conftest.$ac_objext'
82484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82485 (eval $ac_try) 2>&5
82486 ac_status=$?
82487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82488 (exit $ac_status); }; }; then
82489 ac_header_compiler=yes
82490 else
82491 echo "$as_me: failed program was:" >&5
82492 sed 's/^/| /' conftest.$ac_ext >&5
82494 ac_header_compiler=no
82496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82498 echo "${ECHO_T}$ac_header_compiler" >&6
82500 # Is the header present?
82501 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82502 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82503 cat >conftest.$ac_ext <<_ACEOF
82504 /* confdefs.h. */
82505 _ACEOF
82506 cat confdefs.h >>conftest.$ac_ext
82507 cat >>conftest.$ac_ext <<_ACEOF
82508 /* end confdefs.h. */
82509 #include <iconv.h>
82510 _ACEOF
82511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82512 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
82519 if test -s conftest.err; then
82520 ac_cpp_err=$ac_c_preproc_warn_flag
82521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82522 else
82523 ac_cpp_err=
82525 else
82526 ac_cpp_err=yes
82528 if test -z "$ac_cpp_err"; then
82529 ac_header_preproc=yes
82530 else
82531 echo "$as_me: failed program was:" >&5
82532 sed 's/^/| /' conftest.$ac_ext >&5
82534 ac_header_preproc=no
82536 rm -f conftest.err conftest.$ac_ext
82537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82538 echo "${ECHO_T}$ac_header_preproc" >&6
82540 # So? What about this header?
82541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82542 yes:no: )
82543 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82544 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82545 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82546 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82547 ac_header_preproc=yes
82549 no:yes:* )
82550 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82551 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82552 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82553 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82554 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82555 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82556 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82557 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82558 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82559 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82560 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82561 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82563 cat <<\_ASBOX
82564 ## ----------------------------------------- ##
82565 ## Report this to the package-unused lists. ##
82566 ## ----------------------------------------- ##
82567 _ASBOX
82569 sed "s/^/$as_me: WARNING: /" >&2
82571 esac
82572 echo "$as_me:$LINENO: checking for iconv.h" >&5
82573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82574 if test "${ac_cv_header_iconv_h+set}" = set; then
82575 echo $ECHO_N "(cached) $ECHO_C" >&6
82576 else
82577 ac_cv_header_iconv_h=$ac_header_preproc
82579 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82580 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82583 if test $ac_cv_header_iconv_h = yes; then
82584 ac_has_iconv_h=yes
82585 else
82586 ac_has_iconv_h=no
82590 if test "${ac_cv_header_langinfo_h+set}" = set; then
82591 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82592 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82593 if test "${ac_cv_header_langinfo_h+set}" = set; then
82594 echo $ECHO_N "(cached) $ECHO_C" >&6
82596 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82597 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82598 else
82599 # Is the header compilable?
82600 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82601 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82602 cat >conftest.$ac_ext <<_ACEOF
82603 /* confdefs.h. */
82604 _ACEOF
82605 cat confdefs.h >>conftest.$ac_ext
82606 cat >>conftest.$ac_ext <<_ACEOF
82607 /* end confdefs.h. */
82608 $ac_includes_default
82609 #include <langinfo.h>
82610 _ACEOF
82611 rm -f conftest.$ac_objext
82612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82613 (eval $ac_compile) 2>conftest.er1
82614 ac_status=$?
82615 grep -v '^ *+' conftest.er1 >conftest.err
82616 rm -f conftest.er1
82617 cat conftest.err >&5
82618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82619 (exit $ac_status); } &&
82620 { ac_try='test -z "$ac_c_werror_flag"
82621 || test ! -s conftest.err'
82622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82623 (eval $ac_try) 2>&5
82624 ac_status=$?
82625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82626 (exit $ac_status); }; } &&
82627 { ac_try='test -s conftest.$ac_objext'
82628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82629 (eval $ac_try) 2>&5
82630 ac_status=$?
82631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82632 (exit $ac_status); }; }; then
82633 ac_header_compiler=yes
82634 else
82635 echo "$as_me: failed program was:" >&5
82636 sed 's/^/| /' conftest.$ac_ext >&5
82638 ac_header_compiler=no
82640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82642 echo "${ECHO_T}$ac_header_compiler" >&6
82644 # Is the header present?
82645 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82646 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82647 cat >conftest.$ac_ext <<_ACEOF
82648 /* confdefs.h. */
82649 _ACEOF
82650 cat confdefs.h >>conftest.$ac_ext
82651 cat >>conftest.$ac_ext <<_ACEOF
82652 /* end confdefs.h. */
82653 #include <langinfo.h>
82654 _ACEOF
82655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82657 ac_status=$?
82658 grep -v '^ *+' conftest.er1 >conftest.err
82659 rm -f conftest.er1
82660 cat conftest.err >&5
82661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82662 (exit $ac_status); } >/dev/null; then
82663 if test -s conftest.err; then
82664 ac_cpp_err=$ac_c_preproc_warn_flag
82665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82666 else
82667 ac_cpp_err=
82669 else
82670 ac_cpp_err=yes
82672 if test -z "$ac_cpp_err"; then
82673 ac_header_preproc=yes
82674 else
82675 echo "$as_me: failed program was:" >&5
82676 sed 's/^/| /' conftest.$ac_ext >&5
82678 ac_header_preproc=no
82680 rm -f conftest.err conftest.$ac_ext
82681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82682 echo "${ECHO_T}$ac_header_preproc" >&6
82684 # So? What about this header?
82685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82686 yes:no: )
82687 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82688 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82689 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82690 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82691 ac_header_preproc=yes
82693 no:yes:* )
82694 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82695 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82696 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82697 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82698 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82699 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82700 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82701 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82702 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82703 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82704 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82705 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82707 cat <<\_ASBOX
82708 ## ----------------------------------------- ##
82709 ## Report this to the package-unused lists. ##
82710 ## ----------------------------------------- ##
82711 _ASBOX
82713 sed "s/^/$as_me: WARNING: /" >&2
82715 esac
82716 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82717 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82718 if test "${ac_cv_header_langinfo_h+set}" = set; then
82719 echo $ECHO_N "(cached) $ECHO_C" >&6
82720 else
82721 ac_cv_header_langinfo_h=$ac_header_preproc
82723 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82724 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82727 if test $ac_cv_header_langinfo_h = yes; then
82728 ac_has_langinfo_h=yes
82729 else
82730 ac_has_langinfo_h=no
82735 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82736 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82737 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82738 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82739 echo $ECHO_N "(cached) $ECHO_C" >&6
82740 else
82741 ac_check_lib_save_LIBS=$LIBS
82742 LIBS="-liconv $LIBS"
82743 if test x$gcc_no_link = xyes; then
82744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82746 { (exit 1); exit 1; }; }
82748 cat >conftest.$ac_ext <<_ACEOF
82749 /* confdefs.h. */
82750 _ACEOF
82751 cat confdefs.h >>conftest.$ac_ext
82752 cat >>conftest.$ac_ext <<_ACEOF
82753 /* end confdefs.h. */
82755 /* Override any gcc2 internal prototype to avoid an error. */
82756 #ifdef __cplusplus
82757 extern "C"
82758 #endif
82759 /* We use char because int might match the return type of a gcc2
82760 builtin and then its argument prototype would still apply. */
82761 char iconv ();
82763 main ()
82765 iconv ();
82767 return 0;
82769 _ACEOF
82770 rm -f conftest.$ac_objext conftest$ac_exeext
82771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82772 (eval $ac_link) 2>conftest.er1
82773 ac_status=$?
82774 grep -v '^ *+' conftest.er1 >conftest.err
82775 rm -f conftest.er1
82776 cat conftest.err >&5
82777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82778 (exit $ac_status); } &&
82779 { ac_try='test -z "$ac_c_werror_flag"
82780 || test ! -s conftest.err'
82781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82782 (eval $ac_try) 2>&5
82783 ac_status=$?
82784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82785 (exit $ac_status); }; } &&
82786 { ac_try='test -s conftest$ac_exeext'
82787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82788 (eval $ac_try) 2>&5
82789 ac_status=$?
82790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791 (exit $ac_status); }; }; then
82792 ac_cv_lib_iconv_iconv=yes
82793 else
82794 echo "$as_me: failed program was:" >&5
82795 sed 's/^/| /' conftest.$ac_ext >&5
82797 ac_cv_lib_iconv_iconv=no
82799 rm -f conftest.err conftest.$ac_objext \
82800 conftest$ac_exeext conftest.$ac_ext
82801 LIBS=$ac_check_lib_save_LIBS
82803 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82804 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82805 if test $ac_cv_lib_iconv_iconv = yes; then
82806 LIBICONV="-liconv"
82809 ac_save_LIBS="$LIBS"
82810 LIBS="$LIBS $LIBICONV"
82817 for ac_func in iconv_open iconv_close iconv nl_langinfo
82819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82820 echo "$as_me:$LINENO: checking for $ac_func" >&5
82821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82822 if eval "test \"\${$as_ac_var+set}\" = set"; then
82823 echo $ECHO_N "(cached) $ECHO_C" >&6
82824 else
82825 if test x$gcc_no_link = xyes; then
82826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82828 { (exit 1); exit 1; }; }
82830 cat >conftest.$ac_ext <<_ACEOF
82831 /* confdefs.h. */
82832 _ACEOF
82833 cat confdefs.h >>conftest.$ac_ext
82834 cat >>conftest.$ac_ext <<_ACEOF
82835 /* end confdefs.h. */
82836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82838 #define $ac_func innocuous_$ac_func
82840 /* System header to define __stub macros and hopefully few prototypes,
82841 which can conflict with char $ac_func (); below.
82842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82843 <limits.h> exists even on freestanding compilers. */
82845 #ifdef __STDC__
82846 # include <limits.h>
82847 #else
82848 # include <assert.h>
82849 #endif
82851 #undef $ac_func
82853 /* Override any gcc2 internal prototype to avoid an error. */
82854 #ifdef __cplusplus
82855 extern "C"
82857 #endif
82858 /* We use char because int might match the return type of a gcc2
82859 builtin and then its argument prototype would still apply. */
82860 char $ac_func ();
82861 /* The GNU C library defines this for functions which it implements
82862 to always fail with ENOSYS. Some functions are actually named
82863 something starting with __ and the normal name is an alias. */
82864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82865 choke me
82866 #else
82867 char (*f) () = $ac_func;
82868 #endif
82869 #ifdef __cplusplus
82871 #endif
82874 main ()
82876 return f != $ac_func;
82878 return 0;
82880 _ACEOF
82881 rm -f conftest.$ac_objext conftest$ac_exeext
82882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82883 (eval $ac_link) 2>conftest.er1
82884 ac_status=$?
82885 grep -v '^ *+' conftest.er1 >conftest.err
82886 rm -f conftest.er1
82887 cat conftest.err >&5
82888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82889 (exit $ac_status); } &&
82890 { ac_try='test -z "$ac_c_werror_flag"
82891 || test ! -s conftest.err'
82892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82893 (eval $ac_try) 2>&5
82894 ac_status=$?
82895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82896 (exit $ac_status); }; } &&
82897 { ac_try='test -s conftest$ac_exeext'
82898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82899 (eval $ac_try) 2>&5
82900 ac_status=$?
82901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902 (exit $ac_status); }; }; then
82903 eval "$as_ac_var=yes"
82904 else
82905 echo "$as_me: failed program was:" >&5
82906 sed 's/^/| /' conftest.$ac_ext >&5
82908 eval "$as_ac_var=no"
82910 rm -f conftest.err conftest.$ac_objext \
82911 conftest$ac_exeext conftest.$ac_ext
82913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82915 if test `eval echo '${'$as_ac_var'}'` = yes; then
82916 cat >>confdefs.h <<_ACEOF
82917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82918 _ACEOF
82919 ac_XPG2funcs=yes
82920 else
82921 ac_XPG2funcs=no
82923 done
82926 LIBS="$ac_save_LIBS"
82928 if test x"$ac_has_iconv_h" = xyes &&
82929 test x"$ac_has_langinfo_h" = xyes &&
82930 test x"$ac_XPG2funcs" = xyes;
82931 then
82933 cat >>confdefs.h <<\_ACEOF
82934 #define _GLIBCXX_USE_ICONV 1
82935 _ACEOF
82937 enable_iconv=yes
82940 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82941 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82942 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82943 echo "${ECHO_T}$enable_iconv" >&6
82945 cat >>confdefs.h <<\_ACEOF
82946 #define HAVE_COSF 1
82947 _ACEOF
82949 cat >>confdefs.h <<\_ACEOF
82950 #define HAVE_COSL 1
82951 _ACEOF
82953 cat >>confdefs.h <<\_ACEOF
82954 #define HAVE_COSHF 1
82955 _ACEOF
82957 cat >>confdefs.h <<\_ACEOF
82958 #define HAVE_COSHL 1
82959 _ACEOF
82961 cat >>confdefs.h <<\_ACEOF
82962 #define HAVE_LOGF 1
82963 _ACEOF
82965 cat >>confdefs.h <<\_ACEOF
82966 #define HAVE_LOGL 1
82967 _ACEOF
82969 cat >>confdefs.h <<\_ACEOF
82970 #define HAVE_LOG10F 1
82971 _ACEOF
82973 cat >>confdefs.h <<\_ACEOF
82974 #define HAVE_LOG10L 1
82975 _ACEOF
82977 cat >>confdefs.h <<\_ACEOF
82978 #define HAVE_SINF 1
82979 _ACEOF
82981 cat >>confdefs.h <<\_ACEOF
82982 #define HAVE_SINL 1
82983 _ACEOF
82985 cat >>confdefs.h <<\_ACEOF
82986 #define HAVE_SINHF 1
82987 _ACEOF
82989 cat >>confdefs.h <<\_ACEOF
82990 #define HAVE_SINHL 1
82991 _ACEOF
82994 *-solaris*)
82995 case "$target" in
82996 # *-solaris2.5)
82997 # os_include_dir="os/solaris/solaris2.5"
82998 # ;;
82999 # *-solaris2.6)
83000 # os_include_dir="os/solaris/solaris2.6"
83001 # ;;
83002 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
83003 cat >>confdefs.h <<\_ACEOF
83004 #define HAVE_GETPAGESIZE 1
83005 _ACEOF
83007 cat >>confdefs.h <<\_ACEOF
83008 #define HAVE_SIGSETJMP 1
83009 _ACEOF
83011 cat >>confdefs.h <<\_ACEOF
83012 #define HAVE_MBSTATE_T 1
83013 _ACEOF
83015 cat >>confdefs.h <<\_ACEOF
83016 #define HAVE_POLL 1
83017 _ACEOF
83019 cat >>confdefs.h <<\_ACEOF
83020 #define HAVE_S_ISREG 1
83021 _ACEOF
83023 cat >>confdefs.h <<\_ACEOF
83024 #define HAVE_LC_MESSAGES 1
83025 _ACEOF
83027 cat >>confdefs.h <<\_ACEOF
83028 #define HAVE_FINITE 1
83029 _ACEOF
83031 cat >>confdefs.h <<\_ACEOF
83032 #define HAVE_FPCLASS 1
83033 _ACEOF
83035 cat >>confdefs.h <<\_ACEOF
83036 #define HAVE_GETPAGESIZE 1
83037 _ACEOF
83039 cat >>confdefs.h <<\_ACEOF
83040 #define HAVE_NL_LANGINFO 1
83041 _ACEOF
83043 cat >>confdefs.h <<\_ACEOF
83044 #define HAVE_ICONV 1
83045 _ACEOF
83047 cat >>confdefs.h <<\_ACEOF
83048 #define HAVE_ICONV_CLOSE 1
83049 _ACEOF
83051 cat >>confdefs.h <<\_ACEOF
83052 #define HAVE_ICONV_OPEN 1
83053 _ACEOF
83055 # Look for the pieces required for wchar_t support in order to
83056 # get all the right HAVE_* macros defined.
83059 enable_iconv=no
83060 # Only continue checking if the ISO C99 headers exist and support is on.
83061 if test x"$enable_wchar_t" = xyes; then
83063 # Use iconv for wchar_t to char conversions. As such, check for
83064 # X/Open Portability Guide, version 2 features (XPG2).
83065 if test "${ac_cv_header_iconv_h+set}" = set; then
83066 echo "$as_me:$LINENO: checking for iconv.h" >&5
83067 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83068 if test "${ac_cv_header_iconv_h+set}" = set; then
83069 echo $ECHO_N "(cached) $ECHO_C" >&6
83071 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83072 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83073 else
83074 # Is the header compilable?
83075 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83076 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83077 cat >conftest.$ac_ext <<_ACEOF
83078 /* confdefs.h. */
83079 _ACEOF
83080 cat confdefs.h >>conftest.$ac_ext
83081 cat >>conftest.$ac_ext <<_ACEOF
83082 /* end confdefs.h. */
83083 $ac_includes_default
83084 #include <iconv.h>
83085 _ACEOF
83086 rm -f conftest.$ac_objext
83087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83088 (eval $ac_compile) 2>conftest.er1
83089 ac_status=$?
83090 grep -v '^ *+' conftest.er1 >conftest.err
83091 rm -f conftest.er1
83092 cat conftest.err >&5
83093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094 (exit $ac_status); } &&
83095 { ac_try='test -z "$ac_c_werror_flag"
83096 || test ! -s conftest.err'
83097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83098 (eval $ac_try) 2>&5
83099 ac_status=$?
83100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83101 (exit $ac_status); }; } &&
83102 { ac_try='test -s conftest.$ac_objext'
83103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83104 (eval $ac_try) 2>&5
83105 ac_status=$?
83106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83107 (exit $ac_status); }; }; then
83108 ac_header_compiler=yes
83109 else
83110 echo "$as_me: failed program was:" >&5
83111 sed 's/^/| /' conftest.$ac_ext >&5
83113 ac_header_compiler=no
83115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83117 echo "${ECHO_T}$ac_header_compiler" >&6
83119 # Is the header present?
83120 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83121 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83122 cat >conftest.$ac_ext <<_ACEOF
83123 /* confdefs.h. */
83124 _ACEOF
83125 cat confdefs.h >>conftest.$ac_ext
83126 cat >>conftest.$ac_ext <<_ACEOF
83127 /* end confdefs.h. */
83128 #include <iconv.h>
83129 _ACEOF
83130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83132 ac_status=$?
83133 grep -v '^ *+' conftest.er1 >conftest.err
83134 rm -f conftest.er1
83135 cat conftest.err >&5
83136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83137 (exit $ac_status); } >/dev/null; then
83138 if test -s conftest.err; then
83139 ac_cpp_err=$ac_c_preproc_warn_flag
83140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83141 else
83142 ac_cpp_err=
83144 else
83145 ac_cpp_err=yes
83147 if test -z "$ac_cpp_err"; then
83148 ac_header_preproc=yes
83149 else
83150 echo "$as_me: failed program was:" >&5
83151 sed 's/^/| /' conftest.$ac_ext >&5
83153 ac_header_preproc=no
83155 rm -f conftest.err conftest.$ac_ext
83156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83157 echo "${ECHO_T}$ac_header_preproc" >&6
83159 # So? What about this header?
83160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83161 yes:no: )
83162 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83163 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83164 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83165 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83166 ac_header_preproc=yes
83168 no:yes:* )
83169 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83170 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83171 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83172 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83173 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83174 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83175 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83176 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83177 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83178 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83179 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83180 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83182 cat <<\_ASBOX
83183 ## ----------------------------------------- ##
83184 ## Report this to the package-unused lists. ##
83185 ## ----------------------------------------- ##
83186 _ASBOX
83188 sed "s/^/$as_me: WARNING: /" >&2
83190 esac
83191 echo "$as_me:$LINENO: checking for iconv.h" >&5
83192 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83193 if test "${ac_cv_header_iconv_h+set}" = set; then
83194 echo $ECHO_N "(cached) $ECHO_C" >&6
83195 else
83196 ac_cv_header_iconv_h=$ac_header_preproc
83198 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83199 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83202 if test $ac_cv_header_iconv_h = yes; then
83203 ac_has_iconv_h=yes
83204 else
83205 ac_has_iconv_h=no
83209 if test "${ac_cv_header_langinfo_h+set}" = set; then
83210 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83211 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83212 if test "${ac_cv_header_langinfo_h+set}" = set; then
83213 echo $ECHO_N "(cached) $ECHO_C" >&6
83215 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83216 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83217 else
83218 # Is the header compilable?
83219 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83220 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83221 cat >conftest.$ac_ext <<_ACEOF
83222 /* confdefs.h. */
83223 _ACEOF
83224 cat confdefs.h >>conftest.$ac_ext
83225 cat >>conftest.$ac_ext <<_ACEOF
83226 /* end confdefs.h. */
83227 $ac_includes_default
83228 #include <langinfo.h>
83229 _ACEOF
83230 rm -f conftest.$ac_objext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83232 (eval $ac_compile) 2>conftest.er1
83233 ac_status=$?
83234 grep -v '^ *+' conftest.er1 >conftest.err
83235 rm -f conftest.er1
83236 cat conftest.err >&5
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); } &&
83239 { ac_try='test -z "$ac_c_werror_flag"
83240 || test ! -s conftest.err'
83241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83242 (eval $ac_try) 2>&5
83243 ac_status=$?
83244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83245 (exit $ac_status); }; } &&
83246 { ac_try='test -s conftest.$ac_objext'
83247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83248 (eval $ac_try) 2>&5
83249 ac_status=$?
83250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83251 (exit $ac_status); }; }; then
83252 ac_header_compiler=yes
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83257 ac_header_compiler=no
83259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83261 echo "${ECHO_T}$ac_header_compiler" >&6
83263 # Is the header present?
83264 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83265 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83266 cat >conftest.$ac_ext <<_ACEOF
83267 /* confdefs.h. */
83268 _ACEOF
83269 cat confdefs.h >>conftest.$ac_ext
83270 cat >>conftest.$ac_ext <<_ACEOF
83271 /* end confdefs.h. */
83272 #include <langinfo.h>
83273 _ACEOF
83274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83276 ac_status=$?
83277 grep -v '^ *+' conftest.er1 >conftest.err
83278 rm -f conftest.er1
83279 cat conftest.err >&5
83280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281 (exit $ac_status); } >/dev/null; then
83282 if test -s conftest.err; then
83283 ac_cpp_err=$ac_c_preproc_warn_flag
83284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83285 else
83286 ac_cpp_err=
83288 else
83289 ac_cpp_err=yes
83291 if test -z "$ac_cpp_err"; then
83292 ac_header_preproc=yes
83293 else
83294 echo "$as_me: failed program was:" >&5
83295 sed 's/^/| /' conftest.$ac_ext >&5
83297 ac_header_preproc=no
83299 rm -f conftest.err conftest.$ac_ext
83300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83301 echo "${ECHO_T}$ac_header_preproc" >&6
83303 # So? What about this header?
83304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83305 yes:no: )
83306 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83307 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83308 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83309 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83310 ac_header_preproc=yes
83312 no:yes:* )
83313 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83314 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83315 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83316 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83317 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83318 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83319 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83320 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83321 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83322 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83323 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83324 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83326 cat <<\_ASBOX
83327 ## ----------------------------------------- ##
83328 ## Report this to the package-unused lists. ##
83329 ## ----------------------------------------- ##
83330 _ASBOX
83332 sed "s/^/$as_me: WARNING: /" >&2
83334 esac
83335 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83336 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83337 if test "${ac_cv_header_langinfo_h+set}" = set; then
83338 echo $ECHO_N "(cached) $ECHO_C" >&6
83339 else
83340 ac_cv_header_langinfo_h=$ac_header_preproc
83342 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83343 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83346 if test $ac_cv_header_langinfo_h = yes; then
83347 ac_has_langinfo_h=yes
83348 else
83349 ac_has_langinfo_h=no
83354 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83355 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83356 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83357 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83358 echo $ECHO_N "(cached) $ECHO_C" >&6
83359 else
83360 ac_check_lib_save_LIBS=$LIBS
83361 LIBS="-liconv $LIBS"
83362 if test x$gcc_no_link = xyes; then
83363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83365 { (exit 1); exit 1; }; }
83367 cat >conftest.$ac_ext <<_ACEOF
83368 /* confdefs.h. */
83369 _ACEOF
83370 cat confdefs.h >>conftest.$ac_ext
83371 cat >>conftest.$ac_ext <<_ACEOF
83372 /* end confdefs.h. */
83374 /* Override any gcc2 internal prototype to avoid an error. */
83375 #ifdef __cplusplus
83376 extern "C"
83377 #endif
83378 /* We use char because int might match the return type of a gcc2
83379 builtin and then its argument prototype would still apply. */
83380 char iconv ();
83382 main ()
83384 iconv ();
83386 return 0;
83388 _ACEOF
83389 rm -f conftest.$ac_objext conftest$ac_exeext
83390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83391 (eval $ac_link) 2>conftest.er1
83392 ac_status=$?
83393 grep -v '^ *+' conftest.er1 >conftest.err
83394 rm -f conftest.er1
83395 cat conftest.err >&5
83396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83397 (exit $ac_status); } &&
83398 { ac_try='test -z "$ac_c_werror_flag"
83399 || test ! -s conftest.err'
83400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83401 (eval $ac_try) 2>&5
83402 ac_status=$?
83403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404 (exit $ac_status); }; } &&
83405 { ac_try='test -s conftest$ac_exeext'
83406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83407 (eval $ac_try) 2>&5
83408 ac_status=$?
83409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83410 (exit $ac_status); }; }; then
83411 ac_cv_lib_iconv_iconv=yes
83412 else
83413 echo "$as_me: failed program was:" >&5
83414 sed 's/^/| /' conftest.$ac_ext >&5
83416 ac_cv_lib_iconv_iconv=no
83418 rm -f conftest.err conftest.$ac_objext \
83419 conftest$ac_exeext conftest.$ac_ext
83420 LIBS=$ac_check_lib_save_LIBS
83422 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83423 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83424 if test $ac_cv_lib_iconv_iconv = yes; then
83425 LIBICONV="-liconv"
83428 ac_save_LIBS="$LIBS"
83429 LIBS="$LIBS $LIBICONV"
83436 for ac_func in iconv_open iconv_close iconv nl_langinfo
83438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83439 echo "$as_me:$LINENO: checking for $ac_func" >&5
83440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83441 if eval "test \"\${$as_ac_var+set}\" = set"; then
83442 echo $ECHO_N "(cached) $ECHO_C" >&6
83443 else
83444 if test x$gcc_no_link = xyes; then
83445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83447 { (exit 1); exit 1; }; }
83449 cat >conftest.$ac_ext <<_ACEOF
83450 /* confdefs.h. */
83451 _ACEOF
83452 cat confdefs.h >>conftest.$ac_ext
83453 cat >>conftest.$ac_ext <<_ACEOF
83454 /* end confdefs.h. */
83455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83457 #define $ac_func innocuous_$ac_func
83459 /* System header to define __stub macros and hopefully few prototypes,
83460 which can conflict with char $ac_func (); below.
83461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83462 <limits.h> exists even on freestanding compilers. */
83464 #ifdef __STDC__
83465 # include <limits.h>
83466 #else
83467 # include <assert.h>
83468 #endif
83470 #undef $ac_func
83472 /* Override any gcc2 internal prototype to avoid an error. */
83473 #ifdef __cplusplus
83474 extern "C"
83476 #endif
83477 /* We use char because int might match the return type of a gcc2
83478 builtin and then its argument prototype would still apply. */
83479 char $ac_func ();
83480 /* The GNU C library defines this for functions which it implements
83481 to always fail with ENOSYS. Some functions are actually named
83482 something starting with __ and the normal name is an alias. */
83483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83484 choke me
83485 #else
83486 char (*f) () = $ac_func;
83487 #endif
83488 #ifdef __cplusplus
83490 #endif
83493 main ()
83495 return f != $ac_func;
83497 return 0;
83499 _ACEOF
83500 rm -f conftest.$ac_objext conftest$ac_exeext
83501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83502 (eval $ac_link) 2>conftest.er1
83503 ac_status=$?
83504 grep -v '^ *+' conftest.er1 >conftest.err
83505 rm -f conftest.er1
83506 cat conftest.err >&5
83507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83508 (exit $ac_status); } &&
83509 { ac_try='test -z "$ac_c_werror_flag"
83510 || test ! -s conftest.err'
83511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83512 (eval $ac_try) 2>&5
83513 ac_status=$?
83514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83515 (exit $ac_status); }; } &&
83516 { ac_try='test -s conftest$ac_exeext'
83517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83518 (eval $ac_try) 2>&5
83519 ac_status=$?
83520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521 (exit $ac_status); }; }; then
83522 eval "$as_ac_var=yes"
83523 else
83524 echo "$as_me: failed program was:" >&5
83525 sed 's/^/| /' conftest.$ac_ext >&5
83527 eval "$as_ac_var=no"
83529 rm -f conftest.err conftest.$ac_objext \
83530 conftest$ac_exeext conftest.$ac_ext
83532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83534 if test `eval echo '${'$as_ac_var'}'` = yes; then
83535 cat >>confdefs.h <<_ACEOF
83536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83537 _ACEOF
83538 ac_XPG2funcs=yes
83539 else
83540 ac_XPG2funcs=no
83542 done
83545 LIBS="$ac_save_LIBS"
83547 if test x"$ac_has_iconv_h" = xyes &&
83548 test x"$ac_has_langinfo_h" = xyes &&
83549 test x"$ac_XPG2funcs" = xyes;
83550 then
83552 cat >>confdefs.h <<\_ACEOF
83553 #define _GLIBCXX_USE_ICONV 1
83554 _ACEOF
83556 enable_iconv=yes
83559 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83560 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83561 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83562 echo "${ECHO_T}$enable_iconv" >&6
83564 # All of the dependencies for wide character support are here, so
83565 # turn it on. This requires some syncronization with the
83566 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
83567 cat >>confdefs.h <<\_ACEOF
83568 #define _GLIBCXX_USE_WCHAR_T 1
83569 _ACEOF
83571 # Are these tested for even when cross?
83572 cat >>confdefs.h <<\_ACEOF
83573 #define HAVE_FLOAT_H 1
83574 _ACEOF
83576 cat >>confdefs.h <<\_ACEOF
83577 #define HAVE_IEEEFP_H 1
83578 _ACEOF
83580 cat >>confdefs.h <<\_ACEOF
83581 #define HAVE_INTTYPES_H 1
83582 _ACEOF
83584 cat >>confdefs.h <<\_ACEOF
83585 #define HAVE_LOCALE_H 1
83586 _ACEOF
83588 cat >>confdefs.h <<\_ACEOF
83589 #define HAVE_NAN_H 1
83590 _ACEOF
83592 cat >>confdefs.h <<\_ACEOF
83593 #define HAVE_SYS_FILIO_H 1
83594 _ACEOF
83596 cat >>confdefs.h <<\_ACEOF
83597 #define HAVE_SYS_IOCTL_H 1
83598 _ACEOF
83600 cat >>confdefs.h <<\_ACEOF
83601 #define HAVE_SYS_ISA_DEFS_H 1
83602 _ACEOF
83604 cat >>confdefs.h <<\_ACEOF
83605 #define HAVE_SYS_RESOURCE_H 1
83606 _ACEOF
83608 cat >>confdefs.h <<\_ACEOF
83609 #define HAVE_SYS_TIME_H 1
83610 _ACEOF
83612 cat >>confdefs.h <<\_ACEOF
83613 #define HAVE_SYS_TYPES_H 1
83614 _ACEOF
83616 cat >>confdefs.h <<\_ACEOF
83617 #define HAVE_UNISTD_H 1
83618 _ACEOF
83620 cat >>confdefs.h <<\_ACEOF
83621 #define HAVE_WCHAR_H 1
83622 _ACEOF
83624 cat >>confdefs.h <<\_ACEOF
83625 #define HAVE_WCTYPE_H 1
83626 _ACEOF
83628 cat >>confdefs.h <<\_ACEOF
83629 #define HAVE_LIBM 1
83630 _ACEOF
83633 esac
83634 case "$target" in
83635 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
83636 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
83637 cat >>confdefs.h <<\_ACEOF
83638 #define HAVE___BUILTIN_ABS 1
83639 _ACEOF
83641 cat >>confdefs.h <<\_ACEOF
83642 #define HAVE___BUILTIN_LABS 1
83643 _ACEOF
83645 cat >>confdefs.h <<\_ACEOF
83646 #define HAVE___BUILTIN_FABS 1
83647 _ACEOF
83649 cat >>confdefs.h <<\_ACEOF
83650 #define HAVE___BUILTIN_FABSF 1
83651 _ACEOF
83653 cat >>confdefs.h <<\_ACEOF
83654 #define HAVE___BUILTIN_FABSL 1
83655 _ACEOF
83657 cat >>confdefs.h <<\_ACEOF
83658 #define HAVE___BUILTIN_COS 1
83659 _ACEOF
83661 cat >>confdefs.h <<\_ACEOF
83662 #define HAVE___BUILTIN_COSF 1
83663 _ACEOF
83665 cat >>confdefs.h <<\_ACEOF
83666 #define HAVE___BUILTIN_SIN 1
83667 _ACEOF
83669 cat >>confdefs.h <<\_ACEOF
83670 #define HAVE___BUILTIN_SINF 1
83671 _ACEOF
83674 esac
83675 case "$target" in
83676 *-*-solaris2.10)
83677 # These two C99 functions are present only in Solaris >= 10
83678 cat >>confdefs.h <<\_ACEOF
83679 #define HAVE_STRTOF 1
83680 _ACEOF
83682 cat >>confdefs.h <<\_ACEOF
83683 #define HAVE_STRTOLD 1
83684 _ACEOF
83687 esac
83688 cat >>confdefs.h <<\_ACEOF
83689 #define HAVE_MMAP 1
83690 _ACEOF
83692 cat >>confdefs.h <<\_ACEOF
83693 #define HAVE_COPYSIGN 1
83694 _ACEOF
83696 cat >>confdefs.h <<\_ACEOF
83697 #define HAVE_ISNAN 1
83698 _ACEOF
83700 cat >>confdefs.h <<\_ACEOF
83701 #define HAVE_ISNANF 1
83702 _ACEOF
83704 cat >>confdefs.h <<\_ACEOF
83705 #define HAVE_MODFF 1
83706 _ACEOF
83708 cat >>confdefs.h <<\_ACEOF
83709 #define HAVE_HYPOT 1
83710 _ACEOF
83713 *-tpf)
83722 for ac_header in nan.h endian.h machine/endian.h \
83723 sys/param.h sys/types.h locale.h float.h inttypes.h
83725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83727 echo "$as_me:$LINENO: checking for $ac_header" >&5
83728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83730 echo $ECHO_N "(cached) $ECHO_C" >&6
83732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83734 else
83735 # Is the header compilable?
83736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83738 cat >conftest.$ac_ext <<_ACEOF
83739 /* confdefs.h. */
83740 _ACEOF
83741 cat confdefs.h >>conftest.$ac_ext
83742 cat >>conftest.$ac_ext <<_ACEOF
83743 /* end confdefs.h. */
83744 $ac_includes_default
83745 #include <$ac_header>
83746 _ACEOF
83747 rm -f conftest.$ac_objext
83748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83749 (eval $ac_compile) 2>conftest.er1
83750 ac_status=$?
83751 grep -v '^ *+' conftest.er1 >conftest.err
83752 rm -f conftest.er1
83753 cat conftest.err >&5
83754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755 (exit $ac_status); } &&
83756 { ac_try='test -z "$ac_c_werror_flag"
83757 || test ! -s conftest.err'
83758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83759 (eval $ac_try) 2>&5
83760 ac_status=$?
83761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83762 (exit $ac_status); }; } &&
83763 { ac_try='test -s conftest.$ac_objext'
83764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83765 (eval $ac_try) 2>&5
83766 ac_status=$?
83767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83768 (exit $ac_status); }; }; then
83769 ac_header_compiler=yes
83770 else
83771 echo "$as_me: failed program was:" >&5
83772 sed 's/^/| /' conftest.$ac_ext >&5
83774 ac_header_compiler=no
83776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83778 echo "${ECHO_T}$ac_header_compiler" >&6
83780 # Is the header present?
83781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83783 cat >conftest.$ac_ext <<_ACEOF
83784 /* confdefs.h. */
83785 _ACEOF
83786 cat confdefs.h >>conftest.$ac_ext
83787 cat >>conftest.$ac_ext <<_ACEOF
83788 /* end confdefs.h. */
83789 #include <$ac_header>
83790 _ACEOF
83791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83793 ac_status=$?
83794 grep -v '^ *+' conftest.er1 >conftest.err
83795 rm -f conftest.er1
83796 cat conftest.err >&5
83797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83798 (exit $ac_status); } >/dev/null; then
83799 if test -s conftest.err; then
83800 ac_cpp_err=$ac_c_preproc_warn_flag
83801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83802 else
83803 ac_cpp_err=
83805 else
83806 ac_cpp_err=yes
83808 if test -z "$ac_cpp_err"; then
83809 ac_header_preproc=yes
83810 else
83811 echo "$as_me: failed program was:" >&5
83812 sed 's/^/| /' conftest.$ac_ext >&5
83814 ac_header_preproc=no
83816 rm -f conftest.err conftest.$ac_ext
83817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83818 echo "${ECHO_T}$ac_header_preproc" >&6
83820 # So? What about this header?
83821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83822 yes:no: )
83823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83827 ac_header_preproc=yes
83829 no:yes:* )
83830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83843 cat <<\_ASBOX
83844 ## ----------------------------------------- ##
83845 ## Report this to the package-unused lists. ##
83846 ## ----------------------------------------- ##
83847 _ASBOX
83849 sed "s/^/$as_me: WARNING: /" >&2
83851 esac
83852 echo "$as_me:$LINENO: checking for $ac_header" >&5
83853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83855 echo $ECHO_N "(cached) $ECHO_C" >&6
83856 else
83857 eval "$as_ac_Header=\$ac_header_preproc"
83859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83864 cat >>confdefs.h <<_ACEOF
83865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83866 _ACEOF
83870 done
83872 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83875 # If we're not using GNU ld, then there's no point in even trying these
83876 # tests. Check for that first. We should have already tested for gld
83877 # by now (in libtool), but require it now just to be safe...
83878 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83879 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83883 # The name set by libtool depends on the version of libtool. Shame on us
83884 # for depending on an impl detail, but c'est la vie. Older versions used
83885 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83886 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83887 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83888 # set (hence we're using an older libtool), then set it.
83889 if test x${with_gnu_ld+set} != xset; then
83890 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83891 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83892 with_gnu_ld=no
83893 else
83894 with_gnu_ld=$ac_cv_prog_gnu_ld
83898 # Start by getting the version number. I think the libtool test already
83899 # does some of this, but throws away the result.
83901 ldver=`$LD --version 2>/dev/null | head -1 | \
83902 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83904 glibcxx_gnu_ld_version=`echo $ldver | \
83905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83907 # Set --gc-sections.
83908 if test "$with_gnu_ld" = "notbroken"; then
83909 # GNU ld it is! Joy and bunny rabbits!
83911 # All these tests are for C++; save the language and the compiler flags.
83912 # Need to do this so that g++ won't try to link in libstdc++
83913 ac_test_CFLAGS="${CFLAGS+set}"
83914 ac_save_CFLAGS="$CFLAGS"
83915 CFLAGS='-x c++ -Wl,--gc-sections'
83917 # Check for -Wl,--gc-sections
83918 # XXX This test is broken at the moment, as symbols required for linking
83919 # are now in libsupc++ (not built yet). In addition, this test has
83920 # cored on solaris in the past. In addition, --gc-sections doesn't
83921 # really work at the moment (keeps on discarding used sections, first
83922 # .eh_frame and now some of the glibc sections for iconv).
83923 # Bzzzzt. Thanks for playing, maybe next time.
83924 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83925 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83926 if test "$cross_compiling" = yes; then
83927 ac_sectionLDflags=yes
83928 else
83929 cat >conftest.$ac_ext <<_ACEOF
83930 /* confdefs.h. */
83931 _ACEOF
83932 cat confdefs.h >>conftest.$ac_ext
83933 cat >>conftest.$ac_ext <<_ACEOF
83934 /* end confdefs.h. */
83936 int main(void)
83938 try { throw 1; }
83939 catch (...) { };
83940 return 0;
83943 _ACEOF
83944 rm -f conftest$ac_exeext
83945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83946 (eval $ac_link) 2>&5
83947 ac_status=$?
83948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83951 (eval $ac_try) 2>&5
83952 ac_status=$?
83953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83954 (exit $ac_status); }; }; then
83955 ac_sectionLDflags=yes
83956 else
83957 echo "$as_me: program exited with status $ac_status" >&5
83958 echo "$as_me: failed program was:" >&5
83959 sed 's/^/| /' conftest.$ac_ext >&5
83961 ( exit $ac_status )
83962 ac_sectionLDflags=no
83964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83966 if test "$ac_test_CFLAGS" = set; then
83967 CFLAGS="$ac_save_CFLAGS"
83968 else
83969 # this is the suspicious part
83970 CFLAGS=''
83972 if test "$ac_sectionLDflags" = "yes"; then
83973 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83975 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83976 echo "${ECHO_T}$ac_sectionLDflags" >&6
83979 # Set linker optimization flags.
83980 if test x"$with_gnu_ld" = x"yes"; then
83981 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83989 echo "$as_me:$LINENO: checking for main in -lm" >&5
83990 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83991 if test "${ac_cv_lib_m_main+set}" = set; then
83992 echo $ECHO_N "(cached) $ECHO_C" >&6
83993 else
83994 ac_check_lib_save_LIBS=$LIBS
83995 LIBS="-lm $LIBS"
83996 if test x$gcc_no_link = xyes; then
83997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83999 { (exit 1); exit 1; }; }
84001 cat >conftest.$ac_ext <<_ACEOF
84002 /* confdefs.h. */
84003 _ACEOF
84004 cat confdefs.h >>conftest.$ac_ext
84005 cat >>conftest.$ac_ext <<_ACEOF
84006 /* end confdefs.h. */
84010 main ()
84012 main ();
84014 return 0;
84016 _ACEOF
84017 rm -f conftest.$ac_objext conftest$ac_exeext
84018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84019 (eval $ac_link) 2>conftest.er1
84020 ac_status=$?
84021 grep -v '^ *+' conftest.er1 >conftest.err
84022 rm -f conftest.er1
84023 cat conftest.err >&5
84024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84025 (exit $ac_status); } &&
84026 { ac_try='test -z "$ac_c_werror_flag"
84027 || test ! -s conftest.err'
84028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84029 (eval $ac_try) 2>&5
84030 ac_status=$?
84031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84032 (exit $ac_status); }; } &&
84033 { ac_try='test -s conftest$ac_exeext'
84034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84035 (eval $ac_try) 2>&5
84036 ac_status=$?
84037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038 (exit $ac_status); }; }; then
84039 ac_cv_lib_m_main=yes
84040 else
84041 echo "$as_me: failed program was:" >&5
84042 sed 's/^/| /' conftest.$ac_ext >&5
84044 ac_cv_lib_m_main=no
84046 rm -f conftest.err conftest.$ac_objext \
84047 conftest$ac_exeext conftest.$ac_ext
84048 LIBS=$ac_check_lib_save_LIBS
84050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84051 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84052 if test $ac_cv_lib_m_main = yes; then
84053 cat >>confdefs.h <<_ACEOF
84054 #define HAVE_LIBM 1
84055 _ACEOF
84057 LIBS="-lm $LIBS"
84062 for ac_func in copysignf
84064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84065 echo "$as_me:$LINENO: checking for $ac_func" >&5
84066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84067 if eval "test \"\${$as_ac_var+set}\" = set"; then
84068 echo $ECHO_N "(cached) $ECHO_C" >&6
84069 else
84070 if test x$gcc_no_link = xyes; then
84071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84073 { (exit 1); exit 1; }; }
84075 cat >conftest.$ac_ext <<_ACEOF
84076 /* confdefs.h. */
84077 _ACEOF
84078 cat confdefs.h >>conftest.$ac_ext
84079 cat >>conftest.$ac_ext <<_ACEOF
84080 /* end confdefs.h. */
84081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84083 #define $ac_func innocuous_$ac_func
84085 /* System header to define __stub macros and hopefully few prototypes,
84086 which can conflict with char $ac_func (); below.
84087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84088 <limits.h> exists even on freestanding compilers. */
84090 #ifdef __STDC__
84091 # include <limits.h>
84092 #else
84093 # include <assert.h>
84094 #endif
84096 #undef $ac_func
84098 /* Override any gcc2 internal prototype to avoid an error. */
84099 #ifdef __cplusplus
84100 extern "C"
84102 #endif
84103 /* We use char because int might match the return type of a gcc2
84104 builtin and then its argument prototype would still apply. */
84105 char $ac_func ();
84106 /* The GNU C library defines this for functions which it implements
84107 to always fail with ENOSYS. Some functions are actually named
84108 something starting with __ and the normal name is an alias. */
84109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84110 choke me
84111 #else
84112 char (*f) () = $ac_func;
84113 #endif
84114 #ifdef __cplusplus
84116 #endif
84119 main ()
84121 return f != $ac_func;
84123 return 0;
84125 _ACEOF
84126 rm -f conftest.$ac_objext conftest$ac_exeext
84127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84128 (eval $ac_link) 2>conftest.er1
84129 ac_status=$?
84130 grep -v '^ *+' conftest.er1 >conftest.err
84131 rm -f conftest.er1
84132 cat conftest.err >&5
84133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134 (exit $ac_status); } &&
84135 { ac_try='test -z "$ac_c_werror_flag"
84136 || test ! -s conftest.err'
84137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84138 (eval $ac_try) 2>&5
84139 ac_status=$?
84140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84141 (exit $ac_status); }; } &&
84142 { ac_try='test -s conftest$ac_exeext'
84143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84144 (eval $ac_try) 2>&5
84145 ac_status=$?
84146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84147 (exit $ac_status); }; }; then
84148 eval "$as_ac_var=yes"
84149 else
84150 echo "$as_me: failed program was:" >&5
84151 sed 's/^/| /' conftest.$ac_ext >&5
84153 eval "$as_ac_var=no"
84155 rm -f conftest.err conftest.$ac_objext \
84156 conftest$ac_exeext conftest.$ac_ext
84158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84160 if test `eval echo '${'$as_ac_var'}'` = yes; then
84161 cat >>confdefs.h <<_ACEOF
84162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84163 _ACEOF
84165 else
84166 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84168 done
84172 for ac_func in __signbit
84174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84175 echo "$as_me:$LINENO: checking for $ac_func" >&5
84176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84177 if eval "test \"\${$as_ac_var+set}\" = set"; then
84178 echo $ECHO_N "(cached) $ECHO_C" >&6
84179 else
84180 if test x$gcc_no_link = xyes; then
84181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84183 { (exit 1); exit 1; }; }
84185 cat >conftest.$ac_ext <<_ACEOF
84186 /* confdefs.h. */
84187 _ACEOF
84188 cat confdefs.h >>conftest.$ac_ext
84189 cat >>conftest.$ac_ext <<_ACEOF
84190 /* end confdefs.h. */
84191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84193 #define $ac_func innocuous_$ac_func
84195 /* System header to define __stub macros and hopefully few prototypes,
84196 which can conflict with char $ac_func (); below.
84197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84198 <limits.h> exists even on freestanding compilers. */
84200 #ifdef __STDC__
84201 # include <limits.h>
84202 #else
84203 # include <assert.h>
84204 #endif
84206 #undef $ac_func
84208 /* Override any gcc2 internal prototype to avoid an error. */
84209 #ifdef __cplusplus
84210 extern "C"
84212 #endif
84213 /* We use char because int might match the return type of a gcc2
84214 builtin and then its argument prototype would still apply. */
84215 char $ac_func ();
84216 /* The GNU C library defines this for functions which it implements
84217 to always fail with ENOSYS. Some functions are actually named
84218 something starting with __ and the normal name is an alias. */
84219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84220 choke me
84221 #else
84222 char (*f) () = $ac_func;
84223 #endif
84224 #ifdef __cplusplus
84226 #endif
84229 main ()
84231 return f != $ac_func;
84233 return 0;
84235 _ACEOF
84236 rm -f conftest.$ac_objext conftest$ac_exeext
84237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84238 (eval $ac_link) 2>conftest.er1
84239 ac_status=$?
84240 grep -v '^ *+' conftest.er1 >conftest.err
84241 rm -f conftest.er1
84242 cat conftest.err >&5
84243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84244 (exit $ac_status); } &&
84245 { ac_try='test -z "$ac_c_werror_flag"
84246 || test ! -s conftest.err'
84247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84248 (eval $ac_try) 2>&5
84249 ac_status=$?
84250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84251 (exit $ac_status); }; } &&
84252 { ac_try='test -s conftest$ac_exeext'
84253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84254 (eval $ac_try) 2>&5
84255 ac_status=$?
84256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84257 (exit $ac_status); }; }; then
84258 eval "$as_ac_var=yes"
84259 else
84260 echo "$as_me: failed program was:" >&5
84261 sed 's/^/| /' conftest.$ac_ext >&5
84263 eval "$as_ac_var=no"
84265 rm -f conftest.err conftest.$ac_objext \
84266 conftest$ac_exeext conftest.$ac_ext
84268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84270 if test `eval echo '${'$as_ac_var'}'` = yes; then
84271 cat >>confdefs.h <<_ACEOF
84272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84273 _ACEOF
84275 else
84276 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84278 done
84282 for ac_func in __signbitf
84284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84285 echo "$as_me:$LINENO: checking for $ac_func" >&5
84286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84287 if eval "test \"\${$as_ac_var+set}\" = set"; then
84288 echo $ECHO_N "(cached) $ECHO_C" >&6
84289 else
84290 if test x$gcc_no_link = xyes; then
84291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84293 { (exit 1); exit 1; }; }
84295 cat >conftest.$ac_ext <<_ACEOF
84296 /* confdefs.h. */
84297 _ACEOF
84298 cat confdefs.h >>conftest.$ac_ext
84299 cat >>conftest.$ac_ext <<_ACEOF
84300 /* end confdefs.h. */
84301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84303 #define $ac_func innocuous_$ac_func
84305 /* System header to define __stub macros and hopefully few prototypes,
84306 which can conflict with char $ac_func (); below.
84307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84308 <limits.h> exists even on freestanding compilers. */
84310 #ifdef __STDC__
84311 # include <limits.h>
84312 #else
84313 # include <assert.h>
84314 #endif
84316 #undef $ac_func
84318 /* Override any gcc2 internal prototype to avoid an error. */
84319 #ifdef __cplusplus
84320 extern "C"
84322 #endif
84323 /* We use char because int might match the return type of a gcc2
84324 builtin and then its argument prototype would still apply. */
84325 char $ac_func ();
84326 /* The GNU C library defines this for functions which it implements
84327 to always fail with ENOSYS. Some functions are actually named
84328 something starting with __ and the normal name is an alias. */
84329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84330 choke me
84331 #else
84332 char (*f) () = $ac_func;
84333 #endif
84334 #ifdef __cplusplus
84336 #endif
84339 main ()
84341 return f != $ac_func;
84343 return 0;
84345 _ACEOF
84346 rm -f conftest.$ac_objext conftest$ac_exeext
84347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84348 (eval $ac_link) 2>conftest.er1
84349 ac_status=$?
84350 grep -v '^ *+' conftest.er1 >conftest.err
84351 rm -f conftest.er1
84352 cat conftest.err >&5
84353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84354 (exit $ac_status); } &&
84355 { ac_try='test -z "$ac_c_werror_flag"
84356 || test ! -s conftest.err'
84357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84358 (eval $ac_try) 2>&5
84359 ac_status=$?
84360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84361 (exit $ac_status); }; } &&
84362 { ac_try='test -s conftest$ac_exeext'
84363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84364 (eval $ac_try) 2>&5
84365 ac_status=$?
84366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84367 (exit $ac_status); }; }; then
84368 eval "$as_ac_var=yes"
84369 else
84370 echo "$as_me: failed program was:" >&5
84371 sed 's/^/| /' conftest.$ac_ext >&5
84373 eval "$as_ac_var=no"
84375 rm -f conftest.err conftest.$ac_objext \
84376 conftest$ac_exeext conftest.$ac_ext
84378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84380 if test `eval echo '${'$as_ac_var'}'` = yes; then
84381 cat >>confdefs.h <<_ACEOF
84382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84383 _ACEOF
84385 else
84386 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84388 done
84391 if test x$ac_cv_func_copysignl = x"yes"; then
84393 for ac_func in __signbitl
84395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84396 echo "$as_me:$LINENO: checking for $ac_func" >&5
84397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84398 if eval "test \"\${$as_ac_var+set}\" = set"; then
84399 echo $ECHO_N "(cached) $ECHO_C" >&6
84400 else
84401 if test x$gcc_no_link = xyes; then
84402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84404 { (exit 1); exit 1; }; }
84406 cat >conftest.$ac_ext <<_ACEOF
84407 /* confdefs.h. */
84408 _ACEOF
84409 cat confdefs.h >>conftest.$ac_ext
84410 cat >>conftest.$ac_ext <<_ACEOF
84411 /* end confdefs.h. */
84412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84414 #define $ac_func innocuous_$ac_func
84416 /* System header to define __stub macros and hopefully few prototypes,
84417 which can conflict with char $ac_func (); below.
84418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84419 <limits.h> exists even on freestanding compilers. */
84421 #ifdef __STDC__
84422 # include <limits.h>
84423 #else
84424 # include <assert.h>
84425 #endif
84427 #undef $ac_func
84429 /* Override any gcc2 internal prototype to avoid an error. */
84430 #ifdef __cplusplus
84431 extern "C"
84433 #endif
84434 /* We use char because int might match the return type of a gcc2
84435 builtin and then its argument prototype would still apply. */
84436 char $ac_func ();
84437 /* The GNU C library defines this for functions which it implements
84438 to always fail with ENOSYS. Some functions are actually named
84439 something starting with __ and the normal name is an alias. */
84440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84441 choke me
84442 #else
84443 char (*f) () = $ac_func;
84444 #endif
84445 #ifdef __cplusplus
84447 #endif
84450 main ()
84452 return f != $ac_func;
84454 return 0;
84456 _ACEOF
84457 rm -f conftest.$ac_objext conftest$ac_exeext
84458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84459 (eval $ac_link) 2>conftest.er1
84460 ac_status=$?
84461 grep -v '^ *+' conftest.er1 >conftest.err
84462 rm -f conftest.er1
84463 cat conftest.err >&5
84464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465 (exit $ac_status); } &&
84466 { ac_try='test -z "$ac_c_werror_flag"
84467 || test ! -s conftest.err'
84468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84469 (eval $ac_try) 2>&5
84470 ac_status=$?
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); }; } &&
84473 { ac_try='test -s conftest$ac_exeext'
84474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84475 (eval $ac_try) 2>&5
84476 ac_status=$?
84477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84478 (exit $ac_status); }; }; then
84479 eval "$as_ac_var=yes"
84480 else
84481 echo "$as_me: failed program was:" >&5
84482 sed 's/^/| /' conftest.$ac_ext >&5
84484 eval "$as_ac_var=no"
84486 rm -f conftest.err conftest.$ac_objext \
84487 conftest$ac_exeext conftest.$ac_ext
84489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84491 if test `eval echo '${'$as_ac_var'}'` = yes; then
84492 cat >>confdefs.h <<_ACEOF
84493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84494 _ACEOF
84496 else
84497 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84499 done
84503 # Used in libmath/Makefile.am.
84504 if test -n "$LIBMATHOBJS"; then
84505 need_libmath=yes
84511 enable_iconv=no
84512 # Only continue checking if the ISO C99 headers exist and support is on.
84513 if test x"$enable_wchar_t" = xyes; then
84515 # Use iconv for wchar_t to char conversions. As such, check for
84516 # X/Open Portability Guide, version 2 features (XPG2).
84517 if test "${ac_cv_header_iconv_h+set}" = set; then
84518 echo "$as_me:$LINENO: checking for iconv.h" >&5
84519 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84520 if test "${ac_cv_header_iconv_h+set}" = set; then
84521 echo $ECHO_N "(cached) $ECHO_C" >&6
84523 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84524 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84525 else
84526 # Is the header compilable?
84527 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84528 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84529 cat >conftest.$ac_ext <<_ACEOF
84530 /* confdefs.h. */
84531 _ACEOF
84532 cat confdefs.h >>conftest.$ac_ext
84533 cat >>conftest.$ac_ext <<_ACEOF
84534 /* end confdefs.h. */
84535 $ac_includes_default
84536 #include <iconv.h>
84537 _ACEOF
84538 rm -f conftest.$ac_objext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84540 (eval $ac_compile) 2>conftest.er1
84541 ac_status=$?
84542 grep -v '^ *+' conftest.er1 >conftest.err
84543 rm -f conftest.er1
84544 cat conftest.err >&5
84545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84546 (exit $ac_status); } &&
84547 { ac_try='test -z "$ac_c_werror_flag"
84548 || test ! -s conftest.err'
84549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84550 (eval $ac_try) 2>&5
84551 ac_status=$?
84552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84553 (exit $ac_status); }; } &&
84554 { ac_try='test -s conftest.$ac_objext'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; }; then
84560 ac_header_compiler=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84565 ac_header_compiler=no
84567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84569 echo "${ECHO_T}$ac_header_compiler" >&6
84571 # Is the header present?
84572 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84573 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84574 cat >conftest.$ac_ext <<_ACEOF
84575 /* confdefs.h. */
84576 _ACEOF
84577 cat confdefs.h >>conftest.$ac_ext
84578 cat >>conftest.$ac_ext <<_ACEOF
84579 /* end confdefs.h. */
84580 #include <iconv.h>
84581 _ACEOF
84582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84584 ac_status=$?
84585 grep -v '^ *+' conftest.er1 >conftest.err
84586 rm -f conftest.er1
84587 cat conftest.err >&5
84588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84589 (exit $ac_status); } >/dev/null; then
84590 if test -s conftest.err; then
84591 ac_cpp_err=$ac_c_preproc_warn_flag
84592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84593 else
84594 ac_cpp_err=
84596 else
84597 ac_cpp_err=yes
84599 if test -z "$ac_cpp_err"; then
84600 ac_header_preproc=yes
84601 else
84602 echo "$as_me: failed program was:" >&5
84603 sed 's/^/| /' conftest.$ac_ext >&5
84605 ac_header_preproc=no
84607 rm -f conftest.err conftest.$ac_ext
84608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84609 echo "${ECHO_T}$ac_header_preproc" >&6
84611 # So? What about this header?
84612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84613 yes:no: )
84614 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84615 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84616 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84617 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84618 ac_header_preproc=yes
84620 no:yes:* )
84621 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84622 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84623 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84624 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84625 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84626 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84627 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84628 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84629 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84630 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84631 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84632 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84634 cat <<\_ASBOX
84635 ## ----------------------------------------- ##
84636 ## Report this to the package-unused lists. ##
84637 ## ----------------------------------------- ##
84638 _ASBOX
84640 sed "s/^/$as_me: WARNING: /" >&2
84642 esac
84643 echo "$as_me:$LINENO: checking for iconv.h" >&5
84644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84645 if test "${ac_cv_header_iconv_h+set}" = set; then
84646 echo $ECHO_N "(cached) $ECHO_C" >&6
84647 else
84648 ac_cv_header_iconv_h=$ac_header_preproc
84650 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84651 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84654 if test $ac_cv_header_iconv_h = yes; then
84655 ac_has_iconv_h=yes
84656 else
84657 ac_has_iconv_h=no
84661 if test "${ac_cv_header_langinfo_h+set}" = set; then
84662 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84663 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84664 if test "${ac_cv_header_langinfo_h+set}" = set; then
84665 echo $ECHO_N "(cached) $ECHO_C" >&6
84667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84669 else
84670 # Is the header compilable?
84671 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84672 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84673 cat >conftest.$ac_ext <<_ACEOF
84674 /* confdefs.h. */
84675 _ACEOF
84676 cat confdefs.h >>conftest.$ac_ext
84677 cat >>conftest.$ac_ext <<_ACEOF
84678 /* end confdefs.h. */
84679 $ac_includes_default
84680 #include <langinfo.h>
84681 _ACEOF
84682 rm -f conftest.$ac_objext
84683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84684 (eval $ac_compile) 2>conftest.er1
84685 ac_status=$?
84686 grep -v '^ *+' conftest.er1 >conftest.err
84687 rm -f conftest.er1
84688 cat conftest.err >&5
84689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84690 (exit $ac_status); } &&
84691 { ac_try='test -z "$ac_c_werror_flag"
84692 || test ! -s conftest.err'
84693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84694 (eval $ac_try) 2>&5
84695 ac_status=$?
84696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84697 (exit $ac_status); }; } &&
84698 { ac_try='test -s conftest.$ac_objext'
84699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84700 (eval $ac_try) 2>&5
84701 ac_status=$?
84702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84703 (exit $ac_status); }; }; then
84704 ac_header_compiler=yes
84705 else
84706 echo "$as_me: failed program was:" >&5
84707 sed 's/^/| /' conftest.$ac_ext >&5
84709 ac_header_compiler=no
84711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84713 echo "${ECHO_T}$ac_header_compiler" >&6
84715 # Is the header present?
84716 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84717 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84718 cat >conftest.$ac_ext <<_ACEOF
84719 /* confdefs.h. */
84720 _ACEOF
84721 cat confdefs.h >>conftest.$ac_ext
84722 cat >>conftest.$ac_ext <<_ACEOF
84723 /* end confdefs.h. */
84724 #include <langinfo.h>
84725 _ACEOF
84726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84728 ac_status=$?
84729 grep -v '^ *+' conftest.er1 >conftest.err
84730 rm -f conftest.er1
84731 cat conftest.err >&5
84732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84733 (exit $ac_status); } >/dev/null; then
84734 if test -s conftest.err; then
84735 ac_cpp_err=$ac_c_preproc_warn_flag
84736 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84737 else
84738 ac_cpp_err=
84740 else
84741 ac_cpp_err=yes
84743 if test -z "$ac_cpp_err"; then
84744 ac_header_preproc=yes
84745 else
84746 echo "$as_me: failed program was:" >&5
84747 sed 's/^/| /' conftest.$ac_ext >&5
84749 ac_header_preproc=no
84751 rm -f conftest.err conftest.$ac_ext
84752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84753 echo "${ECHO_T}$ac_header_preproc" >&6
84755 # So? What about this header?
84756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84757 yes:no: )
84758 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84759 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84760 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84761 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84762 ac_header_preproc=yes
84764 no:yes:* )
84765 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84766 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84767 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84768 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84769 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84770 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84771 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84772 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84773 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84774 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84775 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84776 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84778 cat <<\_ASBOX
84779 ## ----------------------------------------- ##
84780 ## Report this to the package-unused lists. ##
84781 ## ----------------------------------------- ##
84782 _ASBOX
84784 sed "s/^/$as_me: WARNING: /" >&2
84786 esac
84787 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84788 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84789 if test "${ac_cv_header_langinfo_h+set}" = set; then
84790 echo $ECHO_N "(cached) $ECHO_C" >&6
84791 else
84792 ac_cv_header_langinfo_h=$ac_header_preproc
84794 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84795 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84798 if test $ac_cv_header_langinfo_h = yes; then
84799 ac_has_langinfo_h=yes
84800 else
84801 ac_has_langinfo_h=no
84806 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84807 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84808 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84809 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84810 echo $ECHO_N "(cached) $ECHO_C" >&6
84811 else
84812 ac_check_lib_save_LIBS=$LIBS
84813 LIBS="-liconv $LIBS"
84814 if test x$gcc_no_link = xyes; then
84815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84817 { (exit 1); exit 1; }; }
84819 cat >conftest.$ac_ext <<_ACEOF
84820 /* confdefs.h. */
84821 _ACEOF
84822 cat confdefs.h >>conftest.$ac_ext
84823 cat >>conftest.$ac_ext <<_ACEOF
84824 /* end confdefs.h. */
84826 /* Override any gcc2 internal prototype to avoid an error. */
84827 #ifdef __cplusplus
84828 extern "C"
84829 #endif
84830 /* We use char because int might match the return type of a gcc2
84831 builtin and then its argument prototype would still apply. */
84832 char iconv ();
84834 main ()
84836 iconv ();
84838 return 0;
84840 _ACEOF
84841 rm -f conftest.$ac_objext conftest$ac_exeext
84842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84843 (eval $ac_link) 2>conftest.er1
84844 ac_status=$?
84845 grep -v '^ *+' conftest.er1 >conftest.err
84846 rm -f conftest.er1
84847 cat conftest.err >&5
84848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84849 (exit $ac_status); } &&
84850 { ac_try='test -z "$ac_c_werror_flag"
84851 || test ! -s conftest.err'
84852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84853 (eval $ac_try) 2>&5
84854 ac_status=$?
84855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84856 (exit $ac_status); }; } &&
84857 { ac_try='test -s conftest$ac_exeext'
84858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84859 (eval $ac_try) 2>&5
84860 ac_status=$?
84861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84862 (exit $ac_status); }; }; then
84863 ac_cv_lib_iconv_iconv=yes
84864 else
84865 echo "$as_me: failed program was:" >&5
84866 sed 's/^/| /' conftest.$ac_ext >&5
84868 ac_cv_lib_iconv_iconv=no
84870 rm -f conftest.err conftest.$ac_objext \
84871 conftest$ac_exeext conftest.$ac_ext
84872 LIBS=$ac_check_lib_save_LIBS
84874 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84875 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84876 if test $ac_cv_lib_iconv_iconv = yes; then
84877 LIBICONV="-liconv"
84880 ac_save_LIBS="$LIBS"
84881 LIBS="$LIBS $LIBICONV"
84888 for ac_func in iconv_open iconv_close iconv nl_langinfo
84890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84891 echo "$as_me:$LINENO: checking for $ac_func" >&5
84892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84893 if eval "test \"\${$as_ac_var+set}\" = set"; then
84894 echo $ECHO_N "(cached) $ECHO_C" >&6
84895 else
84896 if test x$gcc_no_link = xyes; then
84897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84899 { (exit 1); exit 1; }; }
84901 cat >conftest.$ac_ext <<_ACEOF
84902 /* confdefs.h. */
84903 _ACEOF
84904 cat confdefs.h >>conftest.$ac_ext
84905 cat >>conftest.$ac_ext <<_ACEOF
84906 /* end confdefs.h. */
84907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84909 #define $ac_func innocuous_$ac_func
84911 /* System header to define __stub macros and hopefully few prototypes,
84912 which can conflict with char $ac_func (); below.
84913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84914 <limits.h> exists even on freestanding compilers. */
84916 #ifdef __STDC__
84917 # include <limits.h>
84918 #else
84919 # include <assert.h>
84920 #endif
84922 #undef $ac_func
84924 /* Override any gcc2 internal prototype to avoid an error. */
84925 #ifdef __cplusplus
84926 extern "C"
84928 #endif
84929 /* We use char because int might match the return type of a gcc2
84930 builtin and then its argument prototype would still apply. */
84931 char $ac_func ();
84932 /* The GNU C library defines this for functions which it implements
84933 to always fail with ENOSYS. Some functions are actually named
84934 something starting with __ and the normal name is an alias. */
84935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84936 choke me
84937 #else
84938 char (*f) () = $ac_func;
84939 #endif
84940 #ifdef __cplusplus
84942 #endif
84945 main ()
84947 return f != $ac_func;
84949 return 0;
84951 _ACEOF
84952 rm -f conftest.$ac_objext conftest$ac_exeext
84953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84954 (eval $ac_link) 2>conftest.er1
84955 ac_status=$?
84956 grep -v '^ *+' conftest.er1 >conftest.err
84957 rm -f conftest.er1
84958 cat conftest.err >&5
84959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84960 (exit $ac_status); } &&
84961 { ac_try='test -z "$ac_c_werror_flag"
84962 || test ! -s conftest.err'
84963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84964 (eval $ac_try) 2>&5
84965 ac_status=$?
84966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84967 (exit $ac_status); }; } &&
84968 { ac_try='test -s conftest$ac_exeext'
84969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84970 (eval $ac_try) 2>&5
84971 ac_status=$?
84972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973 (exit $ac_status); }; }; then
84974 eval "$as_ac_var=yes"
84975 else
84976 echo "$as_me: failed program was:" >&5
84977 sed 's/^/| /' conftest.$ac_ext >&5
84979 eval "$as_ac_var=no"
84981 rm -f conftest.err conftest.$ac_objext \
84982 conftest$ac_exeext conftest.$ac_ext
84984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84986 if test `eval echo '${'$as_ac_var'}'` = yes; then
84987 cat >>confdefs.h <<_ACEOF
84988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84989 _ACEOF
84990 ac_XPG2funcs=yes
84991 else
84992 ac_XPG2funcs=no
84994 done
84997 LIBS="$ac_save_LIBS"
84999 if test x"$ac_has_iconv_h" = xyes &&
85000 test x"$ac_has_langinfo_h" = xyes &&
85001 test x"$ac_XPG2funcs" = xyes;
85002 then
85004 cat >>confdefs.h <<\_ACEOF
85005 #define _GLIBCXX_USE_ICONV 1
85006 _ACEOF
85008 enable_iconv=yes
85011 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85012 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85013 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85014 echo "${ECHO_T}$enable_iconv" >&6
85016 cat >>confdefs.h <<\_ACEOF
85017 #define HAVE_COPYSIGN 1
85018 _ACEOF
85020 cat >>confdefs.h <<\_ACEOF
85021 #define HAVE_COPYSIGNF 1
85022 _ACEOF
85024 cat >>confdefs.h <<\_ACEOF
85025 #define HAVE_FINITE 1
85026 _ACEOF
85028 cat >>confdefs.h <<\_ACEOF
85029 #define HAVE_FINITEF 1
85030 _ACEOF
85032 cat >>confdefs.h <<\_ACEOF
85033 #define HAVE_FREXPF 1
85034 _ACEOF
85036 cat >>confdefs.h <<\_ACEOF
85037 #define HAVE_HYPOTF 1
85038 _ACEOF
85040 cat >>confdefs.h <<\_ACEOF
85041 #define HAVE_ISINF 1
85042 _ACEOF
85044 cat >>confdefs.h <<\_ACEOF
85045 #define HAVE_ISINFF 1
85046 _ACEOF
85048 cat >>confdefs.h <<\_ACEOF
85049 #define HAVE_ISNAN 1
85050 _ACEOF
85052 cat >>confdefs.h <<\_ACEOF
85053 #define HAVE_ISNANF 1
85054 _ACEOF
85056 cat >>confdefs.h <<\_ACEOF
85057 #define HAVE_SINCOS 1
85058 _ACEOF
85060 cat >>confdefs.h <<\_ACEOF
85061 #define HAVE_SINCOSF 1
85062 _ACEOF
85064 if test x"long_double_math_on_this_cpu" = x"yes"; then
85065 cat >>confdefs.h <<\_ACEOF
85066 #define HAVE_FINITEL 1
85067 _ACEOF
85069 cat >>confdefs.h <<\_ACEOF
85070 #define HAVE_HYPOTL 1
85071 _ACEOF
85073 cat >>confdefs.h <<\_ACEOF
85074 #define HAVE_ISINFL 1
85075 _ACEOF
85077 cat >>confdefs.h <<\_ACEOF
85078 #define HAVE_ISNANL 1
85079 _ACEOF
85083 *-vxworks)
85084 cat >>confdefs.h <<\_ACEOF
85085 #define HAVE_MMAP 1
85086 _ACEOF
85088 cat >>confdefs.h <<\_ACEOF
85089 #define HAVE_ACOSF 1
85090 _ACEOF
85092 cat >>confdefs.h <<\_ACEOF
85093 #define HAVE_ASINF 1
85094 _ACEOF
85096 cat >>confdefs.h <<\_ACEOF
85097 #define HAVE_ATAN2F 1
85098 _ACEOF
85100 cat >>confdefs.h <<\_ACEOF
85101 #define HAVE_ATANF 1
85102 _ACEOF
85104 cat >>confdefs.h <<\_ACEOF
85105 #define HAVE_CEILF 1
85106 _ACEOF
85108 cat >>confdefs.h <<\_ACEOF
85109 #define HAVE_COSF 1
85110 _ACEOF
85112 cat >>confdefs.h <<\_ACEOF
85113 #define HAVE_COSHF 1
85114 _ACEOF
85116 cat >>confdefs.h <<\_ACEOF
85117 #define HAVE_EXPF 1
85118 _ACEOF
85120 cat >>confdefs.h <<\_ACEOF
85121 #define HAVE_FABSF 1
85122 _ACEOF
85124 cat >>confdefs.h <<\_ACEOF
85125 #define HAVE_FLOORF 1
85126 _ACEOF
85128 cat >>confdefs.h <<\_ACEOF
85129 #define HAVE_FMODF 1
85130 _ACEOF
85132 cat >>confdefs.h <<\_ACEOF
85133 #define HAVE_HYPOT 1
85134 _ACEOF
85136 cat >>confdefs.h <<\_ACEOF
85137 #define HAVE_LOG10F 1
85138 _ACEOF
85140 cat >>confdefs.h <<\_ACEOF
85141 #define HAVE_LOGF 1
85142 _ACEOF
85144 cat >>confdefs.h <<\_ACEOF
85145 #define HAVE_POWF 1
85146 _ACEOF
85148 cat >>confdefs.h <<\_ACEOF
85149 #define HAVE_SINF 1
85150 _ACEOF
85152 cat >>confdefs.h <<\_ACEOF
85153 #define HAVE_SINHF 1
85154 _ACEOF
85156 cat >>confdefs.h <<\_ACEOF
85157 #define HAVE_SQRTF 1
85158 _ACEOF
85160 cat >>confdefs.h <<\_ACEOF
85161 #define HAVE_TANF 1
85162 _ACEOF
85164 cat >>confdefs.h <<\_ACEOF
85165 #define HAVE_TANHF 1
85166 _ACEOF
85169 *-windiss*)
85170 cat >>confdefs.h <<\_ACEOF
85171 #define HAVE_ACOSF 1
85172 _ACEOF
85174 cat >>confdefs.h <<\_ACEOF
85175 #define HAVE_ACOSL 1
85176 _ACEOF
85178 cat >>confdefs.h <<\_ACEOF
85179 #define HAVE_ASINF 1
85180 _ACEOF
85182 cat >>confdefs.h <<\_ACEOF
85183 #define HAVE_ASINL 1
85184 _ACEOF
85186 cat >>confdefs.h <<\_ACEOF
85187 #define HAVE_ATAN2F 1
85188 _ACEOF
85190 cat >>confdefs.h <<\_ACEOF
85191 #define HAVE_ATAN2L 1
85192 _ACEOF
85194 cat >>confdefs.h <<\_ACEOF
85195 #define HAVE_ATANF 1
85196 _ACEOF
85198 cat >>confdefs.h <<\_ACEOF
85199 #define HAVE_ATANL 1
85200 _ACEOF
85202 cat >>confdefs.h <<\_ACEOF
85203 #define HAVE_CEILF 1
85204 _ACEOF
85206 cat >>confdefs.h <<\_ACEOF
85207 #define HAVE_CEILL 1
85208 _ACEOF
85210 cat >>confdefs.h <<\_ACEOF
85211 #define HAVE_COPYSIGN 1
85212 _ACEOF
85214 cat >>confdefs.h <<\_ACEOF
85215 #define HAVE_COPYSIGNF 1
85216 _ACEOF
85218 cat >>confdefs.h <<\_ACEOF
85219 #define HAVE_COSF 1
85220 _ACEOF
85222 cat >>confdefs.h <<\_ACEOF
85223 #define HAVE_COSL 1
85224 _ACEOF
85226 cat >>confdefs.h <<\_ACEOF
85227 #define HAVE_COSHF 1
85228 _ACEOF
85230 cat >>confdefs.h <<\_ACEOF
85231 #define HAVE_COSHL 1
85232 _ACEOF
85234 cat >>confdefs.h <<\_ACEOF
85235 #define HAVE_EXPF 1
85236 _ACEOF
85238 cat >>confdefs.h <<\_ACEOF
85239 #define HAVE_EXPL 1
85240 _ACEOF
85242 cat >>confdefs.h <<\_ACEOF
85243 #define HAVE_FABSF 1
85244 _ACEOF
85246 cat >>confdefs.h <<\_ACEOF
85247 #define HAVE_FABSL 1
85248 _ACEOF
85250 cat >>confdefs.h <<\_ACEOF
85251 #define HAVE_FLOORF 1
85252 _ACEOF
85254 cat >>confdefs.h <<\_ACEOF
85255 #define HAVE_FLOORL 1
85256 _ACEOF
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_FMODF 1
85260 _ACEOF
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_FMODL 1
85264 _ACEOF
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_FREXPF 1
85268 _ACEOF
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_FREXPL 1
85272 _ACEOF
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_LDEXPF 1
85276 _ACEOF
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_LDEXPL 1
85280 _ACEOF
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_LOG10F 1
85284 _ACEOF
85286 cat >>confdefs.h <<\_ACEOF
85287 #define HAVE_LOG10L 1
85288 _ACEOF
85290 cat >>confdefs.h <<\_ACEOF
85291 #define HAVE_LOGF 1
85292 _ACEOF
85294 cat >>confdefs.h <<\_ACEOF
85295 #define HAVE_MODFF 1
85296 _ACEOF
85298 cat >>confdefs.h <<\_ACEOF
85299 #define HAVE_MODFL 1
85300 _ACEOF
85302 cat >>confdefs.h <<\_ACEOF
85303 #define HAVE_POWF 1
85304 _ACEOF
85306 cat >>confdefs.h <<\_ACEOF
85307 #define HAVE_POWL 1
85308 _ACEOF
85310 cat >>confdefs.h <<\_ACEOF
85311 #define HAVE_SINF 1
85312 _ACEOF
85314 cat >>confdefs.h <<\_ACEOF
85315 #define HAVE_SINL 1
85316 _ACEOF
85318 cat >>confdefs.h <<\_ACEOF
85319 #define HAVE_SINHF 1
85320 _ACEOF
85322 cat >>confdefs.h <<\_ACEOF
85323 #define HAVE_SINHL 1
85324 _ACEOF
85326 cat >>confdefs.h <<\_ACEOF
85327 #define HAVE_SQRTF 1
85328 _ACEOF
85330 cat >>confdefs.h <<\_ACEOF
85331 #define HAVE_SQRTL 1
85332 _ACEOF
85334 cat >>confdefs.h <<\_ACEOF
85335 #define HAVE_TANF 1
85336 _ACEOF
85338 cat >>confdefs.h <<\_ACEOF
85339 #define HAVE_TANL 1
85340 _ACEOF
85342 cat >>confdefs.h <<\_ACEOF
85343 #define HAVE_TANHF 1
85344 _ACEOF
85346 cat >>confdefs.h <<\_ACEOF
85347 #define HAVE_TANHL 1
85348 _ACEOF
85352 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
85353 echo "$as_me: error: No support for this host/target combination." >&2;}
85354 { (exit 1); exit 1; }; }
85356 esac
85361 # At some point, we should differentiate between architectures
85362 # like x86, which have long double versions, and alpha/powerpc/etc.,
85363 # which don't. For the time being, punt.
85364 if test x"long_double_math_on_this_cpu" = x"yes"; then
85365 cat >>confdefs.h <<\_ACEOF
85366 #define HAVE_ACOSL 1
85367 _ACEOF
85369 cat >>confdefs.h <<\_ACEOF
85370 #define HAVE_ASINL 1
85371 _ACEOF
85373 cat >>confdefs.h <<\_ACEOF
85374 #define HAVE_ATAN2L 1
85375 _ACEOF
85377 cat >>confdefs.h <<\_ACEOF
85378 #define HAVE_ATANL 1
85379 _ACEOF
85381 cat >>confdefs.h <<\_ACEOF
85382 #define HAVE_CEILL 1
85383 _ACEOF
85385 cat >>confdefs.h <<\_ACEOF
85386 #define HAVE_COPYSIGNL 1
85387 _ACEOF
85389 cat >>confdefs.h <<\_ACEOF
85390 #define HAVE_COSL 1
85391 _ACEOF
85393 cat >>confdefs.h <<\_ACEOF
85394 #define HAVE_COSHL 1
85395 _ACEOF
85397 cat >>confdefs.h <<\_ACEOF
85398 #define HAVE_EXPL 1
85399 _ACEOF
85401 cat >>confdefs.h <<\_ACEOF
85402 #define HAVE_FABSL 1
85403 _ACEOF
85405 cat >>confdefs.h <<\_ACEOF
85406 #define HAVE_FLOORL 1
85407 _ACEOF
85409 cat >>confdefs.h <<\_ACEOF
85410 #define HAVE_FMODL 1
85411 _ACEOF
85413 cat >>confdefs.h <<\_ACEOF
85414 #define HAVE_FREXPL 1
85415 _ACEOF
85417 cat >>confdefs.h <<\_ACEOF
85418 #define HAVE_LDEXPL 1
85419 _ACEOF
85421 cat >>confdefs.h <<\_ACEOF
85422 #define HAVE_LOG10L 1
85423 _ACEOF
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE_LOGL 1
85427 _ACEOF
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE_MODFL 1
85431 _ACEOF
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE_POWL 1
85435 _ACEOF
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE_SINCOSL 1
85439 _ACEOF
85441 cat >>confdefs.h <<\_ACEOF
85442 #define HAVE_SINL 1
85443 _ACEOF
85445 cat >>confdefs.h <<\_ACEOF
85446 #define HAVE_SINHL 1
85447 _ACEOF
85449 cat >>confdefs.h <<\_ACEOF
85450 #define HAVE_SQRTL 1
85451 _ACEOF
85453 cat >>confdefs.h <<\_ACEOF
85454 #define HAVE_TANL 1
85455 _ACEOF
85457 cat >>confdefs.h <<\_ACEOF
85458 #define HAVE_TANHL 1
85459 _ACEOF
85465 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
85468 # Check whether --enable-symvers or --disable-symvers was given.
85469 if test "${enable_symvers+set}" = set; then
85470 enableval="$enable_symvers"
85472 case "$enableval" in
85473 yes|no|gnu) ;;
85474 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
85475 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
85476 { (exit 1); exit 1; }; } ;;
85477 esac
85479 else
85480 enable_symvers=yes
85484 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
85485 # don't know enough about $LD to do tricks...
85487 # FIXME The following test is too strict, in theory.
85488 if test $enable_shared = no ||
85489 test "x$LD" = x ||
85490 test x$glibcxx_gnu_ld_version = x; then
85491 enable_symvers=no
85494 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
85495 if test $enable_symvers != no; then
85496 echo "$as_me:$LINENO: checking for shared libgcc" >&5
85497 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
85498 ac_save_CFLAGS="$CFLAGS"
85499 CFLAGS=' -lgcc_s'
85500 if test x$gcc_no_link = xyes; then
85501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85503 { (exit 1); exit 1; }; }
85505 cat >conftest.$ac_ext <<_ACEOF
85506 /* confdefs.h. */
85507 _ACEOF
85508 cat confdefs.h >>conftest.$ac_ext
85509 cat >>conftest.$ac_ext <<_ACEOF
85510 /* end confdefs.h. */
85513 main ()
85515 return 0;
85517 return 0;
85519 _ACEOF
85520 rm -f conftest.$ac_objext conftest$ac_exeext
85521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85522 (eval $ac_link) 2>conftest.er1
85523 ac_status=$?
85524 grep -v '^ *+' conftest.er1 >conftest.err
85525 rm -f conftest.er1
85526 cat conftest.err >&5
85527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85528 (exit $ac_status); } &&
85529 { ac_try='test -z "$ac_c_werror_flag"
85530 || test ! -s conftest.err'
85531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85532 (eval $ac_try) 2>&5
85533 ac_status=$?
85534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85535 (exit $ac_status); }; } &&
85536 { ac_try='test -s conftest$ac_exeext'
85537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85538 (eval $ac_try) 2>&5
85539 ac_status=$?
85540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85541 (exit $ac_status); }; }; then
85542 glibcxx_shared_libgcc=yes
85543 else
85544 echo "$as_me: failed program was:" >&5
85545 sed 's/^/| /' conftest.$ac_ext >&5
85547 glibcxx_shared_libgcc=no
85549 rm -f conftest.err conftest.$ac_objext \
85550 conftest$ac_exeext conftest.$ac_ext
85551 CFLAGS="$ac_save_CFLAGS"
85552 if test $glibcxx_shared_libgcc = no; then
85553 cat > conftest.c <<EOF
85554 int main (void) { return 0; }
85556 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
85557 -shared -shared-libgcc -o conftest.so \
85558 conftest.c -v 2>&1 >/dev/null \
85559 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
85560 rm -f conftest.c conftest.so
85561 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
85562 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
85563 if test x$gcc_no_link = xyes; then
85564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85566 { (exit 1); exit 1; }; }
85568 cat >conftest.$ac_ext <<_ACEOF
85569 /* confdefs.h. */
85570 _ACEOF
85571 cat confdefs.h >>conftest.$ac_ext
85572 cat >>conftest.$ac_ext <<_ACEOF
85573 /* end confdefs.h. */
85576 main ()
85578 return 0;
85580 return 0;
85582 _ACEOF
85583 rm -f conftest.$ac_objext conftest$ac_exeext
85584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85585 (eval $ac_link) 2>conftest.er1
85586 ac_status=$?
85587 grep -v '^ *+' conftest.er1 >conftest.err
85588 rm -f conftest.er1
85589 cat conftest.err >&5
85590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85591 (exit $ac_status); } &&
85592 { ac_try='test -z "$ac_c_werror_flag"
85593 || test ! -s conftest.err'
85594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85595 (eval $ac_try) 2>&5
85596 ac_status=$?
85597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85598 (exit $ac_status); }; } &&
85599 { ac_try='test -s conftest$ac_exeext'
85600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85601 (eval $ac_try) 2>&5
85602 ac_status=$?
85603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85604 (exit $ac_status); }; }; then
85605 glibcxx_shared_libgcc=yes
85606 else
85607 echo "$as_me: failed program was:" >&5
85608 sed 's/^/| /' conftest.$ac_ext >&5
85611 rm -f conftest.err conftest.$ac_objext \
85612 conftest$ac_exeext conftest.$ac_ext
85613 CFLAGS="$ac_save_CFLAGS"
85616 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
85617 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
85620 # For GNU ld, we need at least this version. The format is described in
85621 # GLIBCXX_CHECK_LINKER_FEATURES above.
85622 glibcxx_min_gnu_ld_version=21400
85623 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
85625 # Check to see if unspecified "yes" value can win, given results above.
85626 # Change "yes" into either "no" or a style name.
85627 if test $enable_symvers = yes; then
85628 if test $with_gnu_ld = yes &&
85629 test $glibcxx_shared_libgcc = yes;
85630 then
85631 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
85632 enable_symvers=gnu
85633 else
85634 # The right tools, the right setup, but too old. Fallbacks?
85635 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
85636 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
85637 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
85638 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
85639 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
85640 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
85641 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
85642 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
85643 if test $glibcxx_gnu_ld_version -ge 21200 ; then
85644 # Globbing fix is present, proper block support is not.
85645 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85646 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85647 enable_symvers=no
85648 else
85649 # 2.11 or older.
85650 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85651 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85652 enable_symvers=no
85655 else
85656 # just fail for now
85657 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
85658 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
85659 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
85660 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
85661 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
85662 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
85663 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85664 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85665 enable_symvers=no
85669 # Everything parsed; figure out what file to use.
85670 case $enable_symvers in
85672 SYMVER_MAP=config/linker-map.dummy
85674 gnu)
85675 SYMVER_MAP=config/linker-map.gnu
85676 cat >>confdefs.h <<\_ACEOF
85677 #define _GLIBCXX_SYMVER 1
85678 _ACEOF
85681 esac
85686 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
85687 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
85690 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
85692 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
85693 # Do checks for resource limit functions.
85695 setrlimit_have_headers=yes
85699 for ac_header in unistd.h sys/time.h sys/resource.h
85701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85703 echo "$as_me:$LINENO: checking for $ac_header" >&5
85704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85706 echo $ECHO_N "(cached) $ECHO_C" >&6
85708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85710 else
85711 # Is the header compilable?
85712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85714 cat >conftest.$ac_ext <<_ACEOF
85715 /* confdefs.h. */
85716 _ACEOF
85717 cat confdefs.h >>conftest.$ac_ext
85718 cat >>conftest.$ac_ext <<_ACEOF
85719 /* end confdefs.h. */
85720 $ac_includes_default
85721 #include <$ac_header>
85722 _ACEOF
85723 rm -f conftest.$ac_objext
85724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85725 (eval $ac_compile) 2>conftest.er1
85726 ac_status=$?
85727 grep -v '^ *+' conftest.er1 >conftest.err
85728 rm -f conftest.er1
85729 cat conftest.err >&5
85730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731 (exit $ac_status); } &&
85732 { ac_try='test -z "$ac_c_werror_flag"
85733 || test ! -s conftest.err'
85734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85735 (eval $ac_try) 2>&5
85736 ac_status=$?
85737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85738 (exit $ac_status); }; } &&
85739 { ac_try='test -s conftest.$ac_objext'
85740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85741 (eval $ac_try) 2>&5
85742 ac_status=$?
85743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85744 (exit $ac_status); }; }; then
85745 ac_header_compiler=yes
85746 else
85747 echo "$as_me: failed program was:" >&5
85748 sed 's/^/| /' conftest.$ac_ext >&5
85750 ac_header_compiler=no
85752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85754 echo "${ECHO_T}$ac_header_compiler" >&6
85756 # Is the header present?
85757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85759 cat >conftest.$ac_ext <<_ACEOF
85760 /* confdefs.h. */
85761 _ACEOF
85762 cat confdefs.h >>conftest.$ac_ext
85763 cat >>conftest.$ac_ext <<_ACEOF
85764 /* end confdefs.h. */
85765 #include <$ac_header>
85766 _ACEOF
85767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85769 ac_status=$?
85770 grep -v '^ *+' conftest.er1 >conftest.err
85771 rm -f conftest.er1
85772 cat conftest.err >&5
85773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85774 (exit $ac_status); } >/dev/null; then
85775 if test -s conftest.err; then
85776 ac_cpp_err=$ac_c_preproc_warn_flag
85777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85778 else
85779 ac_cpp_err=
85781 else
85782 ac_cpp_err=yes
85784 if test -z "$ac_cpp_err"; then
85785 ac_header_preproc=yes
85786 else
85787 echo "$as_me: failed program was:" >&5
85788 sed 's/^/| /' conftest.$ac_ext >&5
85790 ac_header_preproc=no
85792 rm -f conftest.err conftest.$ac_ext
85793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85794 echo "${ECHO_T}$ac_header_preproc" >&6
85796 # So? What about this header?
85797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85798 yes:no: )
85799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85803 ac_header_preproc=yes
85805 no:yes:* )
85806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85819 cat <<\_ASBOX
85820 ## ----------------------------------------- ##
85821 ## Report this to the package-unused lists. ##
85822 ## ----------------------------------------- ##
85823 _ASBOX
85825 sed "s/^/$as_me: WARNING: /" >&2
85827 esac
85828 echo "$as_me:$LINENO: checking for $ac_header" >&5
85829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85831 echo $ECHO_N "(cached) $ECHO_C" >&6
85832 else
85833 eval "$as_ac_Header=\$ac_header_preproc"
85835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85840 cat >>confdefs.h <<_ACEOF
85841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85842 _ACEOF
85844 else
85845 setrlimit_have_headers=no
85848 done
85850 # If don't have the headers, then we can't run the tests now, and we
85851 # won't be seeing any of these during testsuite compilation.
85852 if test $setrlimit_have_headers = yes; then
85853 # Can't do these in a loop, else the resulting syntax is wrong.
85855 cat >conftest.$ac_ext <<_ACEOF
85856 /* confdefs.h. */
85857 _ACEOF
85858 cat confdefs.h >>conftest.$ac_ext
85859 cat >>conftest.$ac_ext <<_ACEOF
85860 /* end confdefs.h. */
85861 #include <unistd.h>
85862 #include <sys/time.h>
85863 #include <sys/resource.h>
85866 main ()
85868 int f = RLIMIT_DATA ;
85870 return 0;
85872 _ACEOF
85873 rm -f conftest.$ac_objext
85874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85875 (eval $ac_compile) 2>conftest.er1
85876 ac_status=$?
85877 grep -v '^ *+' conftest.er1 >conftest.err
85878 rm -f conftest.er1
85879 cat conftest.err >&5
85880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85881 (exit $ac_status); } &&
85882 { ac_try='test -z "$ac_c_werror_flag"
85883 || test ! -s conftest.err'
85884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85885 (eval $ac_try) 2>&5
85886 ac_status=$?
85887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85888 (exit $ac_status); }; } &&
85889 { ac_try='test -s conftest.$ac_objext'
85890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85891 (eval $ac_try) 2>&5
85892 ac_status=$?
85893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85894 (exit $ac_status); }; }; then
85895 glibcxx_mresult=1
85896 else
85897 echo "$as_me: failed program was:" >&5
85898 sed 's/^/| /' conftest.$ac_ext >&5
85900 glibcxx_mresult=0
85902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85904 cat >>confdefs.h <<_ACEOF
85905 #define HAVE_LIMIT_DATA $glibcxx_mresult
85906 _ACEOF
85910 cat >conftest.$ac_ext <<_ACEOF
85911 /* confdefs.h. */
85912 _ACEOF
85913 cat confdefs.h >>conftest.$ac_ext
85914 cat >>conftest.$ac_ext <<_ACEOF
85915 /* end confdefs.h. */
85916 #include <unistd.h>
85917 #include <sys/time.h>
85918 #include <sys/resource.h>
85921 main ()
85923 int f = RLIMIT_RSS ;
85925 return 0;
85927 _ACEOF
85928 rm -f conftest.$ac_objext
85929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85930 (eval $ac_compile) 2>conftest.er1
85931 ac_status=$?
85932 grep -v '^ *+' conftest.er1 >conftest.err
85933 rm -f conftest.er1
85934 cat conftest.err >&5
85935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936 (exit $ac_status); } &&
85937 { ac_try='test -z "$ac_c_werror_flag"
85938 || test ! -s conftest.err'
85939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85940 (eval $ac_try) 2>&5
85941 ac_status=$?
85942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85943 (exit $ac_status); }; } &&
85944 { ac_try='test -s conftest.$ac_objext'
85945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85946 (eval $ac_try) 2>&5
85947 ac_status=$?
85948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85949 (exit $ac_status); }; }; then
85950 glibcxx_mresult=1
85951 else
85952 echo "$as_me: failed program was:" >&5
85953 sed 's/^/| /' conftest.$ac_ext >&5
85955 glibcxx_mresult=0
85957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85959 cat >>confdefs.h <<_ACEOF
85960 #define HAVE_LIMIT_RSS $glibcxx_mresult
85961 _ACEOF
85965 cat >conftest.$ac_ext <<_ACEOF
85966 /* confdefs.h. */
85967 _ACEOF
85968 cat confdefs.h >>conftest.$ac_ext
85969 cat >>conftest.$ac_ext <<_ACEOF
85970 /* end confdefs.h. */
85971 #include <unistd.h>
85972 #include <sys/time.h>
85973 #include <sys/resource.h>
85976 main ()
85978 int f = RLIMIT_VMEM ;
85980 return 0;
85982 _ACEOF
85983 rm -f conftest.$ac_objext
85984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85985 (eval $ac_compile) 2>conftest.er1
85986 ac_status=$?
85987 grep -v '^ *+' conftest.er1 >conftest.err
85988 rm -f conftest.er1
85989 cat conftest.err >&5
85990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991 (exit $ac_status); } &&
85992 { ac_try='test -z "$ac_c_werror_flag"
85993 || test ! -s conftest.err'
85994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85995 (eval $ac_try) 2>&5
85996 ac_status=$?
85997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85998 (exit $ac_status); }; } &&
85999 { ac_try='test -s conftest.$ac_objext'
86000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86001 (eval $ac_try) 2>&5
86002 ac_status=$?
86003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86004 (exit $ac_status); }; }; then
86005 glibcxx_mresult=1
86006 else
86007 echo "$as_me: failed program was:" >&5
86008 sed 's/^/| /' conftest.$ac_ext >&5
86010 glibcxx_mresult=0
86012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86014 cat >>confdefs.h <<_ACEOF
86015 #define HAVE_LIMIT_VMEM $glibcxx_mresult
86016 _ACEOF
86020 cat >conftest.$ac_ext <<_ACEOF
86021 /* confdefs.h. */
86022 _ACEOF
86023 cat confdefs.h >>conftest.$ac_ext
86024 cat >>conftest.$ac_ext <<_ACEOF
86025 /* end confdefs.h. */
86026 #include <unistd.h>
86027 #include <sys/time.h>
86028 #include <sys/resource.h>
86031 main ()
86033 int f = RLIMIT_AS ;
86035 return 0;
86037 _ACEOF
86038 rm -f conftest.$ac_objext
86039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86040 (eval $ac_compile) 2>conftest.er1
86041 ac_status=$?
86042 grep -v '^ *+' conftest.er1 >conftest.err
86043 rm -f conftest.er1
86044 cat conftest.err >&5
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); } &&
86047 { ac_try='test -z "$ac_c_werror_flag"
86048 || test ! -s conftest.err'
86049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86050 (eval $ac_try) 2>&5
86051 ac_status=$?
86052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86053 (exit $ac_status); }; } &&
86054 { ac_try='test -s conftest.$ac_objext'
86055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86056 (eval $ac_try) 2>&5
86057 ac_status=$?
86058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86059 (exit $ac_status); }; }; then
86060 glibcxx_mresult=1
86061 else
86062 echo "$as_me: failed program was:" >&5
86063 sed 's/^/| /' conftest.$ac_ext >&5
86065 glibcxx_mresult=0
86067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86069 cat >>confdefs.h <<_ACEOF
86070 #define HAVE_LIMIT_AS $glibcxx_mresult
86071 _ACEOF
86075 cat >conftest.$ac_ext <<_ACEOF
86076 /* confdefs.h. */
86077 _ACEOF
86078 cat confdefs.h >>conftest.$ac_ext
86079 cat >>conftest.$ac_ext <<_ACEOF
86080 /* end confdefs.h. */
86081 #include <unistd.h>
86082 #include <sys/time.h>
86083 #include <sys/resource.h>
86086 main ()
86088 int f = RLIMIT_FSIZE ;
86090 return 0;
86092 _ACEOF
86093 rm -f conftest.$ac_objext
86094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86095 (eval $ac_compile) 2>conftest.er1
86096 ac_status=$?
86097 grep -v '^ *+' conftest.er1 >conftest.err
86098 rm -f conftest.er1
86099 cat conftest.err >&5
86100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86101 (exit $ac_status); } &&
86102 { ac_try='test -z "$ac_c_werror_flag"
86103 || test ! -s conftest.err'
86104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86105 (eval $ac_try) 2>&5
86106 ac_status=$?
86107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86108 (exit $ac_status); }; } &&
86109 { ac_try='test -s conftest.$ac_objext'
86110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86111 (eval $ac_try) 2>&5
86112 ac_status=$?
86113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86114 (exit $ac_status); }; }; then
86115 glibcxx_mresult=1
86116 else
86117 echo "$as_me: failed program was:" >&5
86118 sed 's/^/| /' conftest.$ac_ext >&5
86120 glibcxx_mresult=0
86122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86124 cat >>confdefs.h <<_ACEOF
86125 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
86126 _ACEOF
86130 # Check for rlimit, setrlimit.
86131 if test "${ac_setrlimit+set}" = set; then
86132 echo $ECHO_N "(cached) $ECHO_C" >&6
86133 else
86135 cat >conftest.$ac_ext <<_ACEOF
86136 /* confdefs.h. */
86137 _ACEOF
86138 cat confdefs.h >>conftest.$ac_ext
86139 cat >>conftest.$ac_ext <<_ACEOF
86140 /* end confdefs.h. */
86141 #include <unistd.h>
86142 #include <sys/time.h>
86143 #include <sys/resource.h>
86146 main ()
86148 struct rlimit r;
86149 setrlimit(0, &r);
86151 return 0;
86153 _ACEOF
86154 rm -f conftest.$ac_objext
86155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86156 (eval $ac_compile) 2>conftest.er1
86157 ac_status=$?
86158 grep -v '^ *+' conftest.er1 >conftest.err
86159 rm -f conftest.er1
86160 cat conftest.err >&5
86161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86162 (exit $ac_status); } &&
86163 { ac_try='test -z "$ac_c_werror_flag"
86164 || test ! -s conftest.err'
86165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86166 (eval $ac_try) 2>&5
86167 ac_status=$?
86168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86169 (exit $ac_status); }; } &&
86170 { ac_try='test -s conftest.$ac_objext'
86171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86172 (eval $ac_try) 2>&5
86173 ac_status=$?
86174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86175 (exit $ac_status); }; }; then
86176 ac_setrlimit=yes
86177 else
86178 echo "$as_me: failed program was:" >&5
86179 sed 's/^/| /' conftest.$ac_ext >&5
86181 ac_setrlimit=no
86183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86189 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
86190 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
86191 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
86192 ac_res_limits=yes
86193 cat >>confdefs.h <<\_ACEOF
86194 #define _GLIBCXX_RES_LIMITS 1
86195 _ACEOF
86197 else
86198 ac_res_limits=no
86200 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
86201 echo "${ECHO_T}$ac_res_limits" >&6
86204 # Look for setenv, so that extended locale tests can be performed.
86206 echo "$as_me:$LINENO: checking for setenv declaration" >&5
86207 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
86208 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
86209 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
86210 echo $ECHO_N "(cached) $ECHO_C" >&6
86211 else
86215 ac_ext=cc
86216 ac_cpp='$CXXCPP $CPPFLAGS'
86217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86221 cat >conftest.$ac_ext <<_ACEOF
86222 /* confdefs.h. */
86223 _ACEOF
86224 cat confdefs.h >>conftest.$ac_ext
86225 cat >>conftest.$ac_ext <<_ACEOF
86226 /* end confdefs.h. */
86227 #include <stdlib.h>
86229 main ()
86231 setenv(0, 0, 0);
86233 return 0;
86235 _ACEOF
86236 rm -f conftest.$ac_objext
86237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86238 (eval $ac_compile) 2>conftest.er1
86239 ac_status=$?
86240 grep -v '^ *+' conftest.er1 >conftest.err
86241 rm -f conftest.er1
86242 cat conftest.err >&5
86243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86244 (exit $ac_status); } &&
86245 { ac_try='test -z "$ac_cxx_werror_flag"
86246 || test ! -s conftest.err'
86247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86248 (eval $ac_try) 2>&5
86249 ac_status=$?
86250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86251 (exit $ac_status); }; } &&
86252 { ac_try='test -s conftest.$ac_objext'
86253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86254 (eval $ac_try) 2>&5
86255 ac_status=$?
86256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86257 (exit $ac_status); }; }; then
86258 glibcxx_cv_func_setenv_use=yes
86259 else
86260 echo "$as_me: failed program was:" >&5
86261 sed 's/^/| /' conftest.$ac_ext >&5
86263 glibcxx_cv_func_setenv_use=no
86265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86266 ac_ext=c
86267 ac_cpp='$CPP $CPPFLAGS'
86268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
86277 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
86278 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
86280 for ac_func in setenv
86282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86283 echo "$as_me:$LINENO: checking for $ac_func" >&5
86284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86285 if eval "test \"\${$as_ac_var+set}\" = set"; then
86286 echo $ECHO_N "(cached) $ECHO_C" >&6
86287 else
86288 if test x$gcc_no_link = xyes; then
86289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86291 { (exit 1); exit 1; }; }
86293 cat >conftest.$ac_ext <<_ACEOF
86294 /* confdefs.h. */
86295 _ACEOF
86296 cat confdefs.h >>conftest.$ac_ext
86297 cat >>conftest.$ac_ext <<_ACEOF
86298 /* end confdefs.h. */
86299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86301 #define $ac_func innocuous_$ac_func
86303 /* System header to define __stub macros and hopefully few prototypes,
86304 which can conflict with char $ac_func (); below.
86305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86306 <limits.h> exists even on freestanding compilers. */
86308 #ifdef __STDC__
86309 # include <limits.h>
86310 #else
86311 # include <assert.h>
86312 #endif
86314 #undef $ac_func
86316 /* Override any gcc2 internal prototype to avoid an error. */
86317 #ifdef __cplusplus
86318 extern "C"
86320 #endif
86321 /* We use char because int might match the return type of a gcc2
86322 builtin and then its argument prototype would still apply. */
86323 char $ac_func ();
86324 /* The GNU C library defines this for functions which it implements
86325 to always fail with ENOSYS. Some functions are actually named
86326 something starting with __ and the normal name is an alias. */
86327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86328 choke me
86329 #else
86330 char (*f) () = $ac_func;
86331 #endif
86332 #ifdef __cplusplus
86334 #endif
86337 main ()
86339 return f != $ac_func;
86341 return 0;
86343 _ACEOF
86344 rm -f conftest.$ac_objext conftest$ac_exeext
86345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86346 (eval $ac_link) 2>conftest.er1
86347 ac_status=$?
86348 grep -v '^ *+' conftest.er1 >conftest.err
86349 rm -f conftest.er1
86350 cat conftest.err >&5
86351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86352 (exit $ac_status); } &&
86353 { ac_try='test -z "$ac_c_werror_flag"
86354 || test ! -s conftest.err'
86355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86356 (eval $ac_try) 2>&5
86357 ac_status=$?
86358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86359 (exit $ac_status); }; } &&
86360 { ac_try='test -s conftest$ac_exeext'
86361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86362 (eval $ac_try) 2>&5
86363 ac_status=$?
86364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86365 (exit $ac_status); }; }; then
86366 eval "$as_ac_var=yes"
86367 else
86368 echo "$as_me: failed program was:" >&5
86369 sed 's/^/| /' conftest.$ac_ext >&5
86371 eval "$as_ac_var=no"
86373 rm -f conftest.err conftest.$ac_objext \
86374 conftest$ac_exeext conftest.$ac_ext
86376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86378 if test `eval echo '${'$as_ac_var'}'` = yes; then
86379 cat >>confdefs.h <<_ACEOF
86380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86381 _ACEOF
86384 done
86389 if test $enable_symvers = no; then
86390 enable_abi_check=no
86391 else
86392 case "$host" in
86393 *-*-cygwin*)
86394 enable_abi_check=no ;;
86396 enable_abi_check=yes ;;
86397 esac
86399 else
86400 # Only build this as native, since automake does not understand
86401 # CXX_FOR_BUILD.
86402 enable_abi_check=no
86405 # Export file names for ABI checking.
86406 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
86414 # Propagate the target-specific source directories through the build chain.
86415 ATOMICITY_SRCDIR=config/${atomicity_dir}
86416 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
86417 OS_INC_SRCDIR=config/${os_include_dir}
86418 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
86424 # Determine cross-compile flags and AM_CONDITIONALs.
86425 #AC_SUBST(GLIBCXX_IS_NATIVE)
86426 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
86427 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
86428 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
86431 if test $is_hosted = yes; then
86432 GLIBCXX_HOSTED_TRUE=
86433 GLIBCXX_HOSTED_FALSE='#'
86434 else
86435 GLIBCXX_HOSTED_TRUE='#'
86436 GLIBCXX_HOSTED_FALSE=
86442 if test $enable_libstdcxx_pch = yes; then
86443 GLIBCXX_BUILD_PCH_TRUE=
86444 GLIBCXX_BUILD_PCH_FALSE='#'
86445 else
86446 GLIBCXX_BUILD_PCH_TRUE='#'
86447 GLIBCXX_BUILD_PCH_FALSE=
86453 if test $enable_cheaders = c; then
86454 GLIBCXX_C_HEADERS_C_TRUE=
86455 GLIBCXX_C_HEADERS_C_FALSE='#'
86456 else
86457 GLIBCXX_C_HEADERS_C_TRUE='#'
86458 GLIBCXX_C_HEADERS_C_FALSE=
86464 if test $enable_cheaders = c_std; then
86465 GLIBCXX_C_HEADERS_C_STD_TRUE=
86466 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
86467 else
86468 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
86469 GLIBCXX_C_HEADERS_C_STD_FALSE=
86475 if test $c_compatibility = yes; then
86476 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
86477 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
86478 else
86479 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
86480 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
86486 if test $enable_libstdcxx_debug = yes; then
86487 GLIBCXX_BUILD_DEBUG_TRUE=
86488 GLIBCXX_BUILD_DEBUG_FALSE='#'
86489 else
86490 GLIBCXX_BUILD_DEBUG_TRUE='#'
86491 GLIBCXX_BUILD_DEBUG_FALSE=
86497 if test $enable_symvers != no; then
86498 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
86499 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
86500 else
86501 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
86502 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
86508 if test $enable_wchar_t = yes; then
86509 GLIBCXX_TEST_WCHAR_T_TRUE=
86510 GLIBCXX_TEST_WCHAR_T_FALSE='#'
86511 else
86512 GLIBCXX_TEST_WCHAR_T_TRUE='#'
86513 GLIBCXX_TEST_WCHAR_T_FALSE=
86519 if test $enable_thread = yes; then
86520 GLIBCXX_TEST_THREAD_TRUE=
86521 GLIBCXX_TEST_THREAD_FALSE='#'
86522 else
86523 GLIBCXX_TEST_THREAD_TRUE='#'
86524 GLIBCXX_TEST_THREAD_FALSE=
86530 if test $enable_abi_check = yes; then
86531 GLIBCXX_TEST_ABI_TRUE=
86532 GLIBCXX_TEST_ABI_FALSE='#'
86533 else
86534 GLIBCXX_TEST_ABI_TRUE='#'
86535 GLIBCXX_TEST_ABI_FALSE=
86541 cat >confcache <<\_ACEOF
86542 # This file is a shell script that caches the results of configure
86543 # tests run on this system so they can be shared between configure
86544 # scripts and configure runs, see configure's option --config-cache.
86545 # It is not useful on other systems. If it contains results you don't
86546 # want to keep, you may remove or edit it.
86548 # config.status only pays attention to the cache file if you give it
86549 # the --recheck option to rerun configure.
86551 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86552 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86553 # following values.
86555 _ACEOF
86557 # The following way of writing the cache mishandles newlines in values,
86558 # but we know of no workaround that is simple, portable, and efficient.
86559 # So, don't put newlines in cache variables' values.
86560 # Ultrix sh set writes to stderr and can't be redirected directly,
86561 # and sets the high bit in the cache file unless we assign to the vars.
86563 (set) 2>&1 |
86564 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86565 *ac_space=\ *)
86566 # `set' does not quote correctly, so add quotes (double-quote
86567 # substitution turns \\\\ into \\, and sed turns \\ into \).
86568 sed -n \
86569 "s/'/'\\\\''/g;
86570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86573 # `set' quotes correctly as required by POSIX, so do not add quotes.
86574 sed -n \
86575 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86577 esac;
86579 sed '
86580 t clear
86581 : clear
86582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86583 t end
86584 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86585 : end' >>confcache
86586 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86587 if test -w $cache_file; then
86588 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86589 cat confcache >$cache_file
86590 else
86591 echo "not updating unwritable cache $cache_file"
86594 rm -f confcache
86596 if test ${multilib} = yes; then
86597 multilib_arg="--enable-multilib"
86598 else
86599 multilib_arg=
86602 # Export all the install information.
86604 glibcxx_toolexecdir=no
86605 glibcxx_toolexeclibdir=no
86606 glibcxx_prefixdir=$prefix
86608 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
86609 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
86611 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
86612 if test "${with_gxx_include_dir+set}" = set; then
86613 withval="$with_gxx_include_dir"
86614 case "$withval" in
86615 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
86616 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
86617 { (exit 1); exit 1; }; } ;;
86618 no) gxx_include_dir=no ;;
86619 *) gxx_include_dir=$withval ;;
86620 esac
86621 else
86622 gxx_include_dir=no
86624 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86625 echo "${ECHO_T}$gxx_include_dir" >&6
86627 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
86628 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
86629 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
86630 if test "${enable_version_specific_runtime_libs+set}" = set; then
86631 enableval="$enable_version_specific_runtime_libs"
86632 case "$enableval" in
86633 yes) version_specific_libs=yes ;;
86634 no) version_specific_libs=no ;;
86635 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
86636 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
86637 { (exit 1); exit 1; }; };;
86638 esac
86639 else
86640 version_specific_libs=no
86642 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
86643 echo "${ECHO_T}$version_specific_libs" >&6
86645 # Default case for install directory for include files.
86646 if test $version_specific_libs = no && test $gxx_include_dir = no; then
86647 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
86650 # Version-specific runtime libs processing.
86651 if test $version_specific_libs = yes; then
86652 # Need the gcc compiler version to know where to install libraries
86653 # and header files if --enable-version-specific-runtime-libs option
86654 # is selected. FIXME: these variables are misnamed, there are
86655 # no executables installed in _toolexecdir or _toolexeclibdir.
86656 if test x"$gxx_include_dir" = x"no"; then
86657 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
86659 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86660 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
86663 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
86664 # Install a library built with a cross compiler in tooldir, not libdir.
86665 if test x"$glibcxx_toolexecdir" = x"no"; then
86666 if test -n "$with_cross_host" &&
86667 test x"$with_cross_host" != x"no"; then
86668 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
86669 glibcxx_toolexeclibdir='${toolexecdir}/lib'
86670 else
86671 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86672 glibcxx_toolexeclibdir='${libdir}'
86674 multi_os_directory=`$CXX -print-multi-os-directory`
86675 case $multi_os_directory in
86676 .) ;; # Avoid trailing /.
86677 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
86678 esac
86681 echo "$as_me:$LINENO: checking for install location" >&5
86682 echo $ECHO_N "checking for install location... $ECHO_C" >&6
86683 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86684 echo "${ECHO_T}$gxx_include_dir" >&6
86692 # Export all the include and flag information to Makefiles.
86694 # Used for every C++ compile we perform.
86695 GLIBCXX_INCLUDES="\
86696 -I$glibcxx_builddir/include/$host_alias \
86697 -I$glibcxx_builddir/include \
86698 -I$glibcxx_srcdir/libsupc++"
86700 # For Canadian crosses, pick this up too.
86701 if test $CANADIAN = yes; then
86702 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
86705 # Stuff in the actual top level. Currently only used by libsupc++ to
86706 # get unwind* headers from the gcc dir.
86707 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
86708 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
86710 # Now, export this to all the little Makefiles....
86715 # Optimization flags that are probably a good idea for thrill-seekers. Just
86716 # uncomment the lines below and make, everything else is ready to go...
86717 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
86718 OPTIMIZE_CXXFLAGS=
86721 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
86725 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
86726 grep "enable shared" > /dev/null;
86727 then
86728 LIBSUPCXX_PICFLAGS=-prefer-pic
86729 else
86730 LIBSUPCXX_PICFLAGS=
86734 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
86736 ac_config_files="$ac_config_files scripts/check_survey"
86738 ac_config_files="$ac_config_files scripts/testsuite_flags"
86741 ac_config_commands="$ac_config_commands default"
86744 cat >confcache <<\_ACEOF
86745 # This file is a shell script that caches the results of configure
86746 # tests run on this system so they can be shared between configure
86747 # scripts and configure runs, see configure's option --config-cache.
86748 # It is not useful on other systems. If it contains results you don't
86749 # want to keep, you may remove or edit it.
86751 # config.status only pays attention to the cache file if you give it
86752 # the --recheck option to rerun configure.
86754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86756 # following values.
86758 _ACEOF
86760 # The following way of writing the cache mishandles newlines in values,
86761 # but we know of no workaround that is simple, portable, and efficient.
86762 # So, don't put newlines in cache variables' values.
86763 # Ultrix sh set writes to stderr and can't be redirected directly,
86764 # and sets the high bit in the cache file unless we assign to the vars.
86766 (set) 2>&1 |
86767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86768 *ac_space=\ *)
86769 # `set' does not quote correctly, so add quotes (double-quote
86770 # substitution turns \\\\ into \\, and sed turns \\ into \).
86771 sed -n \
86772 "s/'/'\\\\''/g;
86773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86776 # `set' quotes correctly as required by POSIX, so do not add quotes.
86777 sed -n \
86778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86780 esac;
86782 sed '
86783 t clear
86784 : clear
86785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86786 t end
86787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86788 : end' >>confcache
86789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86790 if test -w $cache_file; then
86791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86792 cat confcache >$cache_file
86793 else
86794 echo "not updating unwritable cache $cache_file"
86797 rm -f confcache
86799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
86800 # Let make expand exec_prefix.
86801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
86803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
86804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
86805 # trailing colons and then remove the whole line if VPATH becomes empty
86806 # (actually we leave an empty line to preserve line numbers).
86807 if test "x$srcdir" = x.; then
86808 ac_vpsub='/^[ ]*VPATH[ ]*=/{
86809 s/:*\$(srcdir):*/:/;
86810 s/:*\${srcdir}:*/:/;
86811 s/:*@srcdir@:*/:/;
86812 s/^\([^=]*=[ ]*\):*/\1/;
86813 s/:*$//;
86814 s/^[^=]*=[ ]*$//;
86818 DEFS=-DHAVE_CONFIG_H
86820 ac_libobjs=
86821 ac_ltlibobjs=
86822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
86823 # 1. Remove the extension, and $U if already installed.
86824 ac_i=`echo "$ac_i" |
86825 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
86826 # 2. Add them.
86827 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
86828 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
86829 done
86830 LIBOBJS=$ac_libobjs
86832 LTLIBOBJS=$ac_ltlibobjs
86835 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
86836 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
86837 Usually this means the macro was only invoked conditionally." >&5
86838 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
86839 Usually this means the macro was only invoked conditionally." >&2;}
86840 { (exit 1); exit 1; }; }
86842 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
86843 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86844 Usually this means the macro was only invoked conditionally." >&5
86845 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86846 Usually this means the macro was only invoked conditionally." >&2;}
86847 { (exit 1); exit 1; }; }
86849 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
86850 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86851 Usually this means the macro was only invoked conditionally." >&5
86852 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86853 Usually this means the macro was only invoked conditionally." >&2;}
86854 { (exit 1); exit 1; }; }
86856 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
86857 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86858 Usually this means the macro was only invoked conditionally." >&5
86859 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86860 Usually this means the macro was only invoked conditionally." >&2;}
86861 { (exit 1); exit 1; }; }
86863 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
86864 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86865 Usually this means the macro was only invoked conditionally." >&5
86866 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86867 Usually this means the macro was only invoked conditionally." >&2;}
86868 { (exit 1); exit 1; }; }
86870 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
86871 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86872 Usually this means the macro was only invoked conditionally." >&5
86873 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86874 Usually this means the macro was only invoked conditionally." >&2;}
86875 { (exit 1); exit 1; }; }
86877 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
86878 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86879 Usually this means the macro was only invoked conditionally." >&5
86880 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86881 Usually this means the macro was only invoked conditionally." >&2;}
86882 { (exit 1); exit 1; }; }
86884 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
86885 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86886 Usually this means the macro was only invoked conditionally." >&5
86887 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86888 Usually this means the macro was only invoked conditionally." >&2;}
86889 { (exit 1); exit 1; }; }
86891 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
86892 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86893 Usually this means the macro was only invoked conditionally." >&5
86894 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86895 Usually this means the macro was only invoked conditionally." >&2;}
86896 { (exit 1); exit 1; }; }
86898 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
86899 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86900 Usually this means the macro was only invoked conditionally." >&5
86901 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86902 Usually this means the macro was only invoked conditionally." >&2;}
86903 { (exit 1); exit 1; }; }
86905 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
86906 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86907 Usually this means the macro was only invoked conditionally." >&5
86908 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86909 Usually this means the macro was only invoked conditionally." >&2;}
86910 { (exit 1); exit 1; }; }
86913 : ${CONFIG_STATUS=./config.status}
86914 ac_clean_files_save=$ac_clean_files
86915 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
86916 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
86917 echo "$as_me: creating $CONFIG_STATUS" >&6;}
86918 cat >$CONFIG_STATUS <<_ACEOF
86919 #! $SHELL
86920 # Generated by $as_me.
86921 # Run this file to recreate the current configuration.
86922 # Compiler output produced by configure, useful for debugging
86923 # configure, is in config.log if it exists.
86925 debug=false
86926 ac_cs_recheck=false
86927 ac_cs_silent=false
86928 SHELL=\${CONFIG_SHELL-$SHELL}
86929 _ACEOF
86931 cat >>$CONFIG_STATUS <<\_ACEOF
86932 ## --------------------- ##
86933 ## M4sh Initialization. ##
86934 ## --------------------- ##
86936 # Be Bourne compatible
86937 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
86938 emulate sh
86939 NULLCMD=:
86940 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
86941 # is contrary to our usage. Disable this feature.
86942 alias -g '${1+"$@"}'='"$@"'
86943 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
86944 set -o posix
86946 DUALCASE=1; export DUALCASE # for MKS sh
86948 # Support unset when possible.
86949 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86950 as_unset=unset
86951 else
86952 as_unset=false
86956 # Work around bugs in pre-3.0 UWIN ksh.
86957 $as_unset ENV MAIL MAILPATH
86958 PS1='$ '
86959 PS2='> '
86960 PS4='+ '
86962 # NLS nuisances.
86963 for as_var in \
86964 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
86965 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
86966 LC_TELEPHONE LC_TIME
86968 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
86969 eval $as_var=C; export $as_var
86970 else
86971 $as_unset $as_var
86973 done
86975 # Required to use basename.
86976 if expr a : '\(a\)' >/dev/null 2>&1; then
86977 as_expr=expr
86978 else
86979 as_expr=false
86982 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
86983 as_basename=basename
86984 else
86985 as_basename=false
86989 # Name of the executable.
86990 as_me=`$as_basename "$0" ||
86991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
86992 X"$0" : 'X\(//\)$' \| \
86993 X"$0" : 'X\(/\)$' \| \
86994 . : '\(.\)' 2>/dev/null ||
86995 echo X/"$0" |
86996 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
86997 /^X\/\(\/\/\)$/{ s//\1/; q; }
86998 /^X\/\(\/\).*/{ s//\1/; q; }
86999 s/.*/./; q'`
87002 # PATH needs CR, and LINENO needs CR and PATH.
87003 # Avoid depending upon Character Ranges.
87004 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
87005 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
87006 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
87007 as_cr_digits='0123456789'
87008 as_cr_alnum=$as_cr_Letters$as_cr_digits
87010 # The user is always right.
87011 if test "${PATH_SEPARATOR+set}" != set; then
87012 echo "#! /bin/sh" >conf$$.sh
87013 echo "exit 0" >>conf$$.sh
87014 chmod +x conf$$.sh
87015 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
87016 PATH_SEPARATOR=';'
87017 else
87018 PATH_SEPARATOR=:
87020 rm -f conf$$.sh
87024 as_lineno_1=$LINENO
87025 as_lineno_2=$LINENO
87026 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87027 test "x$as_lineno_1" != "x$as_lineno_2" &&
87028 test "x$as_lineno_3" = "x$as_lineno_2" || {
87029 # Find who we are. Look in the path if we contain no path at all
87030 # relative or not.
87031 case $0 in
87032 *[\\/]* ) as_myself=$0 ;;
87033 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87034 for as_dir in $PATH
87036 IFS=$as_save_IFS
87037 test -z "$as_dir" && as_dir=.
87038 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87039 done
87042 esac
87043 # We did not find ourselves, most probably we were run as `sh COMMAND'
87044 # in which case we are not to be found in the path.
87045 if test "x$as_myself" = x; then
87046 as_myself=$0
87048 if test ! -f "$as_myself"; then
87049 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
87050 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
87051 { (exit 1); exit 1; }; }
87053 case $CONFIG_SHELL in
87055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87056 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
87058 IFS=$as_save_IFS
87059 test -z "$as_dir" && as_dir=.
87060 for as_base in sh bash ksh sh5; do
87061 case $as_dir in
87063 if ("$as_dir/$as_base" -c '
87064 as_lineno_1=$LINENO
87065 as_lineno_2=$LINENO
87066 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87067 test "x$as_lineno_1" != "x$as_lineno_2" &&
87068 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
87069 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
87070 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
87071 CONFIG_SHELL=$as_dir/$as_base
87072 export CONFIG_SHELL
87073 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
87074 fi;;
87075 esac
87076 done
87077 done
87079 esac
87081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
87082 # uniformly replaced by the line number. The first 'sed' inserts a
87083 # line-number line before each line; the second 'sed' does the real
87084 # work. The second script uses 'N' to pair each line-number line
87085 # with the numbered line, and appends trailing '-' during
87086 # substitution so that $LINENO is not a special case at line end.
87087 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
87088 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
87089 sed '=' <$as_myself |
87090 sed '
87092 s,$,-,
87093 : loop
87094 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
87095 t loop
87096 s,-$,,
87097 s,^['$as_cr_digits']*\n,,
87098 ' >$as_me.lineno &&
87099 chmod +x $as_me.lineno ||
87100 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
87101 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
87102 { (exit 1); exit 1; }; }
87104 # Don't try to exec as it changes $[0], causing all sort of problems
87105 # (the dirname of $[0] is not the place where we might find the
87106 # original and so on. Autoconf is especially sensible to this).
87107 . ./$as_me.lineno
87108 # Exit status is that of the last command.
87109 exit
87113 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
87114 *c*,-n*) ECHO_N= ECHO_C='
87115 ' ECHO_T=' ' ;;
87116 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
87117 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
87118 esac
87120 if expr a : '\(a\)' >/dev/null 2>&1; then
87121 as_expr=expr
87122 else
87123 as_expr=false
87126 rm -f conf$$ conf$$.exe conf$$.file
87127 echo >conf$$.file
87128 if ln -s conf$$.file conf$$ 2>/dev/null; then
87129 # We could just check for DJGPP; but this test a) works b) is more generic
87130 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
87131 if test -f conf$$.exe; then
87132 # Don't use ln at all; we don't have any links
87133 as_ln_s='cp -p'
87134 else
87135 as_ln_s='ln -s'
87137 elif ln conf$$.file conf$$ 2>/dev/null; then
87138 as_ln_s=ln
87139 else
87140 as_ln_s='cp -p'
87142 rm -f conf$$ conf$$.exe conf$$.file
87144 if mkdir -p . 2>/dev/null; then
87145 as_mkdir_p=:
87146 else
87147 test -d ./-p && rmdir ./-p
87148 as_mkdir_p=false
87151 as_executable_p="test -f"
87153 # Sed expression to map a string onto a valid CPP name.
87154 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
87156 # Sed expression to map a string onto a valid variable name.
87157 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
87160 # IFS
87161 # We need space, tab and new line, in precisely that order.
87162 as_nl='
87164 IFS=" $as_nl"
87166 # CDPATH.
87167 $as_unset CDPATH
87169 exec 6>&1
87171 # Open the log real soon, to keep \$[0] and so on meaningful, and to
87172 # report actual input values of CONFIG_FILES etc. instead of their
87173 # values after options handling. Logging --version etc. is OK.
87174 exec 5>>config.log
87176 echo
87177 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
87178 ## Running $as_me. ##
87179 _ASBOX
87180 } >&5
87181 cat >&5 <<_CSEOF
87183 This file was extended by package-unused $as_me version-unused, which was
87184 generated by GNU Autoconf 2.59. Invocation command line was
87186 CONFIG_FILES = $CONFIG_FILES
87187 CONFIG_HEADERS = $CONFIG_HEADERS
87188 CONFIG_LINKS = $CONFIG_LINKS
87189 CONFIG_COMMANDS = $CONFIG_COMMANDS
87190 $ $0 $@
87192 _CSEOF
87193 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
87194 echo >&5
87195 _ACEOF
87197 # Files that config.status was made for.
87198 if test -n "$ac_config_files"; then
87199 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
87202 if test -n "$ac_config_headers"; then
87203 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
87206 if test -n "$ac_config_links"; then
87207 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
87210 if test -n "$ac_config_commands"; then
87211 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
87214 cat >>$CONFIG_STATUS <<\_ACEOF
87216 ac_cs_usage="\
87217 \`$as_me' instantiates files from templates according to the
87218 current configuration.
87220 Usage: $0 [OPTIONS] [FILE]...
87222 -h, --help print this help, then exit
87223 -V, --version print version number, then exit
87224 -q, --quiet do not print progress messages
87225 -d, --debug don't remove temporary files
87226 --recheck update $as_me by reconfiguring in the same conditions
87227 --file=FILE[:TEMPLATE]
87228 instantiate the configuration file FILE
87229 --header=FILE[:TEMPLATE]
87230 instantiate the configuration header FILE
87232 Configuration files:
87233 $config_files
87235 Configuration headers:
87236 $config_headers
87238 Configuration commands:
87239 $config_commands
87241 Report bugs to <bug-autoconf@gnu.org>."
87242 _ACEOF
87244 cat >>$CONFIG_STATUS <<_ACEOF
87245 ac_cs_version="\\
87246 package-unused config.status version-unused
87247 configured by $0, generated by GNU Autoconf 2.59,
87248 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
87250 Copyright (C) 2003 Free Software Foundation, Inc.
87251 This config.status script is free software; the Free Software Foundation
87252 gives unlimited permission to copy, distribute and modify it."
87253 srcdir=$srcdir
87254 INSTALL="$INSTALL"
87255 _ACEOF
87257 cat >>$CONFIG_STATUS <<\_ACEOF
87258 # If no file are specified by the user, then we need to provide default
87259 # value. By we need to know if files were specified by the user.
87260 ac_need_defaults=:
87261 while test $# != 0
87263 case $1 in
87264 --*=*)
87265 ac_option=`expr "x$1" : 'x\([^=]*\)='`
87266 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
87267 ac_shift=:
87270 ac_option=$1
87271 ac_optarg=$2
87272 ac_shift=shift
87274 *) # This is not an option, so the user has probably given explicit
87275 # arguments.
87276 ac_option=$1
87277 ac_need_defaults=false;;
87278 esac
87280 case $ac_option in
87281 # Handling of the options.
87282 _ACEOF
87283 cat >>$CONFIG_STATUS <<\_ACEOF
87284 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
87285 ac_cs_recheck=: ;;
87286 --version | --vers* | -V )
87287 echo "$ac_cs_version"; exit 0 ;;
87288 --he | --h)
87289 # Conflict between --help and --header
87290 { { echo "$as_me:$LINENO: error: ambiguous option: $1
87291 Try \`$0 --help' for more information." >&5
87292 echo "$as_me: error: ambiguous option: $1
87293 Try \`$0 --help' for more information." >&2;}
87294 { (exit 1); exit 1; }; };;
87295 --help | --hel | -h )
87296 echo "$ac_cs_usage"; exit 0 ;;
87297 --debug | --d* | -d )
87298 debug=: ;;
87299 --file | --fil | --fi | --f )
87300 $ac_shift
87301 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
87302 ac_need_defaults=false;;
87303 --header | --heade | --head | --hea )
87304 $ac_shift
87305 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
87306 ac_need_defaults=false;;
87307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
87308 | -silent | --silent | --silen | --sile | --sil | --si | --s)
87309 ac_cs_silent=: ;;
87311 # This is an error.
87312 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
87313 Try \`$0 --help' for more information." >&5
87314 echo "$as_me: error: unrecognized option: $1
87315 Try \`$0 --help' for more information." >&2;}
87316 { (exit 1); exit 1; }; } ;;
87318 *) ac_config_targets="$ac_config_targets $1" ;;
87320 esac
87321 shift
87322 done
87324 ac_configure_extra_args=
87326 if $ac_cs_silent; then
87327 exec 6>/dev/null
87328 ac_configure_extra_args="$ac_configure_extra_args --silent"
87331 _ACEOF
87332 cat >>$CONFIG_STATUS <<_ACEOF
87333 if \$ac_cs_recheck; then
87334 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
87335 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
87338 _ACEOF
87340 cat >>$CONFIG_STATUS <<_ACEOF
87342 # INIT-COMMANDS section.
87346 srcdir="$srcdir"
87347 host="$host"
87348 target="$target"
87349 with_multisubdir="$with_multisubdir"
87350 with_multisrctop="$with_multisrctop"
87351 with_target_subdir="$with_target_subdir"
87352 ac_configure_args="${multilib_arg} ${ac_configure_args}"
87353 multi_basedir="$multi_basedir"
87354 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
87355 CC="$CC"
87357 # Variables needed in config.status (file generation) which aren't already
87358 # passed by autoconf.
87359 SUBDIRS="$SUBDIRS"
87362 _ACEOF
87366 cat >>$CONFIG_STATUS <<\_ACEOF
87367 for ac_config_target in $ac_config_targets
87369 case "$ac_config_target" in
87370 # Handling of arguments.
87371 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
87372 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
87373 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
87374 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
87375 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
87376 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
87377 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
87378 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
87379 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
87380 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
87381 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
87382 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
87383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
87384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
87385 { (exit 1); exit 1; }; };;
87386 esac
87387 done
87389 # If the user did not use the arguments to specify the items to instantiate,
87390 # then the envvar interface is used. Set only those that are not.
87391 # We use the long form for the default assignment because of an extremely
87392 # bizarre bug on SunOS 4.1.3.
87393 if $ac_need_defaults; then
87394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
87395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
87396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
87399 # Have a temporary directory for convenience. Make it in the build tree
87400 # simply because there is no reason to put it here, and in addition,
87401 # creating and moving files from /tmp can sometimes cause problems.
87402 # Create a temporary directory, and hook for its removal unless debugging.
87403 $debug ||
87405 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
87406 trap '{ (exit 1); exit 1; }' 1 2 13 15
87409 # Create a (secure) tmp directory for tmp files.
87412 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
87413 test -n "$tmp" && test -d "$tmp"
87414 } ||
87416 tmp=./confstat$$-$RANDOM
87417 (umask 077 && mkdir $tmp)
87418 } ||
87420 echo "$me: cannot create a temporary directory in ." >&2
87421 { (exit 1); exit 1; }
87424 _ACEOF
87426 cat >>$CONFIG_STATUS <<_ACEOF
87429 # CONFIG_FILES section.
87432 # No need to generate the scripts if there are no CONFIG_FILES.
87433 # This happens for instance when ./config.status config.h
87434 if test -n "\$CONFIG_FILES"; then
87435 # Protect against being on the right side of a sed subst in config.status.
87436 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
87437 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
87438 s,@SHELL@,$SHELL,;t t
87439 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
87440 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
87441 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
87442 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
87443 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
87444 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
87445 s,@exec_prefix@,$exec_prefix,;t t
87446 s,@prefix@,$prefix,;t t
87447 s,@program_transform_name@,$program_transform_name,;t t
87448 s,@bindir@,$bindir,;t t
87449 s,@sbindir@,$sbindir,;t t
87450 s,@libexecdir@,$libexecdir,;t t
87451 s,@datadir@,$datadir,;t t
87452 s,@sysconfdir@,$sysconfdir,;t t
87453 s,@sharedstatedir@,$sharedstatedir,;t t
87454 s,@localstatedir@,$localstatedir,;t t
87455 s,@libdir@,$libdir,;t t
87456 s,@includedir@,$includedir,;t t
87457 s,@oldincludedir@,$oldincludedir,;t t
87458 s,@infodir@,$infodir,;t t
87459 s,@mandir@,$mandir,;t t
87460 s,@build_alias@,$build_alias,;t t
87461 s,@host_alias@,$host_alias,;t t
87462 s,@target_alias@,$target_alias,;t t
87463 s,@DEFS@,$DEFS,;t t
87464 s,@ECHO_C@,$ECHO_C,;t t
87465 s,@ECHO_N@,$ECHO_N,;t t
87466 s,@ECHO_T@,$ECHO_T,;t t
87467 s,@LIBS@,$LIBS,;t t
87468 s,@libtool_VERSION@,$libtool_VERSION,;t t
87469 s,@multi_basedir@,$multi_basedir,;t t
87470 s,@build@,$build,;t t
87471 s,@build_cpu@,$build_cpu,;t t
87472 s,@build_vendor@,$build_vendor,;t t
87473 s,@build_os@,$build_os,;t t
87474 s,@host@,$host,;t t
87475 s,@host_cpu@,$host_cpu,;t t
87476 s,@host_vendor@,$host_vendor,;t t
87477 s,@host_os@,$host_os,;t t
87478 s,@target@,$target,;t t
87479 s,@target_cpu@,$target_cpu,;t t
87480 s,@target_vendor@,$target_vendor,;t t
87481 s,@target_os@,$target_os,;t t
87482 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
87483 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
87484 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
87485 s,@CYGPATH_W@,$CYGPATH_W,;t t
87486 s,@PACKAGE@,$PACKAGE,;t t
87487 s,@VERSION@,$VERSION,;t t
87488 s,@ACLOCAL@,$ACLOCAL,;t t
87489 s,@AUTOCONF@,$AUTOCONF,;t t
87490 s,@AUTOMAKE@,$AUTOMAKE,;t t
87491 s,@AUTOHEADER@,$AUTOHEADER,;t t
87492 s,@MAKEINFO@,$MAKEINFO,;t t
87493 s,@install_sh@,$install_sh,;t t
87494 s,@STRIP@,$STRIP,;t t
87495 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
87496 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
87497 s,@mkdir_p@,$mkdir_p,;t t
87498 s,@AWK@,$AWK,;t t
87499 s,@SET_MAKE@,$SET_MAKE,;t t
87500 s,@am__leading_dot@,$am__leading_dot,;t t
87501 s,@AMTAR@,$AMTAR,;t t
87502 s,@am__tar@,$am__tar,;t t
87503 s,@am__untar@,$am__untar,;t t
87504 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
87505 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
87506 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
87507 s,@CC@,$CC,;t t
87508 s,@ac_ct_CC@,$ac_ct_CC,;t t
87509 s,@EXEEXT@,$EXEEXT,;t t
87510 s,@OBJEXT@,$OBJEXT,;t t
87511 s,@CXX@,$CXX,;t t
87512 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
87513 s,@CFLAGS@,$CFLAGS,;t t
87514 s,@CXXFLAGS@,$CXXFLAGS,;t t
87515 s,@LN_S@,$LN_S,;t t
87516 s,@AS@,$AS,;t t
87517 s,@ac_ct_AS@,$ac_ct_AS,;t t
87518 s,@AR@,$AR,;t t
87519 s,@ac_ct_AR@,$ac_ct_AR,;t t
87520 s,@RANLIB@,$RANLIB,;t t
87521 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
87522 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
87523 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
87524 s,@MAINT@,$MAINT,;t t
87525 s,@LIBTOOL@,$LIBTOOL,;t t
87526 s,@CXXCPP@,$CXXCPP,;t t
87527 s,@CPPFLAGS@,$CPPFLAGS,;t t
87528 s,@enable_shared@,$enable_shared,;t t
87529 s,@enable_static@,$enable_static,;t t
87530 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
87531 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
87532 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
87533 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
87534 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
87535 s,@CSTDIO_H@,$CSTDIO_H,;t t
87536 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
87537 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
87538 s,@CPP@,$CPP,;t t
87539 s,@EGREP@,$EGREP,;t t
87540 s,@check_msgfmt@,$check_msgfmt,;t t
87541 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
87542 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
87543 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
87544 s,@USE_NLS@,$USE_NLS,;t t
87545 s,@CLOCALE_H@,$CLOCALE_H,;t t
87546 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
87547 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
87548 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
87549 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
87550 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
87551 s,@CMONEY_CC@,$CMONEY_CC,;t t
87552 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
87553 s,@CTIME_H@,$CTIME_H,;t t
87554 s,@CTIME_CC@,$CTIME_CC,;t t
87555 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
87556 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
87557 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
87558 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
87559 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
87560 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
87561 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
87562 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
87563 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
87564 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
87565 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
87566 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
87567 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
87568 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
87569 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
87570 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
87571 s,@WERROR@,$WERROR,;t t
87572 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
87573 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
87574 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
87575 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
87576 s,@LIBICONV@,$LIBICONV,;t t
87577 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
87578 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
87579 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
87580 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
87581 s,@baseline_dir@,$baseline_dir,;t t
87582 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
87583 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
87584 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
87585 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
87586 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
87587 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
87588 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
87589 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
87590 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
87591 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
87592 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
87593 s,@gxx_include_dir@,$gxx_include_dir,;t t
87594 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
87595 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
87596 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
87597 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
87598 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
87599 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
87600 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
87601 s,@LIBOBJS@,$LIBOBJS,;t t
87602 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
87603 CEOF
87605 _ACEOF
87607 cat >>$CONFIG_STATUS <<\_ACEOF
87608 # Split the substitutions into bite-sized pieces for seds with
87609 # small command number limits, like on Digital OSF/1 and HP-UX.
87610 ac_max_sed_lines=48
87611 ac_sed_frag=1 # Number of current file.
87612 ac_beg=1 # First line for current file.
87613 ac_end=$ac_max_sed_lines # Line after last line for current file.
87614 ac_more_lines=:
87615 ac_sed_cmds=
87616 while $ac_more_lines; do
87617 if test $ac_beg -gt 1; then
87618 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87619 else
87620 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87622 if test ! -s $tmp/subs.frag; then
87623 ac_more_lines=false
87624 else
87625 # The purpose of the label and of the branching condition is to
87626 # speed up the sed processing (if there are no `@' at all, there
87627 # is no need to browse any of the substitutions).
87628 # These are the two extra sed commands mentioned above.
87629 (echo ':t
87630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
87631 if test -z "$ac_sed_cmds"; then
87632 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
87633 else
87634 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
87636 ac_sed_frag=`expr $ac_sed_frag + 1`
87637 ac_beg=$ac_end
87638 ac_end=`expr $ac_end + $ac_max_sed_lines`
87640 done
87641 if test -z "$ac_sed_cmds"; then
87642 ac_sed_cmds=cat
87644 fi # test -n "$CONFIG_FILES"
87646 _ACEOF
87647 cat >>$CONFIG_STATUS <<\_ACEOF
87648 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
87649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87650 case $ac_file in
87651 - | *:- | *:-:* ) # input from stdin
87652 cat >$tmp/stdin
87653 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87654 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87655 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87656 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87657 * ) ac_file_in=$ac_file.in ;;
87658 esac
87660 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
87661 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
87662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87663 X"$ac_file" : 'X\(//\)[^/]' \| \
87664 X"$ac_file" : 'X\(//\)$' \| \
87665 X"$ac_file" : 'X\(/\)' \| \
87666 . : '\(.\)' 2>/dev/null ||
87667 echo X"$ac_file" |
87668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87670 /^X\(\/\/\)$/{ s//\1/; q; }
87671 /^X\(\/\).*/{ s//\1/; q; }
87672 s/.*/./; q'`
87673 { if $as_mkdir_p; then
87674 mkdir -p "$ac_dir"
87675 else
87676 as_dir="$ac_dir"
87677 as_dirs=
87678 while test ! -d "$as_dir"; do
87679 as_dirs="$as_dir $as_dirs"
87680 as_dir=`(dirname "$as_dir") 2>/dev/null ||
87681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87682 X"$as_dir" : 'X\(//\)[^/]' \| \
87683 X"$as_dir" : 'X\(//\)$' \| \
87684 X"$as_dir" : 'X\(/\)' \| \
87685 . : '\(.\)' 2>/dev/null ||
87686 echo X"$as_dir" |
87687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87689 /^X\(\/\/\)$/{ s//\1/; q; }
87690 /^X\(\/\).*/{ s//\1/; q; }
87691 s/.*/./; q'`
87692 done
87693 test ! -n "$as_dirs" || mkdir $as_dirs
87694 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
87695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
87696 { (exit 1); exit 1; }; }; }
87698 ac_builddir=.
87700 if test "$ac_dir" != .; then
87701 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
87702 # A "../" for each directory in $ac_dir_suffix.
87703 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
87704 else
87705 ac_dir_suffix= ac_top_builddir=
87708 case $srcdir in
87709 .) # No --srcdir option. We are building in place.
87710 ac_srcdir=.
87711 if test -z "$ac_top_builddir"; then
87712 ac_top_srcdir=.
87713 else
87714 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
87715 fi ;;
87716 [\\/]* | ?:[\\/]* ) # Absolute path.
87717 ac_srcdir=$srcdir$ac_dir_suffix;
87718 ac_top_srcdir=$srcdir ;;
87719 *) # Relative path.
87720 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
87721 ac_top_srcdir=$ac_top_builddir$srcdir ;;
87722 esac
87724 # Do not use `cd foo && pwd` to compute absolute paths, because
87725 # the directories may not exist.
87726 case `pwd` in
87727 .) ac_abs_builddir="$ac_dir";;
87729 case "$ac_dir" in
87730 .) ac_abs_builddir=`pwd`;;
87731 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
87732 *) ac_abs_builddir=`pwd`/"$ac_dir";;
87733 esac;;
87734 esac
87735 case $ac_abs_builddir in
87736 .) ac_abs_top_builddir=${ac_top_builddir}.;;
87738 case ${ac_top_builddir}. in
87739 .) ac_abs_top_builddir=$ac_abs_builddir;;
87740 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
87741 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
87742 esac;;
87743 esac
87744 case $ac_abs_builddir in
87745 .) ac_abs_srcdir=$ac_srcdir;;
87747 case $ac_srcdir in
87748 .) ac_abs_srcdir=$ac_abs_builddir;;
87749 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
87750 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
87751 esac;;
87752 esac
87753 case $ac_abs_builddir in
87754 .) ac_abs_top_srcdir=$ac_top_srcdir;;
87756 case $ac_top_srcdir in
87757 .) ac_abs_top_srcdir=$ac_abs_builddir;;
87758 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
87759 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
87760 esac;;
87761 esac
87764 case $INSTALL in
87765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
87766 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
87767 esac
87769 if test x"$ac_file" != x-; then
87770 { echo "$as_me:$LINENO: creating $ac_file" >&5
87771 echo "$as_me: creating $ac_file" >&6;}
87772 rm -f "$ac_file"
87774 # Let's still pretend it is `configure' which instantiates (i.e., don't
87775 # use $as_me), people would be surprised to read:
87776 # /* config.h. Generated by config.status. */
87777 if test x"$ac_file" = x-; then
87778 configure_input=
87779 else
87780 configure_input="$ac_file. "
87782 configure_input=$configure_input"Generated from `echo $ac_file_in |
87783 sed 's,.*/,,'` by configure."
87785 # First look for the input files in the build tree, otherwise in the
87786 # src tree.
87787 ac_file_inputs=`IFS=:
87788 for f in $ac_file_in; do
87789 case $f in
87790 -) echo $tmp/stdin ;;
87791 [\\/$]*)
87792 # Absolute (can't be DOS-style, as IFS=:)
87793 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87794 echo "$as_me: error: cannot find input file: $f" >&2;}
87795 { (exit 1); exit 1; }; }
87796 echo "$f";;
87797 *) # Relative
87798 if test -f "$f"; then
87799 # Build tree
87800 echo "$f"
87801 elif test -f "$srcdir/$f"; then
87802 # Source tree
87803 echo "$srcdir/$f"
87804 else
87805 # /dev/null tree
87806 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87807 echo "$as_me: error: cannot find input file: $f" >&2;}
87808 { (exit 1); exit 1; }; }
87809 fi;;
87810 esac
87811 done` || { (exit 1); exit 1; }
87812 _ACEOF
87813 cat >>$CONFIG_STATUS <<_ACEOF
87814 sed "$ac_vpsub
87815 $extrasub
87816 _ACEOF
87817 cat >>$CONFIG_STATUS <<\_ACEOF
87819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
87820 s,@configure_input@,$configure_input,;t t
87821 s,@srcdir@,$ac_srcdir,;t t
87822 s,@abs_srcdir@,$ac_abs_srcdir,;t t
87823 s,@top_srcdir@,$ac_top_srcdir,;t t
87824 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
87825 s,@builddir@,$ac_builddir,;t t
87826 s,@abs_builddir@,$ac_abs_builddir,;t t
87827 s,@top_builddir@,$ac_top_builddir,;t t
87828 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
87829 s,@INSTALL@,$ac_INSTALL,;t t
87830 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
87831 rm -f $tmp/stdin
87832 if test x"$ac_file" != x-; then
87833 mv $tmp/out $ac_file
87834 else
87835 cat $tmp/out
87836 rm -f $tmp/out
87839 # Run the commands associated with the file.
87840 case $ac_file in
87841 scripts/check_survey ) chmod +x scripts/check_survey ;;
87842 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
87843 esac
87844 done
87845 _ACEOF
87846 cat >>$CONFIG_STATUS <<\_ACEOF
87849 # CONFIG_HEADER section.
87852 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
87853 # NAME is the cpp macro being defined and VALUE is the value it is being given.
87855 # ac_d sets the value in "#define NAME VALUE" lines.
87856 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
87857 ac_dB='[ ].*$,\1#\2'
87858 ac_dC=' '
87859 ac_dD=',;t'
87860 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
87861 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
87862 ac_uB='$,\1#\2define\3'
87863 ac_uC=' '
87864 ac_uD=',;t'
87866 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
87867 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87868 case $ac_file in
87869 - | *:- | *:-:* ) # input from stdin
87870 cat >$tmp/stdin
87871 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87872 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87873 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87874 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87875 * ) ac_file_in=$ac_file.in ;;
87876 esac
87878 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
87879 echo "$as_me: creating $ac_file" >&6;}
87881 # First look for the input files in the build tree, otherwise in the
87882 # src tree.
87883 ac_file_inputs=`IFS=:
87884 for f in $ac_file_in; do
87885 case $f in
87886 -) echo $tmp/stdin ;;
87887 [\\/$]*)
87888 # Absolute (can't be DOS-style, as IFS=:)
87889 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87890 echo "$as_me: error: cannot find input file: $f" >&2;}
87891 { (exit 1); exit 1; }; }
87892 # Do quote $f, to prevent DOS paths from being IFS'd.
87893 echo "$f";;
87894 *) # Relative
87895 if test -f "$f"; then
87896 # Build tree
87897 echo "$f"
87898 elif test -f "$srcdir/$f"; then
87899 # Source tree
87900 echo "$srcdir/$f"
87901 else
87902 # /dev/null tree
87903 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87904 echo "$as_me: error: cannot find input file: $f" >&2;}
87905 { (exit 1); exit 1; }; }
87906 fi;;
87907 esac
87908 done` || { (exit 1); exit 1; }
87909 # Remove the trailing spaces.
87910 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
87912 _ACEOF
87914 # Transform confdefs.h into two sed scripts, `conftest.defines' and
87915 # `conftest.undefs', that substitutes the proper values into
87916 # config.h.in to produce config.h. The first handles `#define'
87917 # templates, and the second `#undef' templates.
87918 # And first: Protect against being on the right side of a sed subst in
87919 # config.status. Protect against being in an unquoted here document
87920 # in config.status.
87921 rm -f conftest.defines conftest.undefs
87922 # Using a here document instead of a string reduces the quoting nightmare.
87923 # Putting comments in sed scripts is not portable.
87925 # `end' is used to avoid that the second main sed command (meant for
87926 # 0-ary CPP macros) applies to n-ary macro definitions.
87927 # See the Autoconf documentation for `clear'.
87928 cat >confdef2sed.sed <<\_ACEOF
87929 s/[\\&,]/\\&/g
87930 s,[\\$`],\\&,g
87931 t clear
87932 : clear
87933 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
87934 t end
87935 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
87936 : end
87937 _ACEOF
87938 # If some macros were called several times there might be several times
87939 # the same #defines, which is useless. Nevertheless, we may not want to
87940 # sort them, since we want the *last* AC-DEFINE to be honored.
87941 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
87942 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
87943 rm -f confdef2sed.sed
87945 # This sed command replaces #undef with comments. This is necessary, for
87946 # example, in the case of _POSIX_SOURCE, which is predefined and required
87947 # on some systems where configure will not decide to define it.
87948 cat >>conftest.undefs <<\_ACEOF
87949 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
87950 _ACEOF
87952 # Break up conftest.defines because some shells have a limit on the size
87953 # of here documents, and old seds have small limits too (100 cmds).
87954 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
87955 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
87956 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
87957 echo ' :' >>$CONFIG_STATUS
87958 rm -f conftest.tail
87959 while grep . conftest.defines >/dev/null
87961 # Write a limited-size here document to $tmp/defines.sed.
87962 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
87963 # Speed up: don't consider the non `#define' lines.
87964 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
87965 # Work around the forget-to-reset-the-flag bug.
87966 echo 't clr' >>$CONFIG_STATUS
87967 echo ': clr' >>$CONFIG_STATUS
87968 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
87969 echo 'CEOF
87970 sed -f $tmp/defines.sed $tmp/in >$tmp/out
87971 rm -f $tmp/in
87972 mv $tmp/out $tmp/in
87973 ' >>$CONFIG_STATUS
87974 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
87975 rm -f conftest.defines
87976 mv conftest.tail conftest.defines
87977 done
87978 rm -f conftest.defines
87979 echo ' fi # grep' >>$CONFIG_STATUS
87980 echo >>$CONFIG_STATUS
87982 # Break up conftest.undefs because some shells have a limit on the size
87983 # of here documents, and old seds have small limits too (100 cmds).
87984 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
87985 rm -f conftest.tail
87986 while grep . conftest.undefs >/dev/null
87988 # Write a limited-size here document to $tmp/undefs.sed.
87989 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
87990 # Speed up: don't consider the non `#undef'
87991 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
87992 # Work around the forget-to-reset-the-flag bug.
87993 echo 't clr' >>$CONFIG_STATUS
87994 echo ': clr' >>$CONFIG_STATUS
87995 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
87996 echo 'CEOF
87997 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
87998 rm -f $tmp/in
87999 mv $tmp/out $tmp/in
88000 ' >>$CONFIG_STATUS
88001 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
88002 rm -f conftest.undefs
88003 mv conftest.tail conftest.undefs
88004 done
88005 rm -f conftest.undefs
88007 cat >>$CONFIG_STATUS <<\_ACEOF
88008 # Let's still pretend it is `configure' which instantiates (i.e., don't
88009 # use $as_me), people would be surprised to read:
88010 # /* config.h. Generated by config.status. */
88011 if test x"$ac_file" = x-; then
88012 echo "/* Generated by configure. */" >$tmp/config.h
88013 else
88014 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
88016 cat $tmp/in >>$tmp/config.h
88017 rm -f $tmp/in
88018 if test x"$ac_file" != x-; then
88019 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
88020 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
88021 echo "$as_me: $ac_file is unchanged" >&6;}
88022 else
88023 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
88024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88025 X"$ac_file" : 'X\(//\)[^/]' \| \
88026 X"$ac_file" : 'X\(//\)$' \| \
88027 X"$ac_file" : 'X\(/\)' \| \
88028 . : '\(.\)' 2>/dev/null ||
88029 echo X"$ac_file" |
88030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88032 /^X\(\/\/\)$/{ s//\1/; q; }
88033 /^X\(\/\).*/{ s//\1/; q; }
88034 s/.*/./; q'`
88035 { if $as_mkdir_p; then
88036 mkdir -p "$ac_dir"
88037 else
88038 as_dir="$ac_dir"
88039 as_dirs=
88040 while test ! -d "$as_dir"; do
88041 as_dirs="$as_dir $as_dirs"
88042 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88044 X"$as_dir" : 'X\(//\)[^/]' \| \
88045 X"$as_dir" : 'X\(//\)$' \| \
88046 X"$as_dir" : 'X\(/\)' \| \
88047 . : '\(.\)' 2>/dev/null ||
88048 echo X"$as_dir" |
88049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88051 /^X\(\/\/\)$/{ s//\1/; q; }
88052 /^X\(\/\).*/{ s//\1/; q; }
88053 s/.*/./; q'`
88054 done
88055 test ! -n "$as_dirs" || mkdir $as_dirs
88056 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88058 { (exit 1); exit 1; }; }; }
88060 rm -f $ac_file
88061 mv $tmp/config.h $ac_file
88063 else
88064 cat $tmp/config.h
88065 rm -f $tmp/config.h
88067 # Compute $ac_file's index in $config_headers.
88068 _am_stamp_count=1
88069 for _am_header in $config_headers :; do
88070 case $_am_header in
88071 $ac_file | $ac_file:* )
88072 break ;;
88074 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
88075 esac
88076 done
88077 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
88078 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88079 X$ac_file : 'X\(//\)[^/]' \| \
88080 X$ac_file : 'X\(//\)$' \| \
88081 X$ac_file : 'X\(/\)' \| \
88082 . : '\(.\)' 2>/dev/null ||
88083 echo X$ac_file |
88084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88086 /^X\(\/\/\)$/{ s//\1/; q; }
88087 /^X\(\/\).*/{ s//\1/; q; }
88088 s/.*/./; q'`/stamp-h$_am_stamp_count
88089 done
88090 _ACEOF
88091 cat >>$CONFIG_STATUS <<\_ACEOF
88094 # CONFIG_COMMANDS section.
88096 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
88097 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
88098 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
88099 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
88100 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88101 X"$ac_dest" : 'X\(//\)[^/]' \| \
88102 X"$ac_dest" : 'X\(//\)$' \| \
88103 X"$ac_dest" : 'X\(/\)' \| \
88104 . : '\(.\)' 2>/dev/null ||
88105 echo X"$ac_dest" |
88106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88108 /^X\(\/\/\)$/{ s//\1/; q; }
88109 /^X\(\/\).*/{ s//\1/; q; }
88110 s/.*/./; q'`
88111 { if $as_mkdir_p; then
88112 mkdir -p "$ac_dir"
88113 else
88114 as_dir="$ac_dir"
88115 as_dirs=
88116 while test ! -d "$as_dir"; do
88117 as_dirs="$as_dir $as_dirs"
88118 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88120 X"$as_dir" : 'X\(//\)[^/]' \| \
88121 X"$as_dir" : 'X\(//\)$' \| \
88122 X"$as_dir" : 'X\(/\)' \| \
88123 . : '\(.\)' 2>/dev/null ||
88124 echo X"$as_dir" |
88125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88127 /^X\(\/\/\)$/{ s//\1/; q; }
88128 /^X\(\/\).*/{ s//\1/; q; }
88129 s/.*/./; q'`
88130 done
88131 test ! -n "$as_dirs" || mkdir $as_dirs
88132 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88133 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88134 { (exit 1); exit 1; }; }; }
88136 ac_builddir=.
88138 if test "$ac_dir" != .; then
88139 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
88140 # A "../" for each directory in $ac_dir_suffix.
88141 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
88142 else
88143 ac_dir_suffix= ac_top_builddir=
88146 case $srcdir in
88147 .) # No --srcdir option. We are building in place.
88148 ac_srcdir=.
88149 if test -z "$ac_top_builddir"; then
88150 ac_top_srcdir=.
88151 else
88152 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
88153 fi ;;
88154 [\\/]* | ?:[\\/]* ) # Absolute path.
88155 ac_srcdir=$srcdir$ac_dir_suffix;
88156 ac_top_srcdir=$srcdir ;;
88157 *) # Relative path.
88158 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
88159 ac_top_srcdir=$ac_top_builddir$srcdir ;;
88160 esac
88162 # Do not use `cd foo && pwd` to compute absolute paths, because
88163 # the directories may not exist.
88164 case `pwd` in
88165 .) ac_abs_builddir="$ac_dir";;
88167 case "$ac_dir" in
88168 .) ac_abs_builddir=`pwd`;;
88169 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
88170 *) ac_abs_builddir=`pwd`/"$ac_dir";;
88171 esac;;
88172 esac
88173 case $ac_abs_builddir in
88174 .) ac_abs_top_builddir=${ac_top_builddir}.;;
88176 case ${ac_top_builddir}. in
88177 .) ac_abs_top_builddir=$ac_abs_builddir;;
88178 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
88179 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
88180 esac;;
88181 esac
88182 case $ac_abs_builddir in
88183 .) ac_abs_srcdir=$ac_srcdir;;
88185 case $ac_srcdir in
88186 .) ac_abs_srcdir=$ac_abs_builddir;;
88187 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
88188 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
88189 esac;;
88190 esac
88191 case $ac_abs_builddir in
88192 .) ac_abs_top_srcdir=$ac_top_srcdir;;
88194 case $ac_top_srcdir in
88195 .) ac_abs_top_srcdir=$ac_abs_builddir;;
88196 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
88197 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
88198 esac;;
88199 esac
88202 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
88203 echo "$as_me: executing $ac_dest commands" >&6;}
88204 case $ac_dest in
88205 default-1 )
88206 # Only add multilib support code if we just rebuilt the top-level
88207 # Makefile.
88208 case " $CONFIG_FILES " in
88209 *" Makefile "*)
88210 ac_file=Makefile . ${multi_basedir}/config-ml.in
88212 esac ;;
88213 default ) if test -n "$CONFIG_FILES"; then
88214 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
88215 # that multilib installs will end up installed in the correct place.
88216 # The testsuite needs it for multilib-aware ABI baseline files.
88217 # To work around this not being passed down from config-ml.in ->
88218 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
88219 # append it here. Only modify Makefiles that have just been created.
88221 # Also, get rid of this simulated-VPATH thing that automake does.
88222 cat > vpsed << \_EOF
88223 s!`test -f '$<' || echo '$(srcdir)/'`!!
88224 _EOF
88225 for i in $SUBDIRS; do
88226 case $CONFIG_FILES in
88227 *${i}/Makefile*)
88228 #echo "Adding MULTISUBDIR to $i/Makefile"
88229 sed -f vpsed $i/Makefile > tmp
88230 grep '^MULTISUBDIR =' Makefile >> tmp
88231 mv tmp $i/Makefile
88233 esac
88234 done
88235 rm vpsed
88237 (cd include && ${MAKE-make})
88239 esac
88240 done
88241 _ACEOF
88243 cat >>$CONFIG_STATUS <<\_ACEOF
88245 { (exit 0); exit 0; }
88246 _ACEOF
88247 chmod +x $CONFIG_STATUS
88248 ac_clean_files=$ac_clean_files_save
88251 # configure is writing to config.log, and then calls config.status.
88252 # config.status does its own redirection, appending to config.log.
88253 # Unfortunately, on DOS this fails, as config.log is still kept open
88254 # by configure, so config.status won't be able to write to it; its
88255 # output is simply discarded. So we exec the FD to /dev/null,
88256 # effectively closing config.log, so it can be properly (re)opened and
88257 # appended to by config.status. When coming back to configure, we
88258 # need to make the FD available again.
88259 if test "$no_create" != yes; then
88260 ac_cs_success=:
88261 ac_config_status_args=
88262 test "$silent" = yes &&
88263 ac_config_status_args="$ac_config_status_args --quiet"
88264 exec 5>/dev/null
88265 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
88266 exec 5>>config.log
88267 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
88268 # would make configure fail if this is the last instruction.
88269 $ac_cs_success || { (exit 1); exit 1; }